From 6970a02804ddec603b4cdc6c2dcb98dbdca184c4 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 18 Apr 2011 13:41:40 +0000 Subject: [PATCH] 2011-04-18 Paul Brook ld/ * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS for unwinding tables. --- ld/ChangeLog | 5 +++++ ld/emulparams/elf32_tic6x_le.sh | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 070e49b853e..0a2357fcea0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2011-04-18 Paul Brook + + * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS + for unwinding tables. + 2011-04-18 Alan Modra PR ld/12365 diff --git a/ld/emulparams/elf32_tic6x_le.sh b/ld/emulparams/elf32_tic6x_le.sh index 335bc0f857c..4911081f8e8 100644 --- a/ld/emulparams/elf32_tic6x_le.sh +++ b/ld/emulparams/elf32_tic6x_le.sh @@ -31,6 +31,11 @@ RODATA_NAME="const" SDATA_NAME="neardata" SBSS_NAME="bss" BSS_NAME="far" +OTHER_READONLY_SECTIONS=" + .c6xabi.extab ${RELOCATING-0} : { *(.c6xabi.extab${RELOCATING+* .gnu.linkonce.c6xabiextab.*}) } + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); } + .c6xabi.exidx ${RELOCATING-0} : { *(.c6xabi.exidx${RELOCATING+* .gnu.linkonce.c6xabiexidx.*}) } + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }" OTHER_SDATA_SECTIONS=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.*}) }" OTHER_READONLY_RELOC_SECTIONS=" .rel.rodata ${RELOCATING-0} : { *(.rel.rodata${RELOCATING+ .rel.rodata.*}) } -- 2.30.2