diff options
Diffstat (limited to 'linker_scripts')
| -rw-r--r-- | linker_scripts/soundfont.ld | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/linker_scripts/soundfont.ld b/linker_scripts/soundfont.ld new file mode 100644 index 000000000..d914a7de3 --- /dev/null +++ b/linker_scripts/soundfont.ld @@ -0,0 +1,19 @@ +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/ : + { + *(*); + } +} |
