aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.h
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 /bfd/elf32-arm.h
parent9f3359456878efddffc9c96c2107ee7f3ef2436b (diff)
downloadgdb-c0042f5da0a9d3aaf254d2d6273a042230e58fea.zip
gdb-c0042f5da0a9d3aaf254d2d6273a042230e58fea.tar.gz
gdb-c0042f5da0a9d3aaf254d2d6273a042230e58fea.tar.bz2
* 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 'bfd/elf32-arm.h')
-rw-r--r--bfd/elf32-arm.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index a74004d..88636d2 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -4047,7 +4047,16 @@ elf32_arm_finish_dynamic_sections (bfd * output_bfd, struct bfd_link_info * info
case DT_SYMTAB:
name = ".dynsym";
goto get_vma_if_bpabi;
-
+ case DT_VERSYM:
+ name = ".gnu.version";
+ goto get_vma_if_bpabi;
+ case DT_VERDEF:
+ name = ".gnu.version_d";
+ goto get_vma_if_bpabi;
+ case DT_VERNEED:
+ name = ".gnu.version_r";
+ goto get_vma_if_bpabi;
+
case DT_PLTGOT:
name = ".got";
goto get_vma;