aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-10-13 17:45:31 +0000
committerMark Mitchell <mark@codesourcery.com>2004-10-13 17:45:31 +0000
commitc0042f5da0a9d3aaf254d2d6273a042230e58fea (patch)
tree7378276fda6e8cba535fdf90a0d027c2260a5d9e /ld
parent * rs6000-tdep.c (rs6000_push_dummy_call): Replace references to (diff)
downloadbinutils-gdb-c0042f5da0a9d3aaf254d2d6273a042230e58fea.tar.gz
binutils-gdb-c0042f5da0a9d3aaf254d2d6273a042230e58fea.tar.bz2
binutils-gdb-c0042f5da0a9d3aaf254d2d6273a042230e58fea.zip
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED. * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a loadable segment.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/armbpabi.sc6
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e03f60b5e2a..bc1e142f341 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-13 Mark Mitchell <mark@codesourcery.com>
+
+ * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
+ loadable segment.
+
2004-10-13 Alan Modra <amodra@bigpond.net.au>
PR 44
diff --git a/ld/scripttempl/armbpabi.sc b/ld/scripttempl/armbpabi.sc
index 63d539367ed..6904ca9513e 100644
--- a/ld/scripttempl/armbpabi.sc
+++ b/ld/scripttempl/armbpabi.sc
@@ -205,9 +205,6 @@ SECTIONS
${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
${CREATE_PIE+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
${INITIAL_READONLY_SECTIONS}
- .gnu.version ${RELOCATING-0} : { *(.gnu.version) }
- .gnu.version_d ${RELOCATING-0}: { *(.gnu.version_d) }
- .gnu.version_r ${RELOCATING-0}: { *(.gnu.version_r) }
EOF
if [ "x$COMBRELOC" = x ]; then
@@ -384,6 +381,9 @@ cat <<EOF
.hash 0 : { *(.hash) }
.dynsym 0 : { *(.dynsym) }
.dynstr 0 : { *(.dynstr) }
+ .gnu.version 0 : { *(.gnu.version) }
+ .gnu.version_d 0: { *(.gnu.version_d) }
+ .gnu.version_r 0: { *(.gnu.version_r) }
${CREATE_SHLIB-${INTERP}}
/* Stabs debugging sections. */