diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-08-25 14:28:22 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-08-25 14:28:22 -0400 |
commit | eb1e3636bb71509546c274bf2a5910d8e71a9600 (patch) | |
tree | 24d7742604073b2afb86c1225258f8217d1653e7 /tools | |
parent | 376c64468bab8d162da43fc6e1b6f0942943cf43 (diff) |
Use labels instead of constants for HRAM
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/sort_symfile.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/sort_symfile.sh b/tools/sort_symfile.sh index edde25e75..4fa48deb0 100755 --- a/tools/sort_symfile.sh +++ b/tools/sort_symfile.sh @@ -7,6 +7,7 @@ sed \ -e "s/^..:[A-B]/3_SRAM@&/g" \ -e "s/^00:[C-D]/4_WRAM0@&/g" \ -e "s/^..:[D-D]/5_WRAMX@&/g" \ + -e "s/^..:[F-F]/6_HRAM@&/g" \ $1 \ | sort \ | sed -e "s/^.*@//g" > $TEMP_FILE |