diff options
author | Nick Clifton <nickc@redhat.com> | 1999-12-10 01:41:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-12-10 01:41:22 +0000 |
commit | ad247e3c7de719151c02516afc9c682a32a181cc (patch) | |
tree | 9bbb9e72bbacd188c81701ec1148e0e45e5bf187 /bfd/bfd-in2.h | |
parent | c7d85a8d921dafd1c9eb0f132977427d3d107226 (diff) | |
download | gdb-ad247e3c7de719151c02516afc9c682a32a181cc.zip gdb-ad247e3c7de719151c02516afc9c682a32a181cc.tar.gz gdb-ad247e3c7de719151c02516afc9c682a32a181cc.tar.bz2 |
Change AR for ELF so that common symbols are not included in archive map.
Change LD for ELF so that archive elements whoes archive map contains a
reference to a common symbol will get linkled in.
Add new field to bfd_target structure and initialise it for all bfd targets.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 93c9b7e..8a6cbd3 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -2713,6 +2713,9 @@ bfd_set_private_flags PARAMS ((bfd *abfd, flagword flags)); #define bfd_update_armap_timestamp(abfd) \ BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd)) +#define bfd_allow_commons_in_armap(abfd) \ + BFD_SEND (abfd, _bfd_allow_commons_in_armap, (abfd)) + #define bfd_set_arch_mach(abfd, arch, mach)\ BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach)) @@ -2920,7 +2923,8 @@ CAT(NAME,_read_ar_hdr),\ CAT(NAME,_openr_next_archived_file),\ CAT(NAME,_get_elt_at_index),\ CAT(NAME,_generic_stat_arch_elt),\ -CAT(NAME,_update_armap_timestamp) +CAT(NAME,_update_armap_timestamp), \ +CAT(NAME,_allow_commons_in_armap) boolean (*_bfd_slurp_armap) PARAMS ((bfd *)); boolean (*_bfd_slurp_extended_name_table) PARAMS ((bfd *)); boolean (*_bfd_construct_extended_name_table) @@ -2931,13 +2935,14 @@ CAT(NAME,_update_armap_timestamp) struct orl *map, unsigned int orl_count, int stridx)); - PTR (*_bfd_read_ar_hdr_fn) PARAMS ((bfd *)); + PTR (*_bfd_read_ar_hdr_fn) PARAMS ((bfd *)); bfd * (*openr_next_archived_file) PARAMS ((bfd *arch, bfd *prev)); #define bfd_get_elt_at_index(b,i) BFD_SEND(b, _bfd_get_elt_at_index, (b,i)) bfd * (*_bfd_get_elt_at_index) PARAMS ((bfd *, symindex)); int (*_bfd_stat_arch_elt) PARAMS ((bfd *, struct stat *)); boolean (*_bfd_update_armap_timestamp) PARAMS ((bfd *)); - + boolean (*_bfd_allow_commons_in_armap) PARAMS ((bfd *)); + /* Entry points used for symbols. */ #define BFD_JUMP_TABLE_SYMBOLS(NAME)\ CAT(NAME,_get_symtab_upper_bound),\ |