mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
* 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.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user