mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08:00
* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
for .xt_except_table. (OTHER_RELRO_SECTIONS): New.
This commit is contained in:
@ -18,7 +18,10 @@ PLT="/* .plt* sections are embedded in .text */"
|
||||
GOT=".got ${RELOCATING-0} : { *(.got) }"
|
||||
OTHER_READONLY_SECTIONS="
|
||||
.got.loc ${RELOCATING-0} : { *(.got.loc) }
|
||||
.xt_except_table ${RELOCATING-0} : { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) }
|
||||
.xt_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) }
|
||||
"
|
||||
OTHER_RELRO_SECTIONS="
|
||||
.xt_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.xt_except_table${RELOCATING+ .xt_except_table.* .gnu.linkonce.e.*})) }
|
||||
"
|
||||
OTHER_READWRITE_SECTIONS="
|
||||
.xt_except_desc ${RELOCATING-0} :
|
||||
|
Reference in New Issue
Block a user