summaryrefslogtreecommitdiff
path: root/linker_scripts
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2024-12-14 00:27:45 +0000
committerGitHub <noreply@github.com>2024-12-13 16:27:45 -0800
commitfc8d1165c8beb6d6d54b54c2a56387c99b8d7861 (patch)
treeab379a63737ff2377e55161a95d8e654dee5ce41 /linker_scripts
parent8efc382b9f9c670063611e32b21cac53345bd3b2 (diff)
[Audio 9/9] Loose ends (#1755)
* [Audio 9/9] Loose ends * Fix sampleconv memset bug * Doc updates from oot
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/ :
{
*(*);