1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-25 01:34:18 +00:00
oot/linker_scripts/soundfont.ld
Tharo aa97586659
[Audio 6/?] Build Soundfonts and the Soundfont Table (#2056)
* [Audio 6/?] Build Soundfonts and the Soundfont Table

* Improve lots of error messages

* First suggested changes

* Make audio build debugging more friendly

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Some fixes from MM review

* Make soundfont_table.h generation depend on the samplebank xmls since they are read, report from which soundfont the invalid pointer indirect warning originates from

---------

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2024-08-27 21:09:59 -04:00

19 lines
285 B
Text

OUTPUT_ARCH (mips)
/* Soundfont Linker Script, maps data into rodata and adds a file length symbol */
SECTIONS {
.rodata :
{
*(.data*)
*(.rodata*)
. = ALIGN(16);
__LEN__ = . - ADDR(.rodata);
}
/DISCARD/ :
{
*(*);
}
}