diff options
author | Alan Modra <amodra@gmail.com> | 2009-09-23 13:54:29 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-09-23 13:54:29 +0000 |
commit | 7ee314faa48ba637641861e0288736cb4666f940 (patch) | |
tree | 20e03cb7130dc65e3ad2e741cffd98153f2adb71 /bfd/bfd-in.h | |
parent | 8a00d39205398a858642a2c727bd2a54d8e49b46 (diff) | |
download | gdb-7ee314faa48ba637641861e0288736cb4666f940.zip gdb-7ee314faa48ba637641861e0288736cb4666f940.tar.gz gdb-7ee314faa48ba637641861e0288736cb4666f940.tar.bz2 |
bfd/
* bfd-in.h (bfd_elf_size_dynamic_sections): Add audit and depaudit
arguments.
* elflink.c (bfd_elf_size_dynamic_sections): Generate DT_AUDIT,
DT_DEPAUDIT from audit/depaudit arguments.
(elf_finalize_dynstr): Finalize DT_AUDIT and DT_DEPAUDIT strtab entries.
(elf_link_add_object_symbols): Set dt_audit target data when finding a
DT_AUDIT.
* bfd-in2.h: Regenerate.
* bfd-elf.h: Add dt_audit to elf_obj_tdata, and elf_dt_audit macro.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit,
--depaudit, and -P options.
(gld${EULATION_NAME}_handle_options): Ditto.
(gld${EULATION_NAME}_list_options): Ditto.
(gld${EMULATION_NAME}_append_to_separated_string): New function for
handling rpath-like colon separated strings.
(gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit
libs to bfd. Propagate DT_AUDIT from needed libs to depaudit.
* ld.texinfo: Document new options.
ld/testsuite/
* ld-elf/audit.exp: New.
* ld-elf/audit.rd: New.
* ld-elf/depaudit.rd: New.
* ld-elf/depaudit2.rd: New.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 516102e..c3d2d97 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -635,8 +635,8 @@ extern struct bfd_link_needed_list *bfd_elf_get_needed_list extern bfd_boolean bfd_elf_get_bfd_needed_list (bfd *, struct bfd_link_needed_list **); extern bfd_boolean bfd_elf_size_dynamic_sections - (bfd *, const char *, const char *, const char *, const char * const *, - struct bfd_link_info *, struct bfd_section **, + (bfd *, const char *, const char *, const char *, const char *, const char *, + const char * const *, struct bfd_link_info *, struct bfd_section **, struct bfd_elf_version_tree *); extern bfd_boolean bfd_elf_size_dynsym_hash_dynstr (bfd *, struct bfd_link_info *); |