mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-02 07:46:01 +00:00
aa97586659
* [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>
19 lines
285 B
Text
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/ :
|
|
{
|
|
*(*);
|
|
}
|
|
}
|