aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-target.h
AgeCommit message (Collapse)AuthorFilesLines
2000-02-18 * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirectRichard Henderson1-0/+9
and hide_symbol members. (elf_link_hash_copy_indirect): Remove. (elf_link_hash_hide_symbol): Remove. (struct elf_backend_data): Add elf_backend_copy_indirect_symbol and elf_backend_hide_symbol. (_bfd_elf_link_hash_copy_indirect): Declare. (_bfd_elf_link_hash_hide_symbol): Declare. * elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument. (_bfd_elf_link_hash_hide_symbol): Likewise. (_bfd_elf_link_hash_table_init): Don't init killed members. * elflink.h (elf_link_add_object_symbols): Use the bed function pointers not elf_link_hash_{copy_indirect,hide_symbol}. (elf_link_assign_sym_version): Likewise. * elfxx-target.h (elf_backend_copy_indirect_symbol): Default. (elf_backend_hide_symbol): Likewise. (elfNN_bed): Update for new members.
1999-12-10Revert previous patch.Nick Clifton1-9/+0
1999-12-10Change AR for ELF so that common symbols are not included in archive map.Nick Clifton1-0/+9
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.
1999-11-26Add support for target specific processing of ELF segmentsNick Clifton1-0/+4
1999-11-18 * elf-bfd.h (struct elf_backend_data): Reorder collect andRichard Henderson1-2/+7
type_change_ok; add sign_extend_vma. * elf32-mips.c (elf_backend_sign_extend_vma): Define. * elfcode.h (elf_swap_symbol_in): Mind be->sign_extend_vma. (elf_swap_shdr_in, elf_swap_phdr_in): Likewise. * elfxx-target.h (elf_backend_sign_extend_vma): Default. (elfNN_bed): Follow struture changes.
1999-07-30Jakub Jelinek <jj@ultra.linux.cz>Richard Henderson1-0/+8
* elf-bfd.h (struct elf_backend_data): Add print_symbol_all and output_arch_syms backend methods. * elfxx-target.h: Likewise. * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create, sparc64_elf_add_symbol_hook, sparc64_elf_output_arch_syms, sparc64_elf_get_symbol_type, sparc64_elf_symbol_processing): New functions. (sparc64_elf_size_dynamic_sections): Leave space for STT_REGISTER symbols in .dynsym, add their names into .dynstr. Put those symbols into dynlocal. (sparc64_elf_finish_dynamic_sections): Fix up DT_SPARC_REGISTER pointers to STT_REGISTER symbols in dynsym section. (sparc64_elf_print_symbol_all): New function. * elf.c (bfd_elf_print_symbol): Allow special backend symbol printing using the print_symbol_all hook.
1999-07-19Add new field to bfd_target structure.Nick Clifton1-2/+21
Initialise this field for all known bfd targets. Add new search function to targets.c
1999-07-14 * elfxx-target.h (elfNN_bed): Add elf_backend_want_dynbss.Richard Henderson1-1/+2
1999-07-13 * elf-bfd.h (struct elf_backend_data): Add want_dynbss.Richard Henderson1-0/+3
* elflink.c (_bfd_elf_create_dynamic_sections): Only create .dynbss and .rel[a].bss if want_dynbss. * elfxx-target.h (elf_backend_want_dynbss): Provide default.
1999-06-04Define ELF_MAXPAGESIZE for all ELF based ports.Nick Clifton1-2/+2
Produce an error message of ELF_MAXPAGESIZE is not defined.
1999-06-04(ELF_MAXPAGESIZE): Default to 0x1000 not 1Nick Clifton1-1/+2
1999-06-02 * elf-bfd.h (elf_backend_data): Remove use_rela_p. AddMark Mitchell1-5/+25
may_use_rel_p, may_use_rela_p, default_use_rela_p. (bfd_elf_section_data): Add use_rela_p. * elf.c (bfd_section_from_shdr): Set use_rela_p appropriately. (_bfd_elf_new_section_hook): Likewise. (elf_fake_sections): Use may_use_rela_p, etc., instead of use_rela_p. (_bfd_elf_copy_private_section_data): Copy use_rela_p. * elfcode.h (write_relocs): Determine whether or not use rela relocs based on the relocation section header. * elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p instead of use_rela_p. * elfxx-target.h (elf_backend_may_use_relp): New macro. (elf_backend_may_use_rela_p): Likewise. (elf_backend_default_use_rela_p): Likewise. (elfNN_bed): Use them.
1999-05-28Initialise EI_OSABI and EI_ABIVERSION fields of e_ident array.Nick Clifton1-0/+4
Add ability for backends to process program and section headers after they have been created.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+536