Skip to content

Commit

Permalink
Add extab sections to stage2 and rp2350 arm linker scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Grazfather committed Feb 22, 2025
1 parent 305869d commit 485cf2b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion port/raspberrypi/rp2xxx/rp2040.ld
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SECTIONS
*(.bss*)
microzig_bss_end = .;
} > ram0

.flash_end :
{
microzig_flash_end = .;
Expand Down
4 changes: 4 additions & 0 deletions port/raspberrypi/rp2xxx/rp2350_arm.ld
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ SECTIONS
*(.rodata*)
} > flash0

.ARM.extab : {
*(.ARM.extab* .gnu.linkonce.armextab.*)
} >flash0

.ARM.exidx : {
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} >flash0
Expand Down
5 changes: 4 additions & 1 deletion port/raspberrypi/rp2xxx/src/bootroms/RP2040/shared/stage2.ld
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ SECTIONS
*(.rodata*)
} > flash0

.ARM.extab : {
*(.ARM.extab* .gnu.linkonce.armextab.*)
} >flash0

.ARM.exidx : {
*(.ARM.exidx* .gnu.linkonce.armexidx.*)
} >flash0


.data :
{
*(.data*)
Expand Down

0 comments on commit 485cf2b

Please sign in to comment.