aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfarm-nabi.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-10-19 06:02:46 +0000
committerMark Mitchell <mark@codesourcery.com>2004-10-19 06:02:46 +0000
commit6df4d94c68f19ff89a25fdbc3d9df60cadf1876f (patch)
treecfdc1bfca0bff70a19fe4256ee8737ab4b5deaee /bfd/elfarm-nabi.c
parentcad5e2c2ac6b2dc861b8ffaf3d4d3b755c5ab83d (diff)
downloadgdb-6df4d94c68f19ff89a25fdbc3d9df60cadf1876f.zip
gdb-6df4d94c68f19ff89a25fdbc3d9df60cadf1876f.tar.gz
gdb-6df4d94c68f19ff89a25fdbc3d9df60cadf1876f.tar.bz2
* elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.
* elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT, set SEC_ALLOC and SEC_LOAD.
Diffstat (limited to 'bfd/elfarm-nabi.c')
-rw-r--r--bfd/elfarm-nabi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elfarm-nabi.c b/bfd/elfarm-nabi.c
index 3eb2cbd..8b09cea 100644
--- a/bfd/elfarm-nabi.c
+++ b/bfd/elfarm-nabi.c
@@ -1011,6 +1011,8 @@ elf32_arm_symbian_modify_segment_map (abfd, info)
#undef elf32_bed
#define elf32_bed elf32_arm_symbian_bed
+/* The dynamic sections are not allocated on SymbianOS; the postlinker
+ will process them and then discard them. */
#undef ELF_DYNAMIC_SEC_FLAGS
#define ELF_DYNAMIC_SEC_FLAGS \
(SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED)