diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-09-06 20:55:23 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2004-09-06 20:55:23 +0000 |
commit | 229fcec57051103b79422353f53b6053fc5fc4b4 (patch) | |
tree | e9620d5259158d88238cd849061f454202b01dca /bfd/elf-bfd.h | |
parent | d597aff735ca792afe4d7508fe83e7891e50e5e9 (diff) | |
download | gdb-229fcec57051103b79422353f53b6053fc5fc4b4.zip gdb-229fcec57051103b79422353f53b6053fc5fc4b4.tar.gz gdb-229fcec57051103b79422353f53b6053fc5fc4b4.tar.bz2 |
* elf-bfd.h (_bfd_elf_make_dynamic_segment): Declare it.
* elf.c (_bfd_elf_make_dynamic_segment): New function, split out
from ...
(map_sections_to_segments): ... here. Use it. Assign a file
position to the .dynamic section if it is not loadable, but part
of the PT_DYNAMIC segment.
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
offsets, not VMAs, for the BPABI. Do not fill in the header in
the .got.plt section for the BPABI.
* elfarm-nabi.c (elf32_arm_symbian_modify_segment_map): Add a
PT_DYNAMIC segment.
(elf_backend_want_got_plt): Define to zero for Symbian OS.
* emulparams/armsymbian.sh: Use armbpabi script.
* scripttempl/armbpabi.sc: New script.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index dfc18de..5565e49 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1734,6 +1734,10 @@ extern bfd_boolean bfd_elf_gc_common_final_link extern bfd_boolean bfd_elf_reloc_symbol_deleted_p (bfd_vma, void *); +extern struct elf_segment_map * +_bfd_elf_make_dynamic_segment + (bfd *, asection *); + /* Exported interface for writing elf corefile notes. */ extern char *elfcore_write_note (bfd *, char *, int *, const char *, int, const void *, int); |