summaryrefslogtreecommitdiff
path: root/ld/scripttempl/arclinux.sc
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2016-02-29 16:07:48 +0100
committerClaudiu Zissulescu <claziss@synopsys.com>2016-02-29 16:07:48 +0100
commit7e4588997ebdddefc48d8be2d51a715822817c0e (patch)
treefc5f40d68dd6106dedd82a944df45d7f0986f424 /ld/scripttempl/arclinux.sc
parent63aef214ab4826785d35d8dead591d40e402de98 (diff)
downloadbinutils-gdb-7e4588997ebdddefc48d8be2d51a715822817c0e.tar.gz
[ARC] General fixes.
bfd/ 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com> * elf32-arc.c (arc_elf_final_write_processing): Add condition to the flag change. (elf_arc_relocate_section): Fixes and conditions to support PIE. Assert for code sections dynamic relocs. gas/ 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com> * config/tc-arc.c: Enable code density instructions for ARC EM. ld/ 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com> * scripttempl/arclinux.sc: Force .tdata and .tbss to always be generated.
Diffstat (limited to 'ld/scripttempl/arclinux.sc')
-rw-r--r--ld/scripttempl/arclinux.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/scripttempl/arclinux.sc b/ld/scripttempl/arclinux.sc
index 9d43ca31cbb..bef5336fb7e 100644
--- a/ld/scripttempl/arclinux.sc
+++ b/ld/scripttempl/arclinux.sc
@@ -326,8 +326,8 @@ cat <<EOF
.data1 ${RELOCATING-0} : { *(.data1) }
/* TLS local dynamic uses .tdata as a reference point. */
${RELOCATING+${CREATE_SHLIB+PROVIDE_HIDDEN (.tdata = .);}}
- .tdata ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }
- .tbss ${RELOCATING-0} : { *(.tbss${RELOCATING+ .tbss.* .gnu.linkonce.tb.*})${RELOCATING+ *(.tcommon)} }
+ .tdata ${RELOCATING-0} : { PROVIDE_HIDDEN(.tdata = .); *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }
+ .tbss ${RELOCATING-0} : { PROVIDE_HIDDEN(.tbss = .); *(.tbss${RELOCATING+ .tbss.* .gnu.linkonce.tb.*})${RELOCATING+ *(.tcommon)} }
.eh_frame ${RELOCATING-0} : { KEEP (*(.eh_frame)) }
.gcc_except_table ${RELOCATING-0} : { *(.gcc_except_table) }
${WRITABLE_RODATA+${RODATA}}