From c0042f5da0a9d3aaf254d2d6273a042230e58fea Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 13 Oct 2004 17:45:31 +0000 Subject: * 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. --- ld/ChangeLog | 5 +++++ ld/scripttempl/armbpabi.sc | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index e03f60b..bc1e142 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-10-13 Mark Mitchell + + * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a + loadable segment. + 2004-10-13 Alan Modra PR 44 diff --git a/ld/scripttempl/armbpabi.sc b/ld/scripttempl/armbpabi.sc index 63d5393..6904ca9 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 <