mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 12:59:44 +00:00
23 lines
517 B
Plaintext
23 lines
517 B
Plaintext
OUTPUT_ARCH (mips)
|
|
|
|
/* Maps data into rodata, used for audio tables and z_game_over */
|
|
|
|
SECTIONS {
|
|
.rodata :
|
|
{
|
|
*(.data)
|
|
*(.rodata)
|
|
*(.rodata.str*)
|
|
*(.rodata.cst*)
|
|
}
|
|
|
|
/DISCARD/ :
|
|
{
|
|
/* GNU ld assumes that the linker script always combines .gptab.data and
|
|
* .gptab.sdata into .gptab.sdata, and likewise for .gptab.bss and .gptab.sbss.
|
|
* To avoid dealing with this, we just discard all .gptab sections.
|
|
*/
|
|
*(.gptab.*)
|
|
}
|
|
}
|