summaryrefslogtreecommitdiff
path: root/linker_scripts
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2024-12-14 00:26:36 +0000
committerGitHub <noreply@github.com>2024-12-13 19:26:36 -0500
commitdf5d4cb4673bc74d1e2f4d11cf6f5fe8376cd1df (patch)
tree296aba161061ee785f27ba49c641d0b1f49315d6 /linker_scripts
parent4b20d8269b42b2892ef494afd0b6ccba78ba6c00 (diff)
[Audio 10/10] Loose ends (#2337)
* Introduce afile_sizes, generate headers of sizes for soundfonts and sequences * Initial tools/audio README * Versioning for samplebank extraction * Clean up the disassemble_sequence.py runnable interface * Add static assertions for maximum bank sizes * Boost optimization for audio tools * Samplebank XML doc * Soundfont XML doc * More docs in sampleconv for vadpcm * Various tools fixes/cleanup * VADPCM doc * Try to fix md formatting * VADPCM doc can come later * Fix merge with PR 9 * Fix blobs from MM * Try to fix bss * Try fix bss round 2 * Fix sampleconv memset bug * Suggested documentation tweaks
Diffstat (limited to 'linker_scripts')
-rw-r--r--linker_scripts/soundfont.ld5
1 files changed, 3 insertions, 2 deletions
diff --git a/linker_scripts/soundfont.ld b/linker_scripts/soundfont.ld
index d914a7de3..c480e3686 100644
--- a/linker_scripts/soundfont.ld
+++ b/linker_scripts/soundfont.ld
@@ -4,14 +4,15 @@ OUTPUT_ARCH (mips)
SECTIONS {
- .rodata :
+ .rodata ALIGN(16) :
{
*(.data*)
*(.rodata*)
. = ALIGN(16);
- __LEN__ = . - ADDR(.rodata);
}
+ __LEN__ = ABSOLUTE(SIZEOF(.rodata));
+
/DISCARD/ :
{
*(*);