diff options
author | Alex White <alex.white@oarcorp.com> | 2023-08-25 16:04:22 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-08-30 11:05:33 -0500 |
commit | a1b23d0e233e544994017a1786a79eb50e198429 (patch) | |
tree | b2f7500256be7b7409b8c2c0ddd92da287e567c5 /spec | |
parent | microblaze: Add libdl support (diff) | |
download | rtems-a1b23d0e233e544994017a1786a79eb50e198429.tar.bz2 |
microblaze: Align exception-related sections
This fixes unaligned data access exceptions found while debugging test
dl05.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml b/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml index 9a3ca11b51..4f9b310ad3 100644 --- a/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml +++ b/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml @@ -104,20 +104,20 @@ content: | } > REGION_RODATA AT > REGION_RODATA_LOAD _frodata = . ; - .rodata : { + .rodata : ALIGN_WITH_INPUT { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) CONSTRUCTORS; /* Is this needed? */ } > REGION_RODATA AT > REGION_RODATA_LOAD _erodata = .; - .eh_frame : { - *(.eh_frame) + .eh_frame : ALIGN_WITH_INPUT { + KEEP (*(.eh_frame)) } > REGION_RODATA AT > REGION_RODATA_LOAD .jcr : { *(.jcr) } > REGION_RODATA AT > REGION_RODATA_LOAD - .gcc_except_table : { + .gcc_except_table : ALIGN_WITH_INPUT { *(.gcc_except_table) } > REGION_RODATA AT > REGION_RODATA_LOAD .tdata : ALIGN_WITH_INPUT { |