+2001-09-08 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
+ as well as DEF_DYNAMIC in test for avoided copy relocs.
+ (allocate_plt_and_got_and_discard_relocs): Likewise.
+ * elf32-hppa.c (elf_i386_relocate_section): Likewise.
+ (allocate_plt_and_got_and_discard_relocs): Likewise.
+
2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling
of R_MIPS_PC16.
-\r
-2001-09-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>\r
-\r
- * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO\r
- definitions.\r
- (mips_elf64_howto_table_rel): Likewise.\r
-\r
-2001-09-05 Tom Rix <trix@redhat.com> \r
-\r
- * xcofflink.c (bfd_xcoff_import_symbol): Handle import file XMC_XO \r
- and syscall symbols.\r
- (write_global_symbol) : Same. \r
- (bfd_xcoff_export_symbol): Remove unused syscall param.\r
- * libxcoff.h: Change prototype of bfd_xcoff_export symbol and \r
- bfd_xcoff_import_symbol.\r
- * bfd-in.h: Same.\r
- * bfd-in2.h : Regenerate.\r
-\r
-2001-09-04 Richard Henderson <rth@redhat.com>\r
-\r
- * elf64-alpha.c (SKIP_HOWTO): New.\r
- (elf64_alpha_howto_table): Use it to remove dead ECOFF relocs.\r
- Fix sizes of 16-bit mem format relocs.\r
- (elf64_alpha_reloc_map): Update to match.\r
- (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate.\r
- (elf64_alpha_relax_without_lituse): Likewise.\r
- (elf64_alpha_check_relocs): Handle GPREL16.\r
- (elf64_alpha_relocate_section): Likewise.\r
- * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove.\r
- (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New.\r
- * bfd-in2.h, libbfd.h: Rebuild.\r
-\r
-2001-09-04 Jeff Law <law@redhat.com>\r
-\r
- * elf32-h8300.c (elf32_h8_relax_section): New function.\r
- (elf32_h8_relax_delete_bytes): Likewise.\r
- (elf32_h8_symbol_address_p): Likewise.\r
- (elf32_h8_get_relocated_section_contents): Likewise.\r
- (bfd_elf32_bfd_relax_section): Define.\r
- (bfd_elf32_bfd_get_relocated_section_contents): Likewise.\r
-\r
- * elf32-h8300.c (special): New function.\r
- (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in\r
- all relocations.\r
- (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit\r
- relocations. Fix problems with the true 24bit reloc R_H8_DIR24R8.\r
- Fix minor problems with 8bit and 16bit PC relative relocations.\r
-\r
-2001-09-01 Andreas Jaeger <aj@suse.de>\r
-\r
- * vms-tir.c: Add missing prototypes.\r
- * vms-hdr.c: Likewise.\r
- * vms-gsd.c: Likewise.\r
- * vms-misc.c: Likewise.\r
-\r
-2001-08-31 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename\r
- with bad relocation.\r
-\r
-2001-08-31 Eric Christopher <echristo@redhat.com>\r
- Jason Eckhardt <jle@redhat.com>\r
-\r
- * bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,\r
- mips32_4k and mips64.\r
- * bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,\r
- bfd_mach_mips64. Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.\r
- * bfd/cpu-mips.c: Ditto.\r
- * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.\r
- * bfd/bfd-in2.h: Regenerate.\r
-\r
-2001-08-31 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory\r
- value into R_ALPHA_RELATIVE's addend.\r
- (elf64_alpha_finish_dynamic_symbol): Likewise.\r
-\r
-2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * elf32-arm.h (elf32_arm_relocate_section): Do not rightshift\r
- recomputed addend during relocatable link if not USE_REL.\r
-\r
- * elflink.h (elf_gc_propagate_vtable_entries_used): Fix off-by-one\r
- error.\r
-\r
-2001-08-30 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-mips.c (mips_elf_calculate_relocation): Revert the last\r
- 2 changes.\r
- (_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic\r
- relocations for weak definitions.\r
-\r
-2001-08-30 H.J. Lu <hjl@gnu.org>\r
-\r
- * Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo.\r
- (BFD32_BACKENDS_CFILES): Add elf32-h8300.c.\r
- * Makefile.in: Rebuild.\r
-\r
-2001-08-30 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-mips.c (mips_elf_calculate_relocation): Don't create\r
- dynamic relocation for undefined weak symbols when creating\r
- executables. Check h->root.root.type, instead of h->root.type.\r
-\r
-2001-08-29 Joel Sherrill <joel@OARcorp.com>\r
-\r
- * config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change\r
- default from coff to elf.\r
-\r
-2001-08-29 Jeff Law <law@redhat.com>\r
-\r
- * elf32-h8300.c (h8_elf_howto_table): Add new PC relative\r
- relocations.\r
- (h8_reloc_map): Similarly.\r
- (elf32_h8_final_link_relocate): Remove incorrect overflow tests.\r
- Add support for PC relative relocations.\r
-\r
- * elf32-h8300.c: Put all prototypes together.\r
- (elf32_h8_info_to_howto): Parameter elf_reloc is used.\r
- (elf32_h8_final_link_relocate): New function for linker.\r
- (elf32_h8_relocate_section): Similarly.\r
- (elf_backend_relocate_section): Define.\r
-\r
- * cpu-h8300.c (h8300_scan, compatible): Prototype.\r
- (h8300_scan): Handle architecture:machine encodings typically\r
- found in linker scripts.\r
- * elf.c (prep_headers): Do not try to do H8 machine recognition\r
- here.\r
- * elf32-h8300.c: Add some missing prototypes.\r
- (elf32_h8_mach, elf32_h8_final_write_processing): New functions.\r
- (elf32_h8_object_p): Similarly.\r
-\r
-2001-08-29 Tom Rix <trix@redhat.com>\r
-\r
- * xcofflink.c (xcoff_link_add_symbols): Fix XTY_LD symbol that\r
- does not follow a XTY_SD.\r
-\r
-2001-08-29 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * targmatch.sed: Delete case statements.\r
- * config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for\r
- aix4.3 and above.\r
-\r
-Wed Aug 29 02:27:36 2001 J"orn Rennecke <amylaar@redhat.com>\r
-\r
- * Makefile.am (elf32-h8300.lo): New target.\r
- * config.bfd (h8300*-*-elf): New case.\r
- * configure.in (bfd_elf32_h8300_vec): New case.\r
- * elf.c (prep_headers): Add case for bfd_arch_h8300.\r
- * reloc.c (BFD_RELOC_H8_DIR16A8): New relocation.\r
- (BFD_RELOC_H8_DIR16R8, BFD_RELOC_H8_DIR24A8): Likewise.\r
- (BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16): Likewise.\r
- * targets.c (bfd_target bfd_elf32_h8300_vec): New extern declaration.\r
- * elf32-h8300.c: New file.\r
- * Makefile.in, bfd-in2.h, libbfd.h, configure: Regenerated.\r
-\r
-2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * sparclynx.c: Add missing prototypes.\r
- * coff-mcore.c: Add missing prototypes.\r
- * elf32-pj.c: Add missing prototypes.\r
- * nlm32-sparc.c: Add missing prototypes.\r
- * oasys.c: Add missing prototypes.\r
- * pdp11.c: Add missing prototypes.\r
- * pe-mips.c: Add missing prototypes.\r
- * riscix.c: Add missing prototypes.\r
-\r
-2001-08-27 Daniel Jacobowitz <drow@mvista.com>\r
-\r
- * elf32-i386.c: Add missing prototypes.\r
- * elf32-ppc.c: Likewise.\r
- * elf32-sh-lin.c: Likewise.\r
- * elfarm-nabi.c: Likewise.\r
-\r
-2001-08-27 Daniel Jacobowitz <drow@mvista.com>\r
-\r
- * elf32-i386.c (elf_i386_grok_prstatus): New function.\r
- (elf_i386_grok_psinfo): New function.\r
- (elf_backend_grok_prstatus): Define.\r
- (elf_backend_grok_psinfo): Likewise.\r
- * elf32-ppc.c (ppc_elf_grok_prstatus): New function.\r
- (ppc_elf_grok_psinfo): New function.\r
- (elf_backend_grok_prstatus): Define.\r
- (elf_backend_grok_psinfo): Likewise.\r
- * elf32-sh-lin.c (elf32_shlin_grok_prstatus): New function.\r
- (elf32_shlin_grok_psinfo): New function.\r
- (elf_backend_grok_prstatus): Define.\r
- (elf_backend_grok_psinfo): Likewise.\r
- * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): New function.\r
- (elf32_arm_nabi_grok_psinfo): New function.\r
- (elf_backend_grok_prstatus): Define.\r
- (elf_backend_grok_psinfo): Likewise.\r
-\r
-2001-08-27 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-mips.c (mips_elf_create_dynamic_relocation): Add more\r
- sanity check.\r
- (mips_elf_calculate_relocation): Create dynamic relocation for\r
- symbols with weak definition or the ELF_LINK_HASH_DEF_REGULAR\r
- bit is not set.\r
-\r
-2001-08-27 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype.\r
- (_bfd_mips_elf_copy_indirect_symbol): Likewise.\r
- (_bfd_elf32_mips_grok_prstatus): Likewise.\r
- (_bfd_elf32_mips_grok_psinfo): Likewise.\r
- (_bfd_mips_elf_hide_symbol): Make it static and cast to\r
- `struct mips_elf_link_hash_entry *'.\r
- (_bfd_mips_elf_copy_indirect_symbol): Make it static.\r
-\r
-2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * mipsbsd.c: Add missing prototypes.\r
- * hp300hpux.c: Add missing prototypes.\r
- * i386aout.c: Add missing prototypes.\r
- * i386lynx.c: Add missing prototypes.\r
- * i386mach3.c: Add missing prototypes.\r
- * i386msdos.c: Add missing prototypes.\r
- * i386os9k.c: Add missing prototypes.\r
-\r
-2001-08-27 Linus Nordberg <linus@swox.se>\r
- Torbjorn Granlund <tege@swox.com>\r
- Staffan Ulfberg <staffanu@swox.se>\r
- Alan Modra <amodra@bigpond.net.au>\r
-\r
- * config.bfd: Add powerpc64 target. Add powerpc64 vectors to\r
- targ64_selvecs for 32 bit powerpc targets.\r
- * Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo.\r
- (BFD64_BACKENDS_CFILES): Add elf64-ppc.c.\r
- Run "make dep-am".\r
- * Makefile.in: Regenerate.\r
- * configure.in: Add elf64_powerpc vecs.\r
- * configure: Regenerate.\r
- * cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit.\r
- * elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target.\r
- * targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec.\r
- * elf64-ppc.c: New file.\r
- * reloc.c: Add powerpc64 relocs.\r
- * libbfd.h: Regenerate.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2001-08-27 Andreas Schwab <schwab@suse.de>\r
-\r
- * elf32-m68k.c (elf32_m68k_check_relocs): Set DF_TEXTREL if the\r
- reloc is against read-only section.\r
- (elf32_m68k_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (elf32_m68k_reloc_type_class): New function.\r
- (elf_backend_reloc_type_class): Define.\r
-\r
-2001-08-27 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the\r
- reloc is against read-only section.\r
- (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (elf_s390_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
-\r
- * elf32-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the\r
- reloc is against read-only section.\r
- (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (elf_s390_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
-\r
- * elf32-ppc.c (ppc_elf_check_relocs): Set DF_TEXTREL if the reloc\r
- is against read-only section.\r
- (ppc_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (ppc_elf_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
-\r
-2001-08-26 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if the\r
- reloc is against read-only section.\r
- (elf_cris_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (elf_cris_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
-\r
- * elf32-sh.c (sh_elf_check_relocs): Set DF_TEXTREL if the reloc is\r
- against read-only section.\r
- (elf_backend_reloc_type_class): Define.\r
- (sh_elf_reloc_type_class): New.\r
- (sh_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
-\r
- * elf32-arm.h (elf32_arm_check_relocs): Set DF_TEXTREL if the\r
- reloc is against read-only section.\r
- (elf32_arm_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (elf32_arm_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
-\r
-2001-08-25 Andreas Jaeger <aj@suse.de>\r
-\r
- * oasys.c: Add missing prototypes.\r
-\r
- * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Add unused\r
- attribute for parameter.\r
- * elf.c (_bfd_elf_reloc_type_class): Likewise.\r
-\r
- * versados.c (get_4): Make static.\r
- (get_10): Make static.\r
- Add missing prototypes.\r
- (process_esd): Fix call to versados_new_symbol.\r
-\r
-2001-08-25 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * coff-a29k.c: Add missing prototypes.\r
- * coff-apollo.c: Add missing prototypes.\r
- * coff-arm.c: Add missing prototypes.\r
- * coff-i860.c: Add missing prototypes.\r
- * coff-rs6000.c: Add missing prototypes.\r
- * coff-tic80.c: Add missing prototypes.\r
- * elf-m10200.c: Add missing prototypes.\r
- * elf-m10300.c: Add missing prototypes.\r
- * elf32-arm.h: Add missing prototypes.\r
- * elf32-d10v.c: Add missing prototypes.\r
- * elf32-m32r.c: Add missing prototypes.\r
- * elf32-mcore.c: Add missing prototypes.\r
- * elf32-openrisc.c: Add missing prototypes.\r
- * elf32-sh.c: Add missing prototypes.\r
- * elf32-sparc.c: Add missing prototypes.\r
- * elf32-v850.c: Add missing prototypes.\r
- * elfarm-nabi.c: Add missing prototypes.\r
- * elfarm-oabi.c: Add missing prototypes.\r
-\r
-2001-08-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>\r
-\r
- * elf32-mips.c (elf_mips_abi_name): Return the right ABI string for\r
- E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64\r
-\r
-2001-08-24 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (_bfd_elf_merge_sections): Fail if not using an ELF\r
- hash structure.\r
-\r
-2001-08-24 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * elf-bfd.h (elf_hash_table): Revert definition.\r
- (is_elf_hash_table): New macro.\r
- * elflink.h (elf_link_add_object_symbols): Test\r
- is_elf_hash_table before accessing ELF only fields in hash\r
- structure.\r
- (elf_link_create_dynamic_sections): Fail if not using an ELF\r
- hash structure.\r
- (elf_add_dynamic_entry): Fail if not using an ELF hash\r
- structure.\r
- (elf_link_record_local_dynamic_symbol): Fail if not using an\r
- ELF hash structure.\r
- (size_dynamic_sections): Fail if not using an ELF hash\r
- structure.\r
- (elf_adjust_dynamic_symbol): Fail if not using an ELF\r
- hash structure.\r
- (elf_bfd_final_link): Fail if not using an ELF hash\r
- structure.\r
-\r
-2001-08-24 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf-bfd.h (elf_hash_table): Return NULL if the linker hash\r
- table is not an ELF linker hash table.\r
-\r
- * elf.c (_bfd_elf_link_hash_table_init): Set the linker hash\r
- table type to bfd_link_elf_hash_table.\r
-\r
- * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Revert\r
- the last change.\r
-\r
- * linker.c (_bfd_link_hash_table_init): Set the linker hash\r
- table type to bfd_link_generic_hash_table.\r
-\r
-2001-08-24 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * bfd.c (bfd_alt_mach_code): New function.\r
- * bfd-in2.h: Rebuilt.\r
-\r
-2001-08-24 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf-m10300.c (mn10300_elf_relocate_section): Test the right\r
- `type' field in the hash entry when deciding whether to follow a\r
- link.\r
-\r
-2001-08-24 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not\r
- last.\r
- (elf_link_sort_relocs): Adjust accordingly.\r
-\r
- * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag.\r
- (elf64_alpha_check_relocs): Set it if section this reloc is against\r
- is read-only. Set DF_TEXTREL if a RELATIVE reloc is needed against\r
- read-only section.\r
- (elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation\r
- is is against read-only section.\r
- (elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't\r
- check section names.\r
- (elf64_alpha_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
-\r
-2001-08-24 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>\r
-\r
- * linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()\r
- by bfd_malloc().\r
-\r
-2001-08-23 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL if\r
- the reloc is against read-only section.\r
- (elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead\r
- of looking up section names for DT_TEXTREL.\r
- (elf64_x86_64_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
-\r
-2001-08-23 H.J. Lu <hjl@gnu.org>\r
-\r
- * syms.c (bfd_print_symbol_vandf): Add abfd to arg.\r
- * bfd-in2.h (bfd_print_symbol_vandf): Regenerated.\r
-\r
- * aoutx.h (NAME(aout,print_symbol)): Pass abfd to\r
- bfd_print_symbol_vandf.\r
- * coffgen.c (coff_print_symbol): Likewise.\r
- * elf.c (bfd_elf_print_symbol): Likewise.\r
- * ieee.c (ieee_print_symbol): Likewise.\r
- * nlmcode.h (nlm_print_symbol): Likewise.\r
- * oasys.c (oasys_print_symbol): Likewise.\r
- * pdp11.c (NAME(aout,print_symbol)): Likewise.\r
- * som.c (som_print_symbol): Likewise.\r
- * srec.c (srec_print_symbol): Likewise.\r
- * tekhex.c (tekhex_print_symbol): Likewise.\r
- * versados.c (versados_print_symbol): Likewise.\r
- * vms.c (vms_print_symbol): Likewise.\r
-\r
- * elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma\r
- with bfd_fprintf_vma.\r
- (bfd_elf_print_symbol): Likewise.\r
- * syms.c (bfd_print_symbol_vandf): Likewise.\r
-\r
-2001-08-23 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * aoutf1.h (sunos_write_object_contents): Silence compile time\r
- warning.\r
- * libaout.h (N_SET_DYNAMIC): Silence compile time warning.\r
-\r
- * bout.c: Add missing function prototypes. Fix formatting.\r
- * coff-z8k.c: Add missing function prototypes. Fix formatting.\r
- * coff-w65.c: Add missing function prototypes. Fix formatting.\r
- * coff-h8500.c: Add missing function prototypes. Fix formatting.\r
- * coff-h8300.c: Add missing function prototypes. Fix formatting.\r
- * coff-tic54x.c: Add missing function prototypes. Fix formatting.\r
- * coff-tic30.c: Add missing function prototypes. Fix formatting.\r
- * coff-m68k.c: Add missing function prototypes. Fix formatting.\r
- * coff-rs6000.c: Add missing function prototypes. Fix formatting.\r
- * coff-sh.c: Add missing function prototypes. Fix formatting.\r
-\r
-2001-08-23 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf-bfd.h (enum elf_reloc_type_class): New.\r
- (struct elf_backend_data): Add elf_backend_reloc_type_class.\r
- (_bfd_elf_reloc_type_class): New.\r
- * elfxx-target.h (elf_backend_reloc_type_class): Define.\r
- (elfNN_bed): Add elf_backend_reloc_type_class.\r
- * elf.c (_bfd_elf_reloc_type_class): New.\r
- * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc\r
- is against read-only section.\r
- (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (elf_i386_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
- * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the\r
- reloc is against read-only section.\r
- (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (elf32_sparc_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
- * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the\r
- reloc is against read-only section.\r
- (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of\r
- looking up section names for DT_TEXTREL.\r
- (sparc64_elf_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
- * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field.\r
- (elfNN_ia64_hash_table_create): Clear ia64_info.\r
- (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only\r
- section.\r
- (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag\r
- instead of looking up section names for DT_TEXTREL.\r
- (elfNN_ia64_reloc_type_class): New.\r
- (elf_backend_reloc_type_class): Define.\r
- * elflink.h (size_dynamic_sections): Add spare DT_NULL tags.\r
- (struct elf_link_sort_rela): New.\r
- (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New.\r
- (elf_bfd_final_link): Call elf_link_sort_relocs.\r
- Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if\r
- necessary.\r
-\r
-2001-08-23 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * configure.in (x86-bsdi): No corefile support.\r
- * configure: Regenerate.\r
-\r
-2001-08-22 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add missing\r
- comma.\r
-\r
-2001-08-21 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * coff-go32.c: Make DWARF2 sections use an alignment of 0. Set\r
- the alignment of dwarf2 linkonce sections to 0.\r
- * coff-sto32.c: Likewise.\r
-\r
-2001-08-20 Andreas Jaeger <aj@suse.de>\r
-\r
- * coff-sparc.c: Add missing prototypes.\r
- * elf32-s390.c: Likewise.\r
- * elf32-i960.c: Likewise.\r
- * aout-target.h: Likewise.\r
-\r
-2001-08-20 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf-bfd.h (elf_obj_tdata): Add num_section_syms.\r
- (elf_num_section_syms): New for num_section_syms.\r
-\r
- * elf.c (elf_map_symbols): Set num_section_syms.\r
- (_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for\r
- the section symbol index.\r
-\r
-2001-08-20 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Never\r
- select the generic has table creator. All elf backends need elf\r
- specific fields in the hash table.\r
-\r
-2001-08-20 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * archive.c (offsetof): Remove define.\r
- * elf.c: Likewise.\r
- * oasys.c: Likewise\r
- * sysdep.h (offsetof): Define.\r
-\r
-2001-08-17 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * bfd.c (bfd_get_gp_size): Return an unsigned int.\r
- (bfd_set_gp_size): Make param unsigned.\r
- * bfd-in2.h: Regenerate.\r
- * elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather\r
- than calling bfd_get_gp_size.\r
- * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.\r
- * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.\r
-\r
-2001-08-17 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * linker.c (default_fill_link_order): Handle four byte fill value.\r
-\r
-2001-08-17 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing\r
- prototype.\r
- * nlm32-alpha.c (nlm_alpha_write_external): Fix warning.\r
-\r
- * elf64-mips.c (UNUSED_RELOC): Define.\r
- (mips_elf64_howto_table_rel): Use it.\r
- (mips_elf64_howto_table_rela): Here too.\r
- (mips_elf64_write_relocs): Fix signed/unsigned warning.\r
-\r
- * coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to\r
- silence warning.\r
- * coffgen.c (coff_print_symbol): Fix warnings.\r
- (coff_find_nearest_line): Likewise.\r
- * cofflink.c (_bfd_coff_link_input_bfd): Likewise.\r
- * coff-alpha.c (alpha_convert_external_reloc): Likewise.\r
- * format.c (bfd_check_format_matches): Likewise.\r
- (bfd_set_format): Likewise.\r
- * coff-ia64.c: Add missing prototypes.\r
- * elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend\r
- signed to silence warnings.\r
- (elf64_alpha_relocate_section): Likewise.\r
- (elf64_alpha_find_reloc_at_ofs): Fix warnings.\r
- (elf64_alpha_add_symbol_hook): Likewise.\r
- (elf64_alpha_final_link): Likewise.\r
- (elf64_alpha_relax_section): Remove redundant assign to info.gotent.\r
- (elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args.\r
- (elf64_alpha_size_got_sections): Likewise.\r
- * elfxx-ia64.c: Add missing prototypes.\r
- (elfNN_ia64_relocate_section): Fix warning.\r
- (elfNN_ia64_unwind_entry_compare): Make params const.\r
-\r
-2001-08-17 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * config.bfd (targ64_selvecs): New.\r
- <powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.\r
-\r
- * bfd-in.h (BFD_VERSION): Remove wrong comment.\r
- (BFD_DEFAULT_TARGET_SIZE): New.\r
- (BFD_ARCH_SIZE): Comment.\r
- * configure.in (target_size): New. Set instead of target64 in\r
- selvecs case statement. Set target64 from it.\r
- (bfd_default_target_size): New. Set from taget_size. AC_SUBST.\r
- * bfd-in2.h: Regenerate.\r
- * configure: Regenerate.\r
-\r
-2001-08-17 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.\r
- (bfd_errmsgs): Add corresponding message.\r
- * archive.c (bfd_generic_archive_p): Don't release bfd_ardata when\r
- finding an archive that contains different format object files.\r
- Return bfd_error_wrong_object_format for this case.\r
- * format.c: Formatting fixes. s/CONST/const/.\r
- (bfd_check_format_matches): Accept archives that give\r
- bfd_error_wrong_object_format if no full match is found. Tidy\r
- code handling matching_vector. Don't return a pointer to freed\r
- memory in `matching'. Handle ambiguous matches as for partial\r
- archive matches.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2001-08-15 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * libieee.h (common_header_type): Add last_byte field.\r
-\r
- * ieee.c: Add missing prototypes. Some format fixes.\r
- (struct output_buffer_struct): Move for availability to prototypes.\r
- (ieee_part_after): New function.\r
- (ieee_slurp_debug): Use it here.\r
- (ieee_seek): Pass in ieee_data_struct rather than bfd. Use\r
- ieee_part_after to set last_byte to one past end of current part.\r
- Update callers.\r
- (ieee_pos): Pass in ieee_data_struct rather than bfd.\r
- Update callers.\r
- (parse_expression): Don't go beyond the end of the current part.\r
- (ieee_slurp_external_symbols): Correct type passed to read_2bytes.\r
- (ieee_get_symtab_upper_bound, ieee_get_symtab,\r
- ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook,\r
- ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block,\r
- ieee_set_section_contents, ieee_write_object_contents,\r
- ieee_make_empty_symbol): Make static.\r
- (ieee_archive_p): Correct comments regarding bfd_read.\r
- (ieee_object_p): Similarly.\r
- (ieee_mkobject): Move it. Clear output_ptr_start, output_ptr,\r
- output_ptr_end, input_ptr_start, input_ptr, input_ptr_end,\r
- input_bfd, output_bfd, output_buffer.\r
- (do_as_repeat): Write out ieee_set_current_pc_enum value as for\r
- do_with_relocs, ie. as a symbol for relocatable files.\r
- (ieee_vec): Add comments showing functions referenced by macros.\r
-\r
-2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * aout-tic30.c: Add missing prototypes. Fix formatting.\r
- * aout-ns32k.c: Add missing prototypes. Fix formatting.\r
- * peXXigen.c: Add missining prototypes. Fix formatting.\r
- * aout-adobe.c: Add missining prototypes. Fix formatting.\r
-\r
-2001-08-13 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * elf32-v850.c: Add missing function prototypes.\r
- Fix some formatting.\r
-\r
- * cpu-v850.c: Add missing function prototype.\r
- Fix some formatting.\r
-\r
-2001-08-11 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * elf-bfd.h (struct elf_backend_data): Add new fields\r
- 'elf_backend_sprintf_vma' and 'elf_backend_fprintf_vma'.\r
- (bfd_elf_sprintf_vma): Rename function prototype to\r
- '_bfd_elf_sprintf_vma'.\r
- (bfd_elf_fprintf_vma): Rename function prototype to\r
- '_bfd_elf_fprintf_vma'.\r
- * bfd.c (bfd_sprintf_vma): Do not invoke bfd_elf_sprintf_vma\r
- directly, instead indirect via the elf_backend_data structure.\r
- (bfd_fprintf_vma): Do not invoke bfd_elf_fprintf_vma directly,\r
- instead indirect via the elf_backend_data structure.\r
- * elf.c (bfd_elf_sprintf_vma): Rename to _bfd_elf_sprintf_vma.\r
- (bfd_elf_fprintf_vma): Rename to _bfd_elf_fprintf_vma.\r
- * elfxx-target.h (elf_backend_sprintf_vma): Initialise if not\r
- already defined.\r
- (elf_backend_fprintf_vma): Initialise if not already defined.\r
- (struct elf_backend_data): Initialise the\r
- elf_backend_sprintf_vma and elf_backend_fprintf_vma fields.\r
-\r
-2001-08-10 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-sparc.c: Add missing prototypes.\r
- * elf32-cris.c: Likewise.\r
- * elf32-i370.c: Likewise.\r
- * elf64-hppa.c: Likewise.\r
- * elf64-s390.c: Likewise.\r
-\r
-2001-08-10 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.\r
- Add prototypes where needed.\r
-\r
-2001-08-10 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd.c (bfd_sprintf_vma): Fix a typo in the last change.\r
- (bfd_fprintf_vma): Likewise.\r
-\r
-2001-08-10 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd.c (bfd_sprintf_vma): Don't return void.\r
- (bfd_fprintf_vma): Likewise.\r
-\r
-2001-08-10 Andreas Jaeger <aj@suse.de>\r
-\r
- * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes\r
- to build warnings.\r
- * configure: Regenerate.\r
-\r
-2001-08-10 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet\r
- warning if not BFD64. Add braces so emacs auto format works.\r
- (bfd_elf_fprintf_vma): Likewise.\r
-\r
- * libxcoff.h (struct xcoff_backend_data_rec): Constify src param\r
- of _xcoff_swap_ld*.\r
- * coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external\r
- param to agree with libxcoff.h.\r
- (xcoff_swap_ldhdr_out): Likewise.\r
- (xcoff_swap_ldsym_in): Likewise.\r
- (xcoff_swap_ldsym_out): Likewise.\r
- (xcoff_swap_ldrel_in): Likewise.\r
- (xcoff_swap_ldrel_out): Likewise.\r
- (xcoff_create_csect_from_smclas): Likewise.\r
- * coff64-rs6000.c: Add missing prototypes.\r
- (xcoff64_swap_ldhdr_in): Modify type of external param to agree\r
- with libxcoff.h.\r
- (xcoff64_swap_ldhdr_out): Likewise.\r
- (xcoff64_swap_ldsym_in): Likewise.\r
- (xcoff64_swap_ldsym_out): Likewise.\r
- (xcoff64_swap_ldrel_in): Likewise.\r
- (xcoff64_swap_ldrel_out): Likewise.\r
- (xcoff64_ppc_relocate_section): Make static.\r
- (xcoff64_slurp_armap): Likewise.\r
- (xcoff64_archive_p): Likewise.\r
- (xcoff64_openr_next_archived_file): Likewise.\r
- (xcoff64_sizeof_headers): Likewise.\r
- (xcoff64_is_lineno_count_overflow): Likewise.\r
- (xcoff64_is_reloc_count_overflow): Likewise.\r
- (xcoff64_loader_symbol_offset): Likewise.\r
- (xcoff64_loader_reloc_offset): Likewise.\r
- * elf64-gen.c: Add missing prototypes.\r
-\r
-2001-08-09 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64.\r
- (bfd_elf_fprintf_vma): Likewise.\r
-\r
-2001-08-09 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved\r
- to ...\r
- * elf-bfd.h: Here.\r
- * bfd-in2.h: Regenerated.\r
-\r
-2001-08-09 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd-in.h (bfd_sprintf_vma): New prototype.\r
- (bfd_fprintf_vma): Likewise.\r
- (bfd_elf_sprintf_vma): Likewise.\r
- (bfd_elf_fprintf_vma): Likewise.\r
- (bfd_printf_vma): New. Defined with bfd_fprintf_vma.\r
- * bfd-in2.h: Regenerated.\r
-\r
- * bfd.c (bfd_sprintf_vma): New. Defined.\r
- (bfd_fprintf_vma): Likewise.\r
-\r
- * elf.c (bfd_elf_sprintf_vma): New. Defined.\r
- (bfd_elf_fprintf_vma): Likewise.\r
-\r
-2001-08-09 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * coff-rs6000.c: Add missing prototypes.\r
- (xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,\r
- xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,\r
- xcoff_loader_reloc_offset): Make static.\r
- * dwarf1.c: Add missing prototypes.\r
- * dwarf2.c: Add missing prototypes.\r
- (struct abbrev_info): Move definition.\r
- (struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.\r
- * elf.c: Add missing prototypes.\r
- * elf32-gen.c: Likewise.\r
- * elf32-i386.c: Likewise.\r
- * elf32-ppc.c: Likewise.\r
- (ppc_elf_sort_rela): Use PTR instead of "void *".\r
- * elflink.h: Add missing prototypes. Formatting fixes.\r
- * merge.c: Add missing prototypes.\r
- (last4_eq): Use PTR instead of "void *".\r
- (last_eq): Likewise.\r
- * syms.c: Add missing prototypes.\r
-\r
-2001-08-09 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * bfd.c: Fix formatting.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2001-08-09 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * elf32-arc.c (R_ARC_B22_PCREL): Change 'partial_inplace' to\r
- true (this target uses REL relocations) and 'pcrel_offset' to\r
- false (the PC is implied, not stored in the offset).\r
-\r
-2001-08-08 Alan Modra <amodra@bigpond.net.au>\r
-\r
- 1999-10-19 Linus Nordberg <linus@swox.se>\r
- * elf-bfd.h (struct elf_backend_data): Add want_got_sym.\r
- * elfxx-target.h (elf_backend_want_got_sym): Define.\r
- (elfNN_bed): Add elf_backend_want_got_sym.\r
- * elflink.c (_bfd_elf_create_got_section): Define\r
- _GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.\r
-\r
-2001-08-08 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.\r
- (find_rela_addend): New function.\r
- (parse_comp_unit): Call it to find the abbrev offset addend.\r
- (_bfd_dwarf2_find_nearest_line): Initialize and maintain the new\r
- members of dwarf2_debug as debugging information is read.\r
-\r
-2001-08-07 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * coff-sh.c (sh_coff_reloc_type_lookup): Provide for sh-coff\r
- targets as well as sh-pe.\r
-\r
-2001-08-03 Ben Harris <bjh21@netbsd.org>\r
-\r
- * elf32-arm.h (elf32_arm_final_link_relocate): Include offset of\r
- reloc from start of section when computing value for R_ARM_REL32\r
- reloc.\r
-\r
-2001-08-03 Alan Modra <amodra@bigpond.net.au>\r
-\r
- From H.J. Lu <hjl@gnu.org>\r
- * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don't\r
- keep relocs for undefined syms if there are no dynamic sections in\r
- executable.\r
- * elf32-hppa.c (allocate_plt_and_got_and_discard_relocs): Likewise.\r
-\r
-2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>\r
-\r
- * cofflink.c (coff_link_check_ar_symbols): also search for\r
- __imp__symbol as well as _symbol.\r
- * linker.c (_bfd_generic_link_add_archive_symbols): also\r
- search for __imp__symbol as well as _symbol.\r
-\r
-2001-08-01 Adam Nemet <anemet@lnxw.com>\r
-\r
- * elf.c (elf_sort_sections): Return zero only as the last step.\r
-\r
-2001-08-01 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * config.bfd (arm-vxworks): Change name of define from VXWORKS to\r
- ARM_COFF_BUGFIX.\r
- (arm-epoc-pe): Define ARM_COFF_BUGFIX.\r
- coff-arm.c (coff_arm_relocate_section): Replace VXWORKS with\r
- ARM_COFF_BUGFIX.\r
-\r
-2001-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>\r
-\r
- * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Changed return type\r
- to match corresponding bfd_coff_backend data member.\r
-\r
-2001-07-24 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * Makefile.am: Update dependencies with "make dep-am".\r
- * Makefile.in: Regenerate\r
-\r
-2001-07-15 H.J. Lu <hjl@gnu.org>\r
-\r
- * Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp.\r
- (po/BLD-POTFILES.in): Use tmp.bld instead of tmp.\r
- * Makefile.in: Regenerate.\r
-\r
-2001-07-11 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD\r
- flags when creating the reloc section if the ALLOC flag in the\r
- source section is set.\r
-\r
-2001-07-11 Steve Ellcey <sje@cup.hp.com>\r
-\r
- * reloc.c (bfd_reloc_code_type): Add IA64 relocs\r
- BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB\r
- * bfd-in2.h: Regenerate.\r
- * libbfd.h: Regenerate.\r
- * elfxx-ia64.c (ia64_howto_table): Define how to handle\r
- new relocations.\r
- (elfNN_ia64_reloc_type_lookup): Handle new relocations.\r
- (elfNN_ia64_check_relocs): Likewise.\r
- (elfNN_ia64_install_value): Likewise.\r
- (elfNN_ia64_relocate_section): Likewise.\r
-\r
-2001-07-11 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for\r
- R_SPARC_UA64.\r
- (elf32_sparc_check_relocs): Likewise.\r
- Only create .rela section for alloced sections in shared libraries.\r
- (elf32_sparc_relocate_section): Likewise.\r
- Remove redundant check.\r
- Optimize unaligned reloc usage.\r
- * elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant\r
- check.\r
-\r
-2001-07-11 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf64-alpha.c (elf64_alpha_check_relocs): Only use the same\r
- ALLOC|LOAD flags as the source section for debugging sections\r
- when creating the reloc section.\r
-\r
-2001-07-05 Jim Wilson <wilson@redhat.com>\r
-\r
- * linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use\r
- the section of the bigger symbol.\r
-\r
- * syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.\r
-\r
-2001-07-05 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * peicode.h (coff_swap_scnhdr_in): For sections containing\r
- uninitialised data, only set their size to s_paddr if this does\r
- not reset their size to zero. MS's latest compilers will set\r
- s_paddr to zero.\r
-\r
-2001-07-04 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):\r
- Handle bfd_mach_mips4400, bfd_mach_mips4600 and\r
- bfd_mach_mips5000.\r
-\r
-2001-07-03 Mark Elbrecht <snowball3@softhome.net>\r
-\r
- * bfd.c (bfd_get_sign_extend_vma): Support DJGPP COFF targets.\r
-\r
- * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols from\r
- sections being discarded.\r
-\r
-2001-06-30 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly\r
- instead of _bfd_elfcore_section_from_phdr.\r
- * elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.\r
- * elf.c (_bfd_elfcore_section_from_phdr): Remove.\r
- (_bfd_elfcore_make_pseudosection): Expedite tail-call.\r
- (elfcore_grok_prstatus): Likewise.\r
- (elfcore_grok_lwpstatus): Likewise.\r
- (bfd_get_elf_phdr_upper_bound): Likewise.\r
- (elfcore_make_note_pseudosection): Formatting.\r
- (_bfd_elfcore_strndup): Formatting.\r
- * elf32-mips.c (mips_elf_sym_is_global): Formatting.\r
- (_bfd_elf32_mips_grok_prstatus): Expedite tail-call.\r
-\r
-2001-06-29 Daniel Jacobowitz <drow@mvista.com>\r
-\r
- * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection\r
- and _bfd_elfcore_strndup.\r
- (struct elf_backend_data): Add elf_backend_grok_prstatus\r
- and elf_backend_grok_psinfo.\r
- * elf.c (_bfd_elfcore_make_pseudosection): New function.\r
- (elfcore_grok_prstatus): Use it.\r
- (elfcore_make_note_pseudosection): Likewise.\r
- (elfcore_strndup): Rename to...\r
- (_bfd_elfcore_strndup): Here, and make global.\r
- (elfcore_grok_psinfo): Use _bfd_elfcore_strndup.\r
- (elfcore_grok_note): Call elf_backend_grok_prstatus\r
- and elf_backend_grok_psinfo if available.\r
- * elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.\r
- (_bfd_elf32_mips_grok_psinfo): New function.\r
- (elf_backend_grok_prstatus): Define.\r
- (elf_backend_grok_psinfo): Define.\r
- * elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.\r
- (elf_backend_grok_psinfo): Likewise.\r
- (elfNN_bed): Include elf_backend_grok_prstatus and\r
- elf_backend_grok_psinfo.\r
-\r
-2001-06-29 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if\r
- hplink->sgot is NULL before filling GOT. Check if hplink->splt\r
- is NULL before filling PLT.\r
-\r
-2001-06-29 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elflink.h (elf_link_output_extsym): Revert 1999-04-10.\r
-\r
-2001-06-27 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic\r
- here..\r
- (elf32_hppa_adjust_dynamic_symbol): ..nor here..\r
- (allocate_plt_and_got_and_discard_relocs): .. instead do so here\r
- after gc has run.\r
-\r
- * elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete.\r
- (IS_ABSOLUTE_RELOC): Define.\r
- (elf32_hppa_link_hash_entry): Always include reloc_entries field.\r
- (hppa_link_hash_newfunc): Always init it.\r
- (elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to\r
- create COPY relocs only when the reloc is in a read-only section.\r
- Instead, allocate space for a dynamic reloc to reference the\r
- library symbol directly. Keep track of space we allocate using\r
- relocs_entries.\r
- (hppa_discard_copies): Delete, and move code to..\r
- (allocate_plt_and_got): ..here. Rename to\r
- allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic\r
- relocs for non-shared link.\r
- (elf32_hppa_size_dynamic_sections): Update calls to above.\r
- (elf32_hppa_relocate_section): Write out the dynamic relocs used\r
- in lieu of COPY relocs.\r
-\r
- * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic\r
- here..\r
- (elf_i386_adjust_dynamic_symbol): ..nor here..\r
- (allocate_plt_and_got_and_discard_relocs): .. instead do so here\r
- after gc has run.\r
- (elf_i386_size_dynamic_sections): Fix a comment.\r
- (elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code\r
- involved in writing reloc out.\r
-\r
-2001-06-25 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):\r
- Ensure syms are dynamic if we might be emitting a reloc.\r
- (allocate_plt_and_got_and_discard_relocs): Don't discard relocs\r
- for undefweak or undefined syms..\r
- (elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.\r
-\r
- * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard\r
- relocs without ELF_LINK_HASH_DEF_DYNAMIC set.\r
- (elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove\r
- redundant bfd_link_hash_defined, bfd_link_hash_defweak test.\r
-\r
-2001-06-24 H.J. Lu <hjl@gnu.org>\r
-\r
- * cpu-i960.c (scan_960_mach): Don't modify const char *. Use\r
- strncasecmp/strcasecmp instead of strncmp/strcmp.\r
-\r
-2001-06-23 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-i386.c (elf_i386_relocate_section <R_386_32, R_386_PC32>):\r
- Check ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined\r
- in the regular object file and treat the weak definition as\r
- the normal one.\r
-\r
-2001-06-23 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten\r
- unresolved_reloc test to exclude cases where we use "relocation"\r
- before setting it to point into the .got. Reinstate fudge for\r
- unresolved relocs in debugging sections.\r
-\r
- * elf32-i386.c (elf_i386_relocate_section): Replace ugly\r
- complicated tests for unresolvable relocs with a simple direct\r
- scheme using "unresolved_reloc" var.\r
-\r
- * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to\r
- elf_i386_dyn_relocs. Update comment.\r
- (struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to\r
- dyn_relocs.\r
- (elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change\r
- others to aborts.\r
- (allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with\r
- abort.\r
- (elf_i386_size_dynamic_sections): Likewise.\r
- (elf_i386_finish_dynamic_symbol): Likewise.\r
- (elf_i386_finish_dynamic_sections): Likewise.\r
- (elf_i386_relocate_section): Likewise. Tidy R_386_GOT32 and error\r
- handling code.\r
-\r
- Avoid creating COPY relocs if possible.\r
- * elf32-i386.c (elf_i386_check_relocs): Tweak condition under\r
- which .got created. Mark symbols used by R_386_32 and R_386_PC32\r
- relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the\r
- reloc is in a read-only section. Instead, allocate space for a\r
- dynamic reloc to reference the library symbol directly. Keep\r
- track of space we allocate using pcrel_relocs_copied.\r
- (discard_copies): Delete, and move code to ..\r
- (allocate_plt_and_got): ..here. Rename to\r
- allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic\r
- relocs for non-shared link.\r
- (elf_i386_size_dynamic_sections): Update calls to above functions.\r
- (elf_i386_relocate_section): Write out the dynamic relocs. Add\r
- more ugly logic to avoid "unresolvable relocation" error. Use\r
- htab shortcut in place of elf_hash_table macro.\r
- (elf_i386_finish_dynamic_sections): Allow that dynamic .got may\r
- not always be created now.\r
-\r
-2001-06-20 Bo Thorsen <bo@suse.co.uk>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of\r
- shared libraries.\r
-\r
-2001-06-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>\r
-\r
- * configure.host (mips64-*-linux): Reformat.\r
-\r
-2001-06-21 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always\r
- allocate local .got space. Use shortcuts from hash table for .got\r
- and .plt rather than comparing section names.\r
- (elf32_hppa_check_relocs): Use local_plt_refcounts var rather than\r
- adjusting index into local_got_refcounts to document what we are\r
- really doing.\r
- (elf32_hppa_relocate_section): Similarly for local_plt_offsets.\r
- Tidy .got and .plt error checking.\r
-\r
-2001-06-20 Catherine Moore <clm@redhat.com>\r
-\r
- * elf-bfd.h (struct elf_backend_data):\r
- elf_backend_emit_relocs: New field: Function for emitting\r
- relocs.\r
- elf_backend_count_relocs: New field: Function for determining\r
- the number of relocs to be emitted.\r
- * elfxx-target.h: Provide default (NULL) values for\r
- elf_backend_emit_relocs and elf_backend_count_relocs.\r
- * elflink.h (elf_link_size_reloc_section): Make the hash table\r
- big enough to hold the relocs counted by either reloc_count or\r
- o->reloc_count.\r
- (elf_bfd_final_link) emit_relocs: New boolean, set if relocs\r
- should be emitted, either because of a command line option\r
- stored in the info structure or because the target provides a\r
- special reloc emitting function.\r
- If the target provides a reloc counting function use it,\r
- unless performing a relocatable link or emitting all relocs.\r
- Also set the SEC_RELOC flag on any output section which will\r
- contain relocs.\r
- (elf_link_input_bfd): emit_relocs: New boolean, set if relocs\r
- should be emitted, either because of a command line option\r
- stored in the info structure or because the target provides a\r
- special reloc emitting function.\r
- If the target provides a reloc emitting function, use it,\r
- unless performing a relocatable link or emitting all relocs.\r
-\r
-2001-06-20 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-i386.c (elf_i386_size_dynamic_sections): Always\r
- allocate local .got space.\r
-\r
-2001-06-19 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix creation of\r
- dynamic symbols.\r
-\r
-2001-06-18 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * elflink.h (struct elf_assign_sym_version_info): Remove member\r
- export_dynamic. All users changed to use info member.\r
- NAME(bfd_elf,size_dynamic_sections)): Remove parameter\r
- export_dynamic, instead use member in parameter info.\r
- * bfd-in.h (bfd_elf32_size_dynamic_sections,\r
- bfd_elf64_size_dynamic_sections): Update prototype.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2001-06-18 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_info_failed): Add a new field, verdefs.\r
- (NAME(bfd_elf,size_dynamic_sections): Pass verdefs to\r
- elf_export_symbol.\r
- (elf_export_symbol): Check eif->verdefs to decide if a symbol\r
- should be exported.\r
-\r
-2001-06-17 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-mips.c (mips_elf_link_hash_entry): Add a new field,\r
- readonly_reloc, to record if a relocation in the .rel.dyn\r
- section is against a read-only section.\r
- (mips_elf_link_hash_newfunc): Initialize the readonly_reloc\r
- field to false.\r
- (_bfd_mips_elf_check_relocs): Record if there is a relocation\r
- in the .rel.dyn section against a read-only section by setting\r
- DF_TEXTREL or readonly_reloc.\r
- (_bfd_mips_elf_copy_indirect_symbol): Copy readonly_reloc if\r
- it is true.\r
- (_bfd_mips_elf_adjust_dynamic_symbol): Record DF_TEXTREL if\r
- there is a relocation in the .rel.dyn section against a\r
- read-only section.\r
- (_bfd_mips_elf_size_dynamic_sections): Set DT_TEXTREL if\r
- DF_TEXTREL is set.\r
-\r
-2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * coffcode.h (styp_flags_to_sec_flags): Change to a boolean\r
- function. Move flagword result into parameter list. Remove\r
- comment about setting bfd_error_handler to intercept failure\r
- results.\r
- * coffgen.c (make_a_section_from_file): Examine result of\r
- calling bfd_coff_styp_to_sec_flags and pass a failure back to\r
- caller.\r
- * ecoff.h (styp_flags_to_sec_flags): Change to a boolean\r
- function. Move flagword result into parameter list.\r
- * libcoff.h: Regenerate.\r
- * libecoff.h: Regenerate.\r
-\r
-2001-06-13 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * aoutx.h (adjust_z_magic): Only pad the tesxt section if the data\r
- section is going to follow it.\r
-\r
-2001-06-12 Catherine Moore <clm@redhat.com>\r
-\r
- * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN\r
- with the file_align entry from elf_backend_data.\r
- (elf_gc_smash_unused_vtentry_relocs): Likewise.\r
- (elf_gc_record_vtentry): Likewise.\r
-\r
-2001-06-10 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elflink.h: Whitespace changes.\r
- (elf_link_read_relocs_from_section): Use "unsigned int" iterator\r
- rather than "unsigned char".\r
- (elf_link_output_relocs): Likewise.\r
- (elf_link_input_bfd): Likewise.\r
- (elf_reloc_link_order): LIkewise.\r
- * elf.c: s/CONST/const/. Whitespace changes.\r
- * elf32-mips.c: Formatting fix.\r
-\r
- * Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h.\r
- * Makefile.in: Regenerate.\r
- * po/Make-in: Remove trailing tab.\r
-\r
-2001-06-09 Philip Blundell <philb@gnu.org>\r
-\r
- * elf32-arm.h (elf32_arm_plt0_entry): Correct error in last\r
- change.\r
- (elf32_arm_plt_entry): Likewise.\r
-\r
-2001-06-08 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (swap_out_syms): Keep names for global section symbols.\r
-\r
-2001-06-07 H.J. Lu <hjl@gnu.org>\r
-\r
- * config.bfd: Put back ecoff for Linux/mips. Firmwares on some\r
- MIPS-based machines need it.\r
-\r
-2001-06-07 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab\r
- for SGI only.\r
-\r
- * config.bfd: Remove ecoff from Linux/mips.\r
-\r
-2001-06-07 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an\r
- assertion.\r
- (elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an\r
- alignment of 8 for .rela sections; handle further relocations.\r
-\r
-2001-06-06 Christian Groessler <cpg@aladdin.de>\r
-\r
- * coff-z8k.c: Fix formatting.\r
- Fix howtos: howto->size was always 1.\r
-\r
-2001-06-05 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>\r
-\r
- * configure.host (mips64*-*-linux*): Define.\r
-\r
-2001-06-05 Alan Modra <amodra@bigpond.net.au>\r
-\r
- * elf32-i386.c (elf_i386_discard_copies): Rename to\r
- discard_copies, and use elf_link_hash_entry arg rather than\r
- elf_i386_link_hash_entry.\r
- (elf_i386_link_hash_traverse): Delete.\r
- (elf_i386_size_dynamic_sections): Adjust call to discard_copies.\r
- Tidy sizing of dynamic sections.\r
- (elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count\r
- possible .plt entries.\r
- (elf_i386_gc_sweep_hook): Likewise.\r
- (elf_i386_adjust_dynamic_symbol): Discard .plt entries for\r
- everything with plt.refcount <= 0.\r
-\r
- * elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and\r
- .relgot space here.\r
- (elf_i386_gc_sweep_hook): ..and no need to deallocate here..\r
- (elf_i386_adjust_dynamic_symbol): ..and don't allocate .plt and\r
- .rel.plt here..\r
- (allocate_plt_and_got): ..instead do it all here. New function.\r
- (elf_i386_size_dynamic_sections): Allocate local .got space and\r
- call allocate_plt_and_got. No need to zap .relgot if not dynamic.\r
- (bfd_elf32_bfd_final_link): Delete. (ie. use regular final link\r
- rather than gc variety).\r
- (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.\r
- (elf_i386_relocate_section): Use it here and correct handling of\r
- R_386_GOT32. Provide section and offset for "unresolvable\r
- relocation" error message.\r
- (elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32.\r
-\r
- * elf32-i386.c (struct elf_i386_link_hash_table): Add sgot,\r
- sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields.\r
- (elf_i386_link_hash_table_create): Init them.\r
- (create_got_section): New function.\r
- (elf_i386_create_dynamic_sections): New function.\r
- (elf_backend_create_dynamic_sections): Set to above.\r
- (elf_i386_check_relocs): Use shortcuts from hash table rather than\r
- calling bfd_get_section_by_name.\r
- (elf_i386_gc_sweep_hook): Likewise.\r
- (elf_i386_adjust_dynamic_symbol): Likewise.\r
- (elf_i386_size_dynamic_sections): Likewise.\r
- (elf_i386_relocate_section): Likewise.\r
- (elf_i386_finish_dynamic_sections): Likewise.\r
-\r
- * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.\r
-\r
-2001-06-02 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX\r
- and ELFOSABI_HPUX.\r
- * elf64-hppa.c (elf64_hppa_object_p): Likewise.\r
-\r
-2001-06-02 H.J. Lu <hjl@gnu.org>\r
-\r
- * aout-cris.c (MACHTYPE_OK): New. Defined.\r
-\r
-2001-06-02 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * section.c (_bfd_strip_section_from_output): Handle NULL\r
- output_section.\r
-\r
-2001-06-02 H.J. Lu <hjl@gnu.org>\r
-\r
- * config.bfd (powerpc-*-aix*, powerpc-*-beos*, rs6000-*-*): Add\r
- rs6000coff64_vec only if BFD64 is defined.\r
- (powerpc64-*-aix*): Enable only if BFD64 is defined.\r
-\r
-2001-06-02 H.J. Lu <hjl@gnu.org>\r
-\r
- * coff-ia64.c (ia64coff_object_p): Rewrite with\r
- external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.\r
-\r
-2001-06-01 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8\r
- relocation, small reformatting.\r
-\r
-2001-05-29 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.\r
- (elf64_x86_64_relocate_section): Likewise.\r
-\r
-2001-05-30 Alan Modra <amodra@one.net.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for\r
- millicode. Don't allocate .got and .rela.got space here..\r
- (elf32_hppa_gc_sweep_hook): ..and no need to deallocate here..\r
- (elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and\r
- .rela.plt here..\r
- (hppa_handle_PIC_calls): ..nor here..\r
- (allocate_plt_and_got): ..instead do it all here. New function.\r
- (elf32_hppa_size_dynamic_sections): Allocate local .got space and\r
- call allocate_plt_and_got. No need to zap .got if not dynamic.\r
- (elf32_hppa_final_link): Call regular bfd_final_link instead of\r
- gc_common_final_link.\r
- (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.\r
- (elf32_hppa_relocate_section): Use it here.\r
- (elf32_hppa_finish_dynamic_symbol): Remove superfluous test of\r
- dynamic_sections_created.\r
- (hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym.\r
-\r
-2001-05-28 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the\r
- generic version since we want a hashsize of 4.\r
- (elf_backend_size_info): Likewise.\r
-\r
-2001-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>\r
-\r
- * elflink.h (elf_link_size_reloc_section): Use bfd_zmalloc instead of\r
- a zeroing loop.\r
- (elf_link_output_relocs): Handle MIPS ELF64 relocations correctly.\r
- (elf_link_input_bfd): Likewise.\r
- (elf_reloc_link_order): Likewise.\r
- (elf_finish_pointer_linker_section): Typo. Handle MIPS ELF64\r
- relocations correctly.\r
-\r
-2001-05-28 Nicolas Pitre <nico@cam.org>\r
-\r
- * elf32-arm.h: fix PLT generation for big endian ARM\r
-\r
-2001-05-28 Alan Modra <amodra@one.net.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries\r
- for symbols forced local that need plabels.\r
- (elf32_hppa_adjust_dynamic_symbol): Don't allocate space in\r
- .plt.rela for local syms if non-shared.\r
- (hppa_build_one_stub): Mask lsb of plt.offset.\r
- (elf32_hppa_finish_dynamic_symbol): Abort if lsb of plt.offset set.\r
- (clobber_millicode_symbols): Correct comment.\r
- (elf32_hppa_relocate_section): Likewise.\r
- (elf32_hppa_finish_dynamic_symbol): Likewise.\r
-\r
-2001-05-28 Jeff Sturm <jsturm@one-point.com>\r
-\r
- * reloc.c: Add BFD_RELOC_SPARC_UA16 and BFD_RELOC_SPARC_UA64.\r
- * bfd-in2.h: Regenerate.\r
- * libbfd.h: Regenerate.\r
- * elf32-sparc.c: Enable BFD_RELOC_SPARC_UA16, BFD_RELOC_SPARC_UA32\r
- and BFD_RELOC_SPARC_UA64 mapping\r
- * elf64-sparc.c: Likewise.\r
-\r
-2001-05-25 H.J. Lu <hjl@gnu.org>\r
-\r
- * Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.\r
- (BFD32_BACKENDS_CFILES): Remove coff-pmac.c.\r
- (coff-rs6000.lo): Remove the old dependency.\r
- * Makefile.in: Rebuild.\r
-\r
- * configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with\r
- coff-rs6000.lo.\r
-\r
-2001-05-25 H.J. Lu <hjl@gnu.org>\r
-\r
- * coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,\r
- rs6000coff_core_file_matches_executable_p,\r
- rs6000coff_core_file_failing_command and\r
- rs6000coff_core_file_failing_signal only if AIX_CORE is\r
- defined.\r
- (pmac_xcoff_vec): Likewise.\r
- * coff64-rs6000.c (rs6000coff64_vec): Likewise.\r
-\r
-2001-05-25 Timothy Wall <twall@redhat.com>\r
-\r
- * elfxx-ia64.c (allocate_dynrel_entries): Don't allocate an entry\r
- for __GLOB_DATA_PTR on AIX5. Clean up some relocation bugs.\r
-\r
-2001-05-25 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd-in2.h: Regenerated.\r
- * libcoff.h: Likewise.\r
-\r
-2001-05-25 Alan Modra <amodra@one.net.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow\r
- undefined millicode syms in shared libs.\r
- (hppa_build_one_stub): Turn BFD_ASSERTs into aborts.\r
- (elf32_hppa_check_relocs): Likewise.\r
- (elf32_hppa_adjust_dynamic_symbol): Likewise.\r
- (elf32_hppa_size_dynamic_sections): Likewise.\r
- (elf32_hppa_relocate_section): Likewise.\r
- (elf32_hppa_finish_dynamic_symbol): Likewise.\r
- (elf32_hppa_finish_dynamic_sections): Likewise.\r
-\r
-2001-05-24 Tom Rix <trix@redhat.com>\r
-\r
- * Makefile.am coff-pmac bfd now defined in coff-rs6000.c\r
- xcoff-target.h not used to define rs6000 or ppc bfd.\r
- * Makefile.in same\r
-\r
- * bfd-in.h : (struct lineno_cache_entry) promote element "offset"\r
- to 64 bit.\r
-\r
- * coff-rs6000.c : Many changes for 64 bit support. Move common\r
- 32/64 code to xcofflink.c. Explictly define the rs6000coff_vec\r
- and pmac_xcoff_vec\r
-\r
- * coff64-rs6000.c : Many changes for 64 bit support. 64 bit\r
- linker now supported. Explictly define the rs6000coff64_vec.\r
-\r
- * coffcode.h : (coff_set_arch_mach_hook) xcoff 64 bit support\r
- (coff_print_aux) same\r
- (coff_write_object_contents) same\r
- (coff_slurp_line_table) same\r
-\r
- * coffgen.c : (coff_fix_symbol_name) formatting\r
- (coff_mangle_symbols) xcoff 64 bit support\r
- (coff_write_symbol) same\r
- (coff_write_alien_symbol) same\r
- (coff_write_native_symbol) same\r
- (coff_write_symbols) same\r
- (coff_get_symbol_info) same\r
- (bfd_coff_get_syment) same\r
- (coff_print_symbol) same\r
-\r
- * config.bfd : add powerpc64-*-aix* target\r
-\r
- * libcoff-in.h : formatting\r
-\r
- * libcoff.h : move xcoff extern declarations to libxcoff.h\r
-\r
- * libxcoff.h : New file\r
-\r
- * xcofflink.c : Many changes for xcoff64 support. Move common\r
- structures to include/coff/xcoff.h. Move specific structure to\r
- backends coff-rs6000.c and coff64-rs6000.c. Use new backend\r
- functions, defined in libxcoff.h, to isolate 32/64 dependencies.\r
-\r
- (bfd_xcoff_size_dynamic_sections) : special __rtinit symbol for\r
- aix4.2+ -binitfini.\r
-\r
- (xcoff_build_ldsyms) : handle special __rtinit symbol.\r
-\r
-2001-05-23 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo\r
- s/ENTIRES/ENTRIES/.\r
-\r
-2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>\r
-\r
- * reloc.c (bfd_reloc_code_real): Add MIPS ELF64 relocations.\r
- * libbfd.h: Regenerate.\r
- * bfd-in2.h: Regenerate.\r
-\r
- * aoutx.h (aout_@var{size}_machine_type): Add MIPS r12k support.\r
- * archures.c (bfd_mach_mips12000): Define.\r
- * cpu-mips.c (arch_info_struct): Add MIPS r12k support.\r
- * elf32-mips.c (_bfd_mips_elf_final_write_processing): Add MIPS r12k\r
- support.\r
- (_bfd_mips_elf_size_dynamic_sections): Use official bfd typedef.\r
- * bfd-in2.h: Regenerate.\r
- * elfxx-target.h: Do not redefine bfd_elfNN_bfd_make_debug_symbol.\r
-\r
-2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>\r
-\r
- * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry,\r
- elf_sh_plt_entry_be, elf_sh_plt_entry, elf_sh_pic_plt_entry_be,\r
- elf_sh_pic_plt_entry): New PLT code, that does not use r2, since\r
- that is used by GCC.\r
-\r
-2001-05-23 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * elf-bfd.h (NUM_SHDR_ENTRIES): New macro: compute the number\r
- of entries in a structured section.\r
- * elf.c: Use new macro.\r
- * elf32-i386.c: Use new macro.\r
- * elf32-mips.c: Use new macro.\r
- * elf64-alpha.c: Use new macro.\r
- * elf64-sparc.c: Use new macro.\r
- * elfcode.h: Use new macro.\r
- * elflink.h: Use new macro.\r
-\r
-2001-05-23 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * bfdint.texi: Replace -oformat with --oformat.\r
-\r
-2001-05-21 Andreas Jaeger <aj@suse.de>\r
-\r
- * dwarf2.c (decode_line_info): Fix error message.\r
- (read_abbrevs): Fix test for offset as suggested by Alan Modra and\r
- adjust error message.\r
-\r
-2001-05-18 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_link_add_object_symbols): Revert the last\r
- change.\r
-\r
-2001-05-17 Alan Modra <amodra@one.net.au>\r
-\r
- * elf32-hppa.c (clobber_millicode_symbols): Temporarily set\r
- ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change.\r
- (hppa_build_one_stub): Add an assert to check plt.offset.\r
-\r
-2001-05-17 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the\r
- version definition to basename of the output filename.\r
-\r
-2001-05-17 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to\r
- basename of the bfd filename.\r
-\r
-2001-05-16 Alan Modra <amodra@one.net.au>\r
-\r
- * section.c (asection): Add linker_has_input field.\r
- (STD_SECTION): Adjust initialization to suit.\r
- * ecoff.c (bfd_debug_section): Likewise.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2001-05-15 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf-m10300.c (mn10300_elf_relax_section): Don't relax\r
- negative 32-bit operands to 16 operands when the operand is\r
- going to be zero-extended by the modified opcode.\r
-\r
-2001-05-12 Peter Targett <peter.targett@arccores.com>\r
-\r
- * cpu-arc.c (arch_info_struct): Add entry 'base' representing old\r
- name for 'arc5' core versions.\r
- (bfd_arc_arch): Make bfd_mach_arc_6 default.\r
-\r
- * elf32-arc.c (arc_elf_object_p): Make E_ARC_MACH_ARC6 default\r
- architecture.\r
- (arc_elf_final_write_processing): Make bfd_mach_arc_6 default.\r
-\r
-2001-05-11 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind\r
- sections as well.\r
- (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO\r
- to .gnu.linkonce.t.FOO text section.\r
-\r
-2001-05-11 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix\r
- fields, change sec into secinfo.\r
- (struct sec_merge_info): Add chain, remove last fields.\r
- (struct sec_merge_sec_info): Add next, sec, psecinfo fields.\r
- (sec_merge_hash_lookup): If lookup could not use a string only\r
- because it has bad alignment, mark the old string for deletion.\r
- (sec_merge_add): Add secinfo argument. Don't compute entry's\r
- position, instead record the section.\r
- (sec_merge_emit): Update for the sec into secinfo change in\r
- struct sec_merge_hash_entry.\r
- (_bfd_merge_section): Only record the section for merging, defer\r
- putting strings into the hash table.\r
- (cmplengthentry, last4_eq, last_eq, record_section, merge_strings,\r
- _bfd_merge_sections): New functions.\r
- (_bfd_merged_section_offset): Update for the sec_merge_hash_entry\r
- changes.\r
- * libbfd-in.h (_bfd_merge_sections): Add prototype.\r
- (_bfd_nolink_bfd_merge_sections): Define.\r
- * libbfd.h: Likewise.\r
- (bfd_generic_merge_sections): Add prototype.\r
- * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections.\r
- (struct bfd_target): Likewise.\r
- * bfd.c (bfd_merge_sections): Define.\r
- * bfd-in2.h: Rebuilt.\r
- * elf.c (_bfd_elf_merge_sections): New function.\r
- * elf-bfd.h (_bfd_elf_merge_sections): Add prototype.\r
- * elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define.\r
- * reloc.c (bfd_generic_merge_sections): New function.\r
- * vms.c (vms_bfd_merge_sections): New function.\r
- * aout-adobe.c (aout_32_bfd_merge_sections): Define.\r
- * aout-target.h (MY_bfd_merge_sections): Define.\r
- * aout-tic30.c (MY_bfd_merge_sections): Define.\r
- * binary.c (binary_bfd_merge_sections): Define.\r
- * bout.c (b_out_bfd_merge_sections): Define.\r
- * coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define.\r
- * coffcode.c (coff_bfd_merge_sections): Define.\r
- * coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define.\r
- * i386msdos.c (msdos_bfd_merge_sections): Define.\r
- * i386os9k.c (os9k_bfd_merge_sections): Define.\r
- * ieee.c (ieee_bfd_merge_sections): Define.\r
- * ihex.c (ihex_bfd_merge_sections): Define.\r
- * nlm-target.h (nlm_bfd_merge_sections): Define.\r
- * oasys.c (oasys_bfd_merge_sections): Define.\r
- * ppcboot.c (ppcboot_bfd_merge_sections): Define.\r
- * som.c (som_bfd_merge_sections): Define.\r
- * srec.c (srec_bfd_merge_sections): Define.\r
- * tekhex.c (tekhex_bfd_merge_sections): Define.\r
- * versados.c (versados_bfd_merge_sections): Define.\r
- * xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define.\r
-\r
-2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * dwarf1.c (_bfd_dwarf1_find_nearest_line): Change type of 'addr'\r
- to be unsigned long, in order to match its use.\r
-\r
-2001-05-10 H.J. Lu <hjl@gnu.org>\r
-\r
- * linker.c (_bfd_generic_link_add_one_symbol): Check loop on\r
- indirect symbols.\r
-\r
-2001-05-09 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_link_add_object_symbols): Fix a typo. Allocate\r
- versymhdr->sh_size bytes for extversym instead of hdr->sh_size.\r
- Remove the unused veriable `dynver'.\r
-\r
-2001-05-08 Ian Lance Taylor <ian@zembu.com>\r
-\r
- * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is\r
- NULL or is not COFF.\r
- (coff_i386_rtype_to_howto): Don't dump core if output section\r
- owner is not COFF.\r
-\r
-2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>\r
-\r
- * ecoff.c (bfd_debug_section): Fix initialization.\r
- * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it\r
- is always a positive integer. Cast away sign mismatch.\r
- * elf32-mips.c: Fix misleading comment and typo.\r
- (_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use\r
- correct data type.\r
- * elflink.c: Fix typo.\r
- (_bfd_elf_create_dynamic_sections): Remove superfluous initialization.\r
- * ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch.\r
-\r
-2001-05-04 Richard Henderson <rth@redhat.com>\r
-\r
- * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.\r
-\r
-2001-05-04 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * elf32-arm.h (elf32_arm_final_link_relocate): Set\r
- EF_ARM_HASENTRY if the start address is set.\r
-\r
-2001-05-03 Nick Clifton <nickc@cambridge.redhat.com>\r
-\r
- * targets.c (_bfd_target_vector_entries): Compute value based on\r
- the size of the _bfd_target_vector and not bfd_target_vector.\r
-\r
-2001-05-03 H.J. Lu <hjl@gnu.org>\r
-\r
- * elfcode.h: Include "libiberty.h".\r
-\r
- * elflink.h (elf_link_add_object_symbols): Set\r
- elf_dt_name (abfd) to basename of the bfd filename.\r
- (NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename\r
- of the bfd filename.\r
-\r
-2001-05-03 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.\r
- (elf_generic_info_to_howto_rel): Likewise.\r
- * coff-alpha.c (reloc_nil): Likewise.\r
- (alpha_ecoff_bad_format_hook): Likewise.\r
- (alpha_adjust_reloc_out): Likewise.\r
- (alpha_bfd_reloc_type_lookup): Likewise.\r
- (alpha_convert_external_reloc): Likewise.\r
- * elf64-alpha.c (elf64_alpha_reloc_nil): Likewise.\r
- (elf64_alpha_reloc_bad): Likewise.\r
- (elf64_alpha_reloc_gpdisp): Likewise.\r
- (elf64_alpha_bfd_reloc_type_lookup): Likewise.\r
- (elf64_alpha_info_to_howto): Likewise.\r
- (elf64_alpha_add_symbol_hook): Likewise.\r
- (elf64_alpha_create_got_section): Likewise.\r
- (elf64_alpha_is_local_label_name): Likewise.\r
- (elf64_alpha_merge_ind_symbols): Likewise.\r
- * elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise.\r
- (mips_elf64_get_reloc_upper_bound): Likewise.\r
- * nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise.\r
- (nlm_alpha_get_public_offset): Likewise.\r
-\r
-2001-05-02 Johan Rydberg <jrydberg@opencores.org>\r
-\r
- * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain\r
- about overflow in R_OPENRISC_LO_16_IN_INSN and\r
- R_OPENRISC_HI_16_IN_INSN.Index: bfd/elf32-openrisc.c\r
-\r
-2001-04-30 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1\r
- only for ELF_LINK_FORCED_LOCAL.\r
- * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.\r
- * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise.\r
- * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.\r
-\r
- * elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL\r
- if the symbol has hidden or internal visibility.\r
-\r
-2001-04-30 Alan Modra <amodra@one.net.au>\r
-\r
- * elf32-hppa.c (final_link_relocate): Branch to .+8 for\r
- calls to undefined weak symbols.\r
-\r
-2001-04-30 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for\r
- R_X86_64_GOTPCREL, don't use assignments instead of comparisons.\r
-\r
-2001-04-27 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap\r
- out handled entries.\r
- (elf64_x86_64_finish_dynamic_symbol): Set up GOT entries.\r
- (elf64_x86_64_relocate_section): Fix GOTPCREL calculation.\r
- (elf64_x86_64_relocate_section): Merge entries for GOTPCREL and\r
- GOT32.\r
-\r
-2001-04-27 Sean McNeil <sean@mcneil.com>\r
-\r
- * config.bfd: Add arm-vxworks target.\r
- * coff-arm (coff_arm_relocate_section): Add in symbol value to\r
- addend (fro VXworks targets).\r
-\r
-2001-04-26 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is\r
- valid.\r
-\r
-2001-04-25 Frank Ch. Eigler <fche@redhat.com>\r
-\r
- * bfd-in.h (bfd_cache_close): Declare newly exported function.\r
- * bfd-in2.h: Regenerated.\r
-\r
-2001-04-24 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * merge.c (struct sec_merge_hash_entry): Add alignment field.\r
- (struct sec_merge_hash): Remove alignment_power.\r
- (sec_merge_hash_newfunc): Clear alignment.\r
- (sec_merge_hash_lookup): Pass alignment as argument.\r
- Use hashp->root.next, not hashp->next to walk the hash chain.\r
- If a string already in the hashtable does not have required\r
- alignment, create a new hashtable entry.\r
- (sec_merge_init): Remove alignment_power argument.\r
- (sec_merge_add): Add alignment argument.\r
- (sec_merge_emit): Alignment is now a per-entity thing, not per\r
- section.\r
- (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections\r
- for proper alignment.\r
- Pass alignment information to sec_merge_add.\r
-\r
-2001-04-24 Christian Groessler <cpg@aladdin.de>\r
-\r
- * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR\r
- and R_REL16 reloc types; accept odd values for R_REL16 type\r
-\r
-2001-04-24 Johan Rydberg <jrydberg@opencores.org>\r
-\r
- * cpu-openrisc.c: New file.\r
- * elf32-openrisc.c: Likewise.\r
-\r
- * Makefile.am (ALL_MACHINES): Add cpu-openrisc.lo.\r
- (ALL_MACHINES_CFILES): Add cpu-openrisc.c.\r
- (BFD32_BACKENDS): Add elf32-openrisc.lo.\r
- (BFD32_BACKENDS_CFILES): Add elf32-openrisc.c.\r
- (cpu-openrisc.lo, elf32-openrisc.lo): New rules.\r
- * Makefile.in: Regenerated.\r
- * config.bfd: (openrisc-*-elf): New target.\r
- * configure.in (bfd_elf32_openrisc_vec): New vector.\r
- * configure: Regenerated.\r
- * libbfd.h: Regenerated.\r
- * bfd-in2.h: Regenerated.\r
- * reloc.c: Add OpenRISC relocations.\r
- * targets.c (bfd_elf32_openrisc_vec): Declare.\r
- (bfd_target_vect): Add bfd_elf32_openrisc_vec.\r
- * archures.c (enum bfd_architecture): Add bfd_arch_openrisc.\r
- (bfd_openrisc_arch): Declare.\r
- (bfd_archures_list): Add bfd_openrisc_arch.\r
- * elf.c (prep_headers): Add bfd_arch_openrisc.\r
-\r
-2001-04-23 Bo Thorsen <bo@suse.de>\r
-\r
- * elf64-x86-64.c: Add c++ vtable hack.\r
- Small whitespace and comment changes.\r
-\r
-2001-04-19 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.\r
- (elf64_x86_64_plt_entry): Likewise.\r
- (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.\r
- (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.\r
-\r
-2001-04-17 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * elf32-cris.c: Tweak comments related to dynamic linking.\r
- (cris_elf_relocate_section): When not creating shared object, fill\r
- in the .got table for any symbol not in the dynamic symbol table.\r
- (elf_cris_finish_dynamic_symbol): When not creating shared object,\r
- only emit a .got.rela reloc if the symbol is in the dynamic symbol\r
- table.\r
- (cris_elf_check_relocs): Use variable r_type in all places rather\r
- than the original expression. Add default case in switch for\r
- reloc types.\r
- (elf_cris_size_dynamic_sections): Iterate over\r
- elf_cris_discard_excess_program_dynamics when not creating shared\r
- library.\r
- (elf_cris_discard_excess_dso_dynamics): Renamed from\r
- elf_cris_discard_copies. Correct typo, s/Rel/Rela/.\r
- (elf_cris_discard_excess_program_dynamics): New.\r
-\r
-2001-04-14 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * coffcode.h (coff_write_object_contents): Use\r
- bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.\r
-\r
-2001-04-14 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd-in2.h: Regenerate.\r
-\r
-2001-04-14 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * section.c (STD_SECTION): Add entsize.\r
-\r
-2001-04-13 H.J. Lu <hjl@gnu.org>\r
-\r
- * section.c (SEC_MERGE): Define new flag for merging.\r
- (SEC_STRINGS): Likewise.\r
- (entsize): New field.\r
-\r
-2001-04-13 Roger Sayle <roger@metaphorics.com>\r
-\r
- * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section\r
- flag on pe-i386 targets.\r
-\r
-2001-04-13 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * libbfd-in.h (_bfd_merge_section): New.\r
- (_bfd_write_merged_section): New.\r
- (_bfd_merged_section_offset): New.\r
- * libbfd.h: Rebuilt.\r
- * linker.c (_bfd_generic_link_output_symbols): Handle\r
- discard_sec_merge.\r
- * aoutx.h (aout_link_write_symbols): Likewise.\r
- * pdp11.c (aout_link_write_symbols): Likewise.\r
- * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.\r
- (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE\r
- sections.\r
- (elf_link_sec_merge_syms): New.\r
- (elf_link_input_bfd): Call _bfd_merged_section_offset\r
- and _bfd_write_merged_section.\r
- Handle discard_sec_merge.\r
- * elf-bfd.h (struct elf_link_hash_table): Add merge_info\r
- field.\r
- (struct bfd_elf_section_data): Likewise.\r
- * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and\r
- SEC_STRINGS section flags and entsize from their ELF counterparts.\r
- (_bfd_elf_link_hash_table_init): Initialize merge_info.\r
- (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize\r
- from their BFD counterparts.\r
- * merge.c: New file.\r
- * Makefile.am: Add strtab.lo.\r
- * Makefile.in: Rebuilt.\r
-\r
-2001-04-09 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * elflink.h (elf_fix_symbol_flags): For non-default visibilities,\r
- only hide symbols marked STV_INTERNAL or STV_HIDDEN.\r
-\r
-2001-04-05 Steven J. Hill <sjhill@cotw.com>\r
-\r
- * config.bfd (mips*el*-*-linux-gnu*): Use traditional little\r
- endian MIPS ELF target.\r
- * config.bfd (mips*-*-linux-gnu*): Use traditional big endian\r
- MIPS ELF target.\r
-\r
- * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional\r
- 64bit big endian MIPS ELF target.\r
- (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little\r
- endian MIPS ELF target.\r
- * configure: Regenerated.\r
-\r
- * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and\r
- little endian targets.\r
- (mips_elf_sym_is_global): Handle traditional targets.\r
-\r
- * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional\r
- 64bit big endian MIPS ELF target.\r
- (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little\r
- endian MIPS ELF target.\r
-\r
- * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec\r
- and bfd_elf64_tradlittlemips_vec.\r
-\r
-2001-04-05 David Mosberger <davidm@hpl.hp.com>\r
-\r
- * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an\r
- ordinary "progbits" section.\r
-\r
-2001-04-04 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol\r
- when -Bsymbolic causes a symbol to no longer need a .plt entry.\r
-\r
-2001-04-03 David Mosberger <davidm@hpl.hp.com>\r
-\r
- * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.\r
-\r
-2001-03-30 H.J. Lu <hjl@gnu.org>\r
-\r
- * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ...\r
- (PEI_DEFAULT_TARGET_SUBSYSTEM): This.\r
-\r
-2001-03-26 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-gen.c (elf32_generic_link_add_symbols): New. Check\r
- if there are any relocations for generic ELF.\r
- (bfd_elf32_bfd_link_add_symbols): Defined to\r
- elf32_generic_link_add_symbols.\r
- * elf64-gen.c (elf64_generic_link_add_symbols): New. Check\r
- if there are any relocations for generic ELF.\r
- (bfd_elf64_bfd_link_add_symbols): Defined to\r
- elf64_generic_link_add_symbols.\r
-\r
-2001-03-23 Nick Clifton <nickc@redhat.com>\r
-\r
- * Makefile.am (BUILD_CFILES): New variable: List of C source\r
- files created in build directory.\r
- (BUILD_HFILES): New variable: List of header files created in\r
- build directory.\r
- (POTFILES): Delete.\r
- (po/POTFILES.in): Replace rule with empty entry.\r
- (po/SRC-POTFILES.in): New rule: Create a list of source files\r
- in the source directory.\r
- (po/BLD-POTFILES.in): New rule: Create a list of source files\r
- in the build directory.\r
- (MOSTLYCLEAN): Do not delete source files created in build\r
- directory.\r
- * Makefile.in: Regenerate.\r
- * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in\r
- into po/Makefile.\r
- * configure: Regenerate.\r
-\r
- * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES\r
- and BLD_POTFILES.\r
- Add .. to the search path when building bfd.pot.\r
- Delete POTFILES when performing distclean.\r
- Add comment describing why distclean is broken in maintainer mode.\r
- * po/POTFILES.in: Delete.\r
- * po/SRC-POTFILES.in: New file.\r
- * po/BLD-POTFILES.in: New file.\r
- * po/bfd.pot: Regenerate.\r
-\r
-2001-03-22 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * elf32-cris.c: Shlib and PIC support. PCREL tweaks.\r
- (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got,\r
- elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc,\r
- elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol,\r
- elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol,\r
- elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New\r
- functions.\r
- (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL,\r
- R_CRIS_32_PCREL>: Correct comments. Set pcrel_offset to false.\r
- <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,\r
- R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,\r
- R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>:\r
- New HOWTO members for new relocs.\r
- (cris_reloc_map): Map new relocs.\r
- (ELF_DYNAMIC_INTERPRETER): Define.\r
- (PLT_ENTRY_SIZE): Define.\r
- (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry,\r
- elf_cris_pic_plt_entry): New, PLT templates.\r
- (struct elf_cris_pcrel_relocs_copied, struct\r
- elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New.\r
- (elf_cris_link_hash_traverse, elf_cris_hash_table): Define.\r
- (cris_final_link_relocate): Check that 16-bit GOT relocs have\r
- positive values. Adjust PCREL relocs to be relative to location\r
- after relocation.\r
- (cris_elf_relocate_section): Handle relocations to dynamic\r
- objects. Handle new relocations. Call error handler when seeing\r
- non-PIC relocation for read-only sections while generating shared\r
- object.\r
- (cris_elf_check_relocs): Set reference counts for GOT and PLT\r
- entries.\r
- (bfd_elf32_bfd_link_hash_table_create,\r
- elf_backend_adjust_dynamic_symbol,\r
- elf_backend_size_dynamic_sections,\r
- elf_backend_finish_dynamic_symbol,\r
- elf_backend_finish_dynamic_sections,\r
- elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link,\r
- elf_backend_hide_symbol, elf_backend_want_got_plt,\r
- elf_backend_plt_readonly, elf_backend_want_plt_sym,\r
- elf_backend_got_header_size, elf_backend_plt_header_size):\r
- Define.\r
-\r
- * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT,\r
- BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE,\r
- BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT,\r
- BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT,\r
- BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL,\r
- BFD_RELOC_CRIS_32_PLT_PCREL): New relocs.\r
- * bfd-in2.h, libbfd.h: Regenerate.\r
-\r
-2001-03-21 Diego Novillo <dnovillo@redhat.com>\r
-\r
- (_bfd_mips_elf_relocate_section): Give a better error message when\r
- a relocation is not recognized.\r
-\r
-2001-03-21 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section\r
- non-NULL before attempting to dereference.\r
-\r
-2001-03-20 H.J. Lu <hjl@gnu.org>\r
-\r
- * configure.in: Remove the redundent AC_ARG_PROGRAM.\r
- * configure: Rebuild.\r
-\r
-2001-03-20 Andreas Schwab <schwab@suse.de>\r
-\r
- * elf32-m68k.c (elf_m68k_relocate_section): Don't need the\r
- relocation value when resolving a reference from a debugging\r
- section.\r
-\r
-2001-03-16 Scott Thomason <SThomaso@hii.com>\r
-\r
- * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors.\r
- (xcoff64_swap_sym_out): Fix syntax errors.\r
-\r
-2001-03-16 Richard Sandiford <rsandifo@redhat.com>\r
-\r
- * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning.\r
-\r
-2001-03-15 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call.\r
- (hppa_link_hash_newfunc): Init it.\r
- (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller\r
- section appears to be non-PIC.\r
- (final_link_relocate): Likewise.\r
- (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any\r
- possible candidate function, and set pic_call for those that will\r
- only have a .plt entry for the PIC call stub.\r
- (hppa_handle_PIC_calls): Set maybe_pic_call.\r
-\r
-2001-03-12 DJ Delorie <dj@redhat.com>\r
-\r
- * elf32-sh.c (sh_elf_relocate_section): Only relocation\r
- R_SH_DIR8WP* relocs if they're against external symbols, else\r
- they're just for relaxing. Validate the reloc values.\r
-\r
-2001-03-12 Stefan Geuken <mail@stefan-geuken.de>\r
-\r
- * binary.c (bfd_external_binary_architecture): Declare.\r
- (binary_object_p): If bfd_external_binary_architecture is defined,\r
- set the architecture to this string.\r
-\r
-2001-03-11 Philip Blundell <philb@gnu.org>\r
-\r
- * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT\r
- entries that could serve as a definition for a weak symbol.\r
-\r
-2001-03-08 Nick Clifton <nickc@redhat.com>\r
-\r
- * Most files: Update copyright notices using Perl script created\r
- by Kevin Buettner <kevinb@redhat.com>.\r
-\r
-2001-03-07 Nick Clifton <nickc@redhat.com>\r
-\r
- * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise\r
- prior patch on ! defined OLD_ARM_ABI.\r
-\r
-2001-03-07 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of\r
- some relocation values.\r
-\r
-2001-03-06 Nick Clifton <nickc@redhat.com>\r
-\r
- * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero\r
- of offset in BLX(1) instruction.\r
- * coff-arm.c (coff_arm_relocate_section): Clear bit zero of\r
- offset in BLX(1) instruction.\r
- Fix formatting.\r
-\r
-2001-03-06 Nick Clifton <nickc@redhat.com>\r
-\r
- * coff-arm.c (coff_arm_reloc_type_lookup): Add\r
- BFD_RELOC_THUMB_PCREL_BLX.\r
-\r
-2001-03-06 Igor Shevlyakov <igor@windriver.com>\r
-\r
- * archures.c (bfd_default_scan): Add Coldfire CPUs.\r
- * bfd-in2.h: Regenerate.\r
- * cpu-m68k.c: Add Coldfire CPUs for arch table.\r
- * ieee.c (ieee_write_processor): Set proper id for\r
- Coldfire CPUs.\r
-\r
-2001-03-01 D.J. Barrow <djbarrow@de.ibm.com,barrow_dj@yahoo.com>\r
-\r
- * configure.in: Add s390 target.\r
- * configure: Regenerate.\r
-\r
-2001-02-28 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation\r
- to addend.\r
-\r
-2001-02-28 Philip Blundell <pb@futuretv.com>\r
-\r
- * elf32-arm.h: Update mentions of renamed EF_xx constants.\r
- (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2.\r
-\r
-2001-02-27 H.J. Lu <hjl@gnu.org>\r
-\r
- * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if\r
- abfd->tdata.aout_data == NULL.\r
-\r
-2001-02-27 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c: Correct field selector in stub comments.\r
- (clobber_millicode_symbols): Formatting fix.\r
-\r
- * configure.in: Bump version to 2.11.90.\r
- * configure: Regenerate.\r
- * Makefile.am (CFILES): Rename to SOURCE_CFILES.\r
- (CFILES): $SOURCE_CFILES + generated C files.\r
- (POTFILES): Include $HFILES not $SOURCE_HFILES.\r
- Run "make dep-am"\r
- * Makefile.in: Regenerate.\r
- * doc/Makefile.in: This too.\r
-\r
-2001-02-26 Timothy Wall <twall@cygnus.com>\r
-\r
- * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete\r
- comments.\r
-\r
-2001-02-26 Nick Clifton <nickc@redhat.com>\r
-\r
- * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy\r
- up, replacing multiple if statements with a switch.\r
- (handle_COMDAT): New function.\r
-\r
-2001-02-26 H.J. Lu <hjl@gnu.org>\r
-\r
- * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue\r
- a warning for section flags we do not handle instead of\r
- aborting.\r
-\r
-2001-02-26 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.\r
-\r
-2001-02-22 Timothy Wall <twall@cygnus.com>\r
-\r
- * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey).\r
- * configure.in: Add objects for elf64_ia64_aix vectors.\r
- * configure: Regenerated.\r
- * configure.host: Recognize ia64-*-aix*.\r
- * elfxx-ia64.c: Add hooks for ELF64 on AIX5. Define new vectors\r
- for AIX. AIX5 requires most relocations to be dynamic (*all*\r
- binaries are somewhat similar to shared libraries).\r
- * targets.c: Add elf64_ia64_aix vectors.\r
-\r
-2001-02-21 David Mosberger <davidm@hpl.hp.com>\r
-\r
- * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for\r
- C8 said "1" instead of "8". Clarify error string for IMM22:\r
- "signed integer" instead of just "integer".\r
-\r
-2001-02-20 Andreas Jaeger <aj@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make\r
- PLT entries that could serve as a definition for a weak symbol.\r
-\r
-2001-02-19 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT\r
- entries that could serve as a definition for a weak symbol.\r
- * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise.\r
-\r
-2001-02-18 David O'Brien <obrien@FreeBSD>\r
-\r
- * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat\r
- FreeBSD/i386-CURRENT differently until I can figure out the needed\r
- corefile changes.\r
- * configure: Regenerate.\r
- * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm,\r
- FreeBSD/PowerPC, and FreeBSD/sparc64.\r
-\r
-2001-02-18 lars brinkhoff <lars@nocrew.org>\r
-\r
- * Makefile.am: Add PDP-11 a.out target.\r
- * config.bfd: Likewise.\r
- * configure.in: Likewise.\r
- * targets.c: Likewise.\r
- * archures.c: Likewise.\r
- * bfd-in2.h: Likewise. Add PDP-11 relocations.\r
- * libbfd.h: Add PDP-11 relocations.\r
- * reloc.c: Likewise.\r
- * cpu-pdp11.c: New file.\r
- * pdp11.c: New file.\r
-\r
- * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define.\r
- (GET_SWORD) [ARCH_SIZE==16]: Likewise.\r
- (GET_SWORD) [ARCH_SIZE==16]: Likewise.\r
- (PUT_WORD) [ARCH_SIZE==16]: Likewise.\r
- (GET_MAGIC): New macro.\r
- (PUT_MAGIC): Likewise.\r
- * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word.\r
-\r
-2001-02-18 Jim Kingdon <jkingdon@engr.sgi.com>\r
-\r
- * irix-core.c (irix_core_core_file_p): Set the architecture (GDB\r
- multiarch needs it).\r
-\r
-2001-02-18 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_link_input_bfd): Ignore invalid section symbol\r
- index.\r
-\r
-2001-02-18 Kazu Hirata <kazu@hxi.com>\r
-\r
- * vms-misc.c: Fix formatting.\r
-\r
-2001-02-16 Kazu Hirata <kazu@hxi.com>\r
-\r
- * vms.c: Fix formatting.\r
-\r
-2001-02-14 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (elf_find_function): New function.\r
- (_bfd_elf_find_nearest_line): Call elf_find_function () to find\r
- the file name and function name.\r
-\r
-2001-02-14 Nick Clifton <nickc@redhat.com>\r
-\r
- * ecoff.c (bfd_debug_section): Update to initialise new fields in\r
- asection structure.\r
-\r
- * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c\r
- (BFD64_BACKENDS): Add pepigen.c\r
- Add rules to create peigen.c and pepigen.c from peXXigen.c.\r
-\r
- * Makefile.in: Regenerate.\r
- * configure: Regenerate.\r
- * po/POTFILES.in: Regenerate.\r
- * po/bfd.pot: Regenerate.\r
-\r
-2001-02-14 H.J. Lu <hjl@gnu.org>\r
-\r
- * libcoff-in.h (pe_tdata): Add members target_subsystem and\r
- force_minimum_alignment.\r
-\r
-2001-02-14 Bo Thorsen <bo@suse.de>\r
-\r
- * elf64-x86-64.c: Small formatting fixes and rearrangements of code.\r
- (elf64_86_64_size_info): Struct added to fix a problem\r
- with the hashtable string entries.\r
- (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt.\r
- (elf64_x86_64_size_dynamic_sections): A FIXME removed.\r
- (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and\r
- remove the FIXME for this.\r
- (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt\r
- section. Also removed the FIXME for it.\r
- (x86_64_elf_howto_table): Use bfd_elf_generic_reloc.\r
- (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker.\r
- (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.\r
-\r
-2001-02-13 Richard Henderson <rth@redhat.com>\r
-\r
- * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required\r
- and not user provided.\r
-\r
-2001-02-13 Kazu Hirata <kazu@hxi.com>\r
-\r
- * vms.c (vms_print_symbol): Remove unreachable code.\r
-\r
- * rs6000-core.c: Fix formatting.\r
-\r
-2001-02-13 David Mosberger <davidm@hpl.hp.com>\r
-\r
- * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define\r
- as _bfd_XXi_only_swap_filehdr_out.\r
- (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set\r
- pe->force_minimum_alignment to TRUE.\r
- (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to\r
- PEI_TARGET_SUBSYSTEM.\r
- (pe_print_private_bfd_data): Call\r
- _bfd_XX_print_private_bfd_data_common() instead of\r
- _bfd_pe_print_private_bfd_data_common().\r
- (pe_bfd_copy_private_bfd_data): Call\r
- _bfd_XX_bfd_copy_private_bfd_data_common() instead of\r
- _bfd_pe_bfd_copy_private_bfd_data_common().\r
- (coff_bfd_copy_private_section_data): Define as\r
- _bfd_XX_bfd_copy_private_section_data instead of\r
- _bfd_pe_bfd_copy_private_section_data.\r
- (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead\r
- of a _bfd_pe_get_symbol_info.\r
-\r
- * peigen.c: Delete.\r
-\r
- * peXXigen.c: Renamed from peigen.c.\r
- (COFF_WITH_XX): Define this macro (will get expanded into\r
- COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being\r
- compiled as peigen.c or pepigen.c.\r
- [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to\r
- define the canonical PEP structures and definitions.\r
- (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in\r
- effect, enforce minimum file and section alignments. If\r
- extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to\r
- pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN,\r
- so, by default, this is a no-op).\r
-\r
- * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep.\r
- (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map\r
- _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to\r
- _bfd_pefoo if it's not defined. Use these macros to define\r
- coff swap macros.\r
-\r
- * libcoff.h (pe_tdata): Add members target_subsystem and\r
- force_minimum_alignment.\r
-\r
- * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to\r
- COFF_WITH_pep.\r
- (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM.\r
-\r
- * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of\r
- peigen.lo.\r
-\r
- * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep.\r
- (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and\r
- PEPAOUTHDR.\r
-\r
- * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo.\r
- (BFD64_BACKENDS_CFILES): Mention pepigen.c\r
- (peigen.c): Add rule to generate from peXXigen.c.\r
- (pepigen.c): Ditto.\r
- (pepigen.lo): List dependencies for pepigen.lo.\r
-\r
-2001-02-13 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$. If\r
- $global$ referenced but not defined, set its value here.\r
-\r
-2001-02-09 Bo Thorsen <bo@suse.de>\r
-\r
- * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section\r
- alignment to 3.\r
- (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry\r
- and relocation.\r
- (elf64_x86_64_relocate_section): Fix formatting.\r
- (elf64_x86_64_relocate_section): Fix addend for relocation of\r
- R_X86_64_(8|16|32|PC8|PC16|PC32).\r
-\r
-2001-02-12 Jan Hubicka <jh@suse.cz>\r
-\r
- * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.\r
-\r
-2001-02-11 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB\r
- alignment.\r
-\r
-2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>\r
-\r
- * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch\r
- from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32\r
- relocations against dynsym symbols.\r
-\r
- * elf32-mips.c (elf_mips_howto_table): Fix the comment on\r
- the R_MIPS_26 relocation.\r
- (mips_elf_calculate_relocation): Use (p + 4) instead of p for\r
- the R_MIPS_26 relocation.\r
- (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26\r
- relocation.\r
- * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on\r
- the R_MIPS_26 relocation.\r
- (mips_elf64_howto_table_rela): Likewise.\r
-\r
- * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub\r
- member to mark symbols that have non-CALL relocations against\r
- them.\r
- (mips_elf_link_hash_newfunc): Initialize no_fn_stub.\r
- (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like\r
- R_MIPS_GOT16.\r
- (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a\r
- non-CALL relocation against it is encountered.\r
- (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well.\r
- (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if\r
- no_fn_stub is not set.\r
-\r
- * elf32-mips.c (mips_elf_output_extsym): Get the output section\r
- information from the real symbol for indirect ones.\r
- Check no_fn_stub to find out if a symbol has a function stub\r
- indeed.\r
-\r
-2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>\r
-\r
- * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.\r
- * Makefile.in: Regenerate.\r
-\r
-2001-02-09 David Mosberger <davidm@hpl.hp.com>\r
-\r
- * elfxx-ia64.c (is_unwind_section_name): New function. Returns\r
- true if section name is an unwind table section name.\r
- (elfNN_ia64_additional_program_headers): Count each unwind section\r
- separately.\r
- (elfNN_ia64_modify_segment_map): Install one unwind program header\r
- for each unwind separate section. Note: normally the linker\r
- script merges the unwind sections that go into a single segment,\r
- so this still generates at most one unwind program header per\r
- segment.\r
-\r
- * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section\r
- name for SHT_IA_64_UNWIND, not just .IA_64.unwind.\r
- (elfNN_ia64_fake_sections): Mark sections with names that start\r
- with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64\r
- unwind section.\r
-\r
- * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function.\r
- Use it to make sh_info in unwind section point to the text section\r
- it applies to.\r
-\r
-2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>\r
-\r
- * Makefile.am: Add linux target for S/390.\r
- * archures.c: Likewise.\r
- * bfd-in2.h: Likewise.\r
- * config.bfd: Likewise.\r
- * configure.in: Likewise.\r
- * elf.c: Likewise.\r
- * libbfd.h: Likewise.\r
- * targets.c: Likewise.\r
- * cpu-s390.c: New file.\r
- * elf32-s390.c: New file.\r
- * elf64-s390.c: New file.\r
-\r
-2001-02-09 Nick Clifton <nickc@redhat.com>\r
-\r
- * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of\r
- ImageBase. This has already been done by coff_swap_hdr_in.\r
-\r
-2001-02-09 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.\r
-\r
-2001-02-09 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.\r
- (sparc64_elf_relocate_section): Likewise.\r
-\r
-2001-02-09 Mark Kettenis <kettenis@gnu.org>\r
-\r
- * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32\r
- similar to R_SPARC_32.\r
- * elf64-sparc.c (sparc64_elf_howto_table): Likewise.\r
-\r
-2001-02-08 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32\r
- relocation entries for weak definitions when building DSO with\r
- -Bsymbolic.\r
-\r
-2001-02-08 Richard Henderson <rth@redhat.com>\r
-\r
- * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness\r
- before visibility. Locally defined protected symbols are not\r
- dynamic.\r
-\r
-2001-02-08 Geoffrey Keating <geoffk@redhat.com>\r
-\r
- * config.bfd: Enable coff64 for rs6000-*. Patch from\r
- <hzoli@austin.ibm.com>.\r
-\r
-2001-02-07 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * coffgen.c (coff_find_nearest_line): If stabs info is successfully\r
- found, do not attempt to find dwarf2 info before returning.\r
-\r
-2001-02-07 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elflink.h (is_global_symbol_definition): Rename to\r
- is_global_data_symbol_definition and have it reject function\r
- symbols.\r
- (elf_link_is_defined_archive_symbol): Use renamed function.\r
-\r
-2001-02-07 Todd Vierling <tv@wasabisystems.com>\r
-\r
- * libbfd-in.h (bfd_target_vector): Change extern array to pointer.\r
- * libbfd.h (bfd_target_vector): Likewise.\r
- * targets.c (bfd_target_vector): Rename to _bfd_target_vector and\r
- make static; create pointer reference named bfd_target_vector.\r
- (_bfd_target_vector_entries): Calculate this based on the array\r
- typed _bfd_target_vector.\r
-\r
-2001-02-06 H.J. Lu <hjl@gnu.org>\r
-\r
- * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and\r
- internal symbols are not dynamic.\r
- * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.\r
-\r
-2001-02-06 Nick Clifton <nickc@redhat.com>\r
-\r
- * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so\r
- that it will not be pulled into the list of files that make up\r
- po/POTFILES.in.\r
- * Makefile.in: Regenerate.\r
- * po/bfd.pot: Regenerate.\r
-\r
-2001-02-06 H.J. Lu <hjl@gnu.org>\r
-\r
- * peicode.h (coff_swap_filehdr_in): Remove the e_magic\r
- checking.\r
- (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and\r
- external_PEI_IMAGE_hdr.\r
-\r
-2001-02-06 Kazu Hirata <kazu@hxi.com>\r
-\r
- * elf-m10200.c: Fix formatting.\r
-\r
-2001-02-04 Nick Clifton <nickc@redhat.com>\r
-\r
- * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC\r
- rel, it will be handled later on.\r
-\r
-2001-02-02 Fred Fish <fnf@ninemoons.com>\r
-\r
- * Makefile.in: Fix typo.\r
-\r
-2001-02-01 Kazu Hirata <kazu@hxi.com>\r
-\r
- * elf-m10300.c: Fix formatting.\r
-\r
-2001-01-30 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function.\r
- (elf_backend_get_symbol_type): Define.\r
- (elf64_hppa_object_p): Set architecture and machine from elf\r
- header flags.\r
-\r
-2001-01-30 Curtis L. Janssen <cljanss@ca.sandia.gov>\r
-\r
- * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2\r
- before mdebug.\r
-\r
-2001-01-26 Richard Henderson <rth@redhat.com>\r
-\r
- * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false\r
- for non-default visibility.\r
- * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but\r
- delete ugly macro and replace with pretty function.\r
-\r
-2001-01-25 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * coff-go32.c: Update copyright.\r
- * coff-stgo32.c: Likewise.\r
- * coff-go32.c (COFF_LONG_FILENAMES): Define.\r
- * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise.\r
- * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry.\r
- * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.\r
-\r
-2001-01-25 Kazu Hirata <kazu@hxi.com>\r
-\r
- * bfd-in2.h: Rebuild.\r
- * libbfd.h: Likewise.\r
-\r
-2001-01-23 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd-in2.h: Rebuild.\r
-\r
-2001-01-23 H.J. Lu <hjl@gnu.org>\r
-\r
- * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf)\r
- is NULL or PRIV(vms_rec) is outside of the buffer.\r
-\r
-2001-01-23 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff64-rs6000.c: Fix formatting.\r
- * coff-arm.c: Likewise.\r
- * coffgen.c: Likewise.\r
- * cofflink.c: Likewise.\r
- * coff-mcore.c: Likewise.\r
- * coff-mips.c: Likewise.\r
- * coff-pmac.c: Likewise.\r
- * coff-ppc.c: Likewise.\r
- * coff-rs6000.c: Likewise.\r
- * elf32.c: Likewise.\r
- * elf32-fr30.c: Likewise.\r
- * elf32-i370.c: Likewise.\r
- * elf32-i860.c: Likewise.\r
- * elf32-m32r.c: Likewise.\r
- * elf32-m68k.c: Likewise.\r
- * elf32-mcore.c: Likewise.\r
- * elf32-ppc.c: Likewise.\r
- * elf32-sh.c: Likewise.\r
- * elf32-v850.c: Likewise.\r
- * elf64-alpha.c: Likewise.\r
- * elf64-sparc.c: Likewise.\r
- * elflink.c: Likewise.\r
- * elflink.h: Likewise.\r
- * elf-m10200.c: Likewise.\r
- * elf-m10300.c: Likewise.\r
- * elfxx-ia64.c: Likewise.\r
-\r
- * aoutx.h: Fix formatting.\r
- * bfd.c: Likewise.\r
- * bfd-in2.h: Likewise.\r
- * bfd-in.h: Likewise.\r
- * cpu-i386.c: Likewise.\r
- * cpu-m68hc11.c: Likewise.\r
- * dwarf2.c: Likewise.\r
- * elf64-x86-64.c: Likewise.\r
- * format.c: Likewise.\r
- * freebsd.h: Likewise.\r
- * hash.c: Likewise.\r
- * hp300hpux.c: Likewise.\r
- * hppabsd-core.c: Likewise.\r
- * hpux-core.c: Likewise.\r
-\r
-2001-01-22 Bo Thorsen <bo@suse.de>\r
-\r
- * elf64-x86-64.c: Added PIC support for X86-64.\r
- (elf64_x86_64_link_hash_newfunc): Function added.\r
- (elf64_x86_64_link_hash_table_create): Likewise.\r
- (elf64_x86_64_check_relocs): Likewise.\r
- (elf64_x86_64_gc_mark_hook): Likewise.\r
- (elf64_x86_64_gc_sweep_hook): Likewise.\r
- (elf64_x86_64_adjust_dynamic_symbol): Likewise.\r
- (elf64_x86_64_size_dynamic_sections): Likewise.\r
- (elf64_x86_64_discard_copies): Likewise.\r
- (elf64_x86_64_finish_dynamic_symbol): Likewise.\r
- (elf64_x86_64_finish_dynamic_sections): Likewise.\r
- (elf64_x86_64_relocate_section): Add relocation of PIC sections.\r
-\r
-2001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl>\r
-\r
- * Makefile.am (install-data-local): Make use of $(DESTDIR).\r
- * Makefile.in: Regenerate.\r
-\r
-2001-01-21 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-a29k.c: Fix formatting.\r
-\r
-2001-01-19 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-i386.c (elf_i386_check_relocs): Report files with bad\r
- relocation section names.\r
- (elf_i386_relocate_section): Report files with bad relocation\r
- section names and return false.\r
-\r
-2001-01-17 Bo Thorsen <bo@suse.de>\r
-\r
- * targets.c: Alphabetize list of xvecs.\r
-\r
-2001-01-14 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * config.bfd: Add linux target variant for elfxx-hppa.\r
- * configure.in: Recognize bfd_elf32_hppa_linux_vec and\r
- bfd_elf64_hppa_linux_vec.\r
- * configure: Regenerate.\r
- * elf64-hppa.c: Include elf64-target.h again to support linux\r
- target variant.\r
- (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux.\r
- * elf32-hppa.c: Include elf32-target.h again to support linux\r
- target variant.\r
- (elf32_hppa_post_process_headers): New function.\r
- (elf_backend_post_process_headers): Define.\r
- * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and\r
- bfd_elf32_hppa_linux_vec.\r
-\r
- * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base,\r
- and data_segment_base fields.\r
- (elf32_hppa_link_hash_table_create ): Init them.\r
- (elf32_hppa_check_relocs): Update comments.\r
- (hppa_record_segment_addr): New function.\r
- (elf32_hppa_relocate_section): Call it.\r
- (final_link_relocate): Handle R_PARISC_SEGREL32.\r
- (elf32_hppa_final_link): New function.\r
- (bfd_elf32_bfd_final_link): Define to call it.\r
- (hppa_unwind_entry_compare): New function.\r
- * cache.c (bfd_open_file): Create files in write+read mode.\r
-\r
- * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for\r
- SEGREL32 and numerous other relocs. Change duplicate\r
- R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED.\r
-\r
- * opncls.c (bfd_fdopenr): Add parens like the comment says around\r
- O_ACCMODE.\r
-\r
- * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create\r
- .plt entries for DT_INIT and DT_FINI.\r
- (elf32_hppa_finish_dynamic_sections): Remove special handling of\r
- DT_INIT and DT_FINI.\r
-\r
- * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit\r
- offsets for stub .plt access if wide mode. Check offset in range.\r
-\r
-2001-01-13 Nick Clifton <nickc@redhat.com>\r
-\r
- * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank\r
- line.\r
-\r
- * coffcode.h (coff_canonicalize_reloc): Remove spurious blank\r
- line.\r
-\r
-2001-01-12 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * configure.in ([bfd_elf64_x86_64_vec]): Set target64.\r
- * configure: Regenerate.\r
-\r
-2001-01-11 Peter Targett <peter.targett@arccores.com>\r
-\r
- * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5,\r
- bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants.\r
- * cpu-arc.c (arch_info_struct): Add entries for variants.\r
- (bfd_arc_arch) Set default to bfd_mach_arc_5.\r
- (arc_get_mach) Don't assume machine names prefixed arc- before\r
- testing.\r
- * elf32-arc.c (arc_elf_object_p): Set machine number based on new\r
- selections.\r
- (arc_elf_final_write_processing) Likewise.\r
- (ELF_MACHINE_CODE) Use EM_ARC.\r
-\r
-2001-01-10 Nick Clifton <nickc@redhat.com>\r
-\r
- * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "".\r
-\r
-2001-01-07 Philip Blundell <philb@gnu.org>\r
-\r
- * README: Replace `bug-gnu-utils@gnu.org' with\r
- `bug-binutils@gnu.org'.\r
-\r
-2001-01-04 Kazu Hirata <kazu@hxi.com>\r
-\r
- * som.c: Fix formatting.\r
-\r
-2001-01-03 Kazu Hirata <kazu@hxi.com>\r
-\r
- * ecoffswap.h: Fix formatting.\r
- * elf-bfd.h: Likewise.\r
- * elfarm-nabi.c: Likewise.\r
- * elfarm-oabi.c: Likewise.\r
- * elfcode.h: Likewise.\r
- * elfcore.h: Likewise.\r
- * elflink.c: Likewise.\r
- * elflink.h: Likewise.\r
- * elfxx-ia64.c: Likewise.\r
- * elfxx-target.h: Likewise.\r
- * libbfd.c: Likewise\r
- * linker.c: Likewise.\r
- * lynx-core.c: Likewise.\r
-\r
-2001-01-02 Kazu Hirata <kazu@hxi.com>\r
-\r
- * pc532-mach.c: Fix formatting.\r
- * pe-arm.c: Likewise.\r
- * pe-i386.c: Likewise.\r
- * pe-mips.c: Likewise.\r
- * pe-ppc.c: Likewise.\r
- * pe-sh.c: Likewise.\r
- * pei-mips.c: Likewise.\r
- * pei-sh.c: Likewise.\r
- * peicode.h: Likewise.\r
- * ppcboot.c: Likewise.\r
- * ptrace-core.c: Likewise.\r
-\r
-2001-01-01 Kazu Hirata <kazu@hxi.com>\r
-\r
- * reloc.c: Fix formatting.\r
- * riscix.c: Likewise.\r
- * rs6000-core.c: Likewise.\r
- * xcoff-target.h: Likewise.\r
-\r
-2000-12-29 Hans-Peter Nilsson <hp@bitrange.com>\r
-\r
- * elfcode.h (elf_object_p): Also restore the bfd mach field on\r
- error, by calling bfd_default_set_arch_mach with incoming\r
- values.\r
-\r
-2000-12-26 Kazu Hirata <kazu@hxi.com>\r
-\r
- * vaxnetbsd.c: Fix formatting.\r
- * versados.c: Likewise.\r
- * vms-gsd.c: Likewise.\r
- * vms-hdr.c: Likewise.\r
- * vms-misc.c: Likewise.\r
-\r
-2000-12-25 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * archive.c (coff_write_armap): Don't write more than symbol_count\r
- `archive_member_file_ptr's.\r
-\r
-2000-12-25 Kazu Hirata <kazu@hxi.com>\r
-\r
- * vms-tir.c: Fix formatting.\r
-\r
-2000-12-23 Kazu Hirata <kazu@hxi.com>\r
-\r
- * vms.c: Fix formatting.\r
- * vms.h: Likewise.\r
-\r
-2000-12-21 Santeri Paavolainen <santtu@ssh.com>\r
-\r
- * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined.\r
-\r
- * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM.\r
-\r
- * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *)\r
- arithmetic.\r
-\r
- * elf32-fr30.c: Add casts to avoid (void *) arithmetic.\r
-\r
- * coffcode.h (styp_to_sec_flags): Add empty statement after label.\r
-\r
-2000-12-21 Richard Sandiford <rsandifo@redhat.com>\r
-\r
- * libbfd.c (bfd_get_bits): Added\r
- (bfd_put_bits): Likewise\r
- * bfd-in.h: Declared the above.\r
- * bfd-in2.h: Regenerated.\r
-\r
-2000-12-20 Kazu Hirata <kazu@hxi.com>\r
-\r
- * targets.c: Fix formatting.\r
- * tekhex.c: Likewise.\r
- * trad-core.c: Likewise.\r
-\r
-2000-12-19 Kazu Hirata <kazu@hxi.com>\r
-\r
- * sco5-core.c: Fix formatting.\r
- * section.c: Likewise.\r
- * sparclinux.c: Likewise.\r
- * sparclynx.c: Likewise.\r
- * sparcnetbsd.c: Likewise.\r
- * srec.c: Likewise.\r
- * stabs.c: Likewise.\r
- * stab-syms.c: Likewise.\r
- * sunos.c: Likewise.\r
- * syms.c: Likewise.\r
- * sysdep.h: Likewise.\r
-\r
-2000-12-18 Nick Clifton <nickc@redhat.com>\r
-\r
- * coff-arm.c (EXTRA_S_FLAGS): Only define if not already\r
- defined.\r
- * epoc-pe-arm.c (EXTRA_S_FLAGS): Define.\r
- * epoc-pei-arm.c (EXTRA_S_FLAGS): Define.\r
-\r
-2000-12-18 Nick Clifton <nickc@redhat.com>\r
-\r
- * vms-misc.c (_bfd_vms_get_record): Add default case to\r
- file_format switch.\r
-\r
-2000-12-15 Miloslav Trmac <mitr@volny.cz>\r
-\r
- * elfcore.h (elf_core_file_p): Move to the start of the program\r
- headers before attempting to read them.\r
-\r
-2000-12-14 Kazu Hirata <kazu@hxi.com>\r
-\r
- * peigen.c: Fix formatting.\r
- * som.c: Likewise.\r
- * som.h: Likewise.\r
-\r
-2000-12-13 Kazu Hirata <kazu@hxi.com>\r
-\r
- * peigen.c: Fix formatting.\r
-\r
-2000-12-12 Jim Wilson <wilson@redhat.com>\r
-\r
- * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.\r
-\r
-2000-12-08 Mark Salter <msalter@redhat.com>\r
-\r
- * binary.c (binary_set_section_contents): Ignore sections\r
- with zero size.\r
-\r
-2000-12-12 Kazu Hirata <kazu@hxi.com>\r
-\r
- * m68klinux.c: Fix formatting.\r
- * m68knetbsd.c: Likewise.\r
- * mipsbsd.c: Likewise.\r
- * netbsd-core.c: Likewise.\r
- * netbsd.h: Likewise.\r
- * newsos3.c: Likewise.\r
- * nlm32-alpha.c: Likewise.\r
- * nlm32-i386.c: Likewise.\r
- * nlm32-ppc.c: Likewise.\r
- * nlm32-sparc.c: Likewise.\r
- * nlmcode.h: Likewise.\r
- * nlmswap.h: Likewise.\r
- * nlm-target.h: Likewise.\r
- * ns32knetbsd.c: Likewise.\r
-\r
-2000-12-10 Fred Fish <fnf@be.com>\r
-\r
- * elflink.h (elf_link_output_extsym): Don't complain about undefined\r
- symbols in shared objects if allow_shlib_undefined is true.\r
-\r
-2000-12-12 Nick Clifton <nickc@redhat.com>\r
-\r
- * cpu-sh.c: Fix formattng.\r
- * elf.c: Fix formattng.\r
- * elf32-mips.c: Fix formattng.\r
- * elf32-sh.c: Fix formattng.\r
- * elf64-alpha.c: Fix formattng.\r
-\r
-2000-12-09 Nick Clifton <nickc@redhat.com>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass\r
- dwarf2_find_line_info as last parameter to invocation of\r
- _bfd_dwarf2_find_nearest_line.\r
- * elf32-arm.h (elf32_arm_find_nearest_line): Pass\r
- dwarf2_find_line_info as last parameter to invocation of\r
- _bfd_dwarf2_find_nearest_line.\r
-\r
-2000-12-08 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here...\r
- (BFD_LIBS): ...to here.\r
- (BFD32_BACKENDS_CFILES): Move dwarf2.c from here...\r
- (BFD_LIBS_CFILES): ...to here.\r
- * Makefile.in: Regenerate.\r
- * configure.in: Remove dwarf.lo from the elf shell variable.\r
- * configure: Regenerate.\r
- * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.\r
- * libcoff.h: Regenerate.\r
- * coffgen.c (coff_find_nearest_line): Call\r
- _bfd_dwarf2_find_nearest_line.\r
- * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update\r
- accordingly.\r
- (read_abbrevs): Likewise\r
- (decode_line_info): Likewise.\r
- (parse_comp_unit): Likewise.\r
- (comp_unit_find_nearest_line): Likewise.\r
- * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.\r
- * libbfd.h: Regenerate.\r
- * elf.c (_bfd_elf_find_nearest_line): Update call.\r
- * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR.\r
- * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH.\r
- * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros.\r
- (sec_to_styp_flags): Use them. Handle DWARF2 sections.\r
- (styp_to_sec_flags): Handle DWARF2 sections.\r
- * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call\r
- to _bfd_find_nearest_line.\r
- * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to\r
- call to _bfd_find_nearest_line.\r
-\r
-2000-12-08 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coffgen.c: Fix formatting.\r
- * elf-m10300.c: Likewise.\r
- * elf32-i386.c: Likewise.\r
- * elf32-i960.c: Likewise.\r
- * elf32-m68k.c: Likewise.\r
- * elf32-mcore.c: Likewise.\r
- * elf32-ppc.c: Likewise.\r
- * elf32-sh.c: Likewise.\r
- * elf32-sparc.c: Likewise.\r
- * elf32-v850.c: Likewise.\r
- * elf64-alpha.c: Likewise.\r
- * elf64-hppa.c: Likewise.\r
- * elf64-mips.c: Likewise.\r
- * elf64-sparc.c: Likewise.\r
-\r
-2000-12-07 Kazu Hirata <kazu@hxi.com>\r
-\r
- * elf32-ppc.c: Fix formatting.\r
- * elf64-x86-64.c: Likewise.\r
-\r
-2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- From Ralf Baechle <ralf@gnu.org>\r
-\r
- * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit\r
- BFDs containing no sections or empty .text, .data or .bss sections\r
- to be merged, regardless of their flags.\r
-\r
-2000-12-06 Kazu Hirata <kazu@hxi.com>\r
-\r
- * elf32-m32r.c: Fix formatting.\r
- * elf32-m68hc11.c: Likewise.\r
- * elf32-m68hc12.c: Likewise.\r
- * elf32-m68k.c: Likewise.\r
- * elf32-mcore.c: Likewise.\r
- * elf32-pj.c: Likewise.\r
- * elf32-ppc.c: Likewise.\r
-\r
-2000-12-05 Kazu Hirata <kazu@hxi.com>\r
-\r
- * elf32-fr30.c: Fix formatting.\r
- * elf32-hppa.c: Likewise.\r
- * elf32-i370.c: Likewise.\r
- * elf32-i386.c: Likewise.\r
- * elf32-i860.c: Likewise.\r
- * elf32-i960.c: Likewise.\r
-\r
-2000-12-03 Kazu Hirata <kazu@hxi.com>\r
-\r
- * elf32-arm.h: Fix formatting.\r
- * elf32-avr.c: Likewise.\r
- * elf32-cris.c: Likewise.\r
- * elf32-d10v.c: Likewise.\r
- * elf32-d30v.c: Likewise.\r
- * elf-hppa.h: Likewise.\r
- * elf-m10200.c: Likewise.\r
- * elf-m10300.c: Likewise.\r
-\r
-2000-12-01 Chris Demetriou <cgd@sibyte.com>\r
-\r
- * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and\r
- bfd_mach_mips32_4k. Update FIXME comment.\r
- * archures.c (bfd_mach_mips32): New constant.\r
- (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to\r
- the latter, renumber it.\r
- * bfd-in2.h (bfd_mach_mips32): New constant.\r
- (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to\r
- the latter, renumber it.\r
- * cpu-mips.c (I_mips32): New constant.\r
- (I_mips4K, I_mips32_4k): Rename the former to the latter.\r
- (arch_info_struct): Add bfd_mach_mips32 entry, replace\r
- bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.\r
- * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.\r
- (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32\r
- with E_MIPS_MACH_MIPS32_4K.\r
- (_bfd_mips_elf_final_write_processing): Replace\r
- bfd_mach_mips4K with bfd_mach_mips32_4k case, add\r
- bfd_mach_mips32 case.\r
- (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing\r
- comparison with support for MIPS32.\r
- (_bfd_mips_elf_print_private_bfd_data): Print ISA name for\r
- MIPS32.\r
-\r
- * aoutx.h (NAME(aout,machine_type)): Add cases for\r
- bfd_mach_mips5 and bfd_mach_mips64.\r
- * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.\r
- * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.\r
- * cpu_mips.c (I_mips5, I_mips64): New definitions.\r
- (arch_info_struct): Add entries for bfd_mach_mips5 and\r
- bfd_mach_mips64.\r
- * elf32-mips.c (elf_mips_isa, elf_mips_mach,\r
- _bfd_mips_elf_print_private_bfd_data): Add cases for\r
- E_MIPS_ARCH_5 and E_MIPS_ARCH_64.\r
- (_bfd_mips_elf_final_write_processing): Add cases for\r
- bfd_mach_mips5 and bfd_mach_mips64.\r
-\r
- * aoutx.h (NAME(aout,machine_type)): Add a\r
- bfd_mach_mips_sb1 case.\r
- * archures.c (bfd_mach_mips_sb1): New constant.\r
- * bfd-in2.h (bfd_mach_mips_sb1): New constant.\r
- * cpu-mips.c (I_sb1): New constant.\r
- (arch_info_struct): Add entry for bfd_mach_mips_sb1.\r
- * elf32-mips.c (elf_mips_mach): Add case for\r
- E_MIPS_MACH_SB1.\r
- (_bfd_mips_elf_final_write_processing): Add case for\r
- bfd_mach_mips_sb1.\r
-\r
-2000-12-01 Joel Sherrill <joel@OARcorp.com>\r
-\r
- * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.\r
- (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.\r
- (sparc*-*-rtems*): Switched from a.out to ELF.\r
-\r
-2000-11-30 Jan Hubicka <jh@suse.cz>\r
-\r
- * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo\r
- BFD64_BACKENDS_CFILES): Add elf64-x86-64.c\r
- (elf64-x86-64.lo): Add dependencies.\r
- * archures.c (DESCRIPTION): Add bfd_mach_x86_64,\r
- bfd_mach_x86_64_intel_syntax.\r
- * elf.c (prep_headers): Use EM_x86_64 for 64bit output.\r
- * config.bfd (x86_64): Add.\r
- * configure.in: Add support for bfd_elf64_x86_64_vec.\r
- * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.\r
- (bfd_i386_arch, i8086_ar): Link in.\r
- * elf64-x86-64.c: New file.\r
- * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.\r
- * targets.c (bfd_elf64_x86_64_vec): Add.\r
- (bfd_target_vect): Add bfd_elf64_x86_64_vec.\r
-\r
-2000-11-30 Kazu Hirata <kazu@hxi.com>\r
-\r
- * xcofflink.c: Fix formatting.\r
-\r
-2000-11-28 Kazu Hirata <kazu@hxi.com>\r
-\r
- * aoutx.h: Fix formatting.\r
- * bfd-in.h: Likewise.\r
- * bfd-in2.h: Likewise.\r
- * cache.c: Likewise.\r
- * cisco-core.c: Likewise.\r
- * coff64-rs6000.c: Likewise.\r
- * coffcode.h: Likewise.\r
- * coffswap.h: Likewise.\r
- * corefile.c: Likewise.\r
- * elf32-mips.c: Likewise.\r
-\r
-2000-11-27 Kazu Hirata <kazu@hxi.com>\r
-\r
- * aout-adobe.c: Fix formatting.\r
- * coff64-rs6000.c: Likewise.\r
- * coffgen.c: Likewise.\r
- * cofflink.c: Likewise.\r
-\r
-2000-11-27 Philip Blundell <pb@futuretv.com>\r
-\r
- * libcoff-in.h (coff_tdata): Add `strings_written' flag.\r
- (obj_coff_strings_written): New accessor macro for above.\r
- * libcoff.h: Regenerate.\r
- * cofflink.c (_bfd_coff_final_link): Say that we wrote the\r
- strings.\r
- * coffcode.h (coff_write_object_contents): No need to write out\r
- the string table if it's already been done.\r
-\r
-2000-11-22 Philip Blundell <pb@futuretv.com>\r
-\r
- * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to\r
- weak undefined symbols.\r
-\r
-2000-11-24 Nick Clifton <nickc@redhat.com>\r
-\r
- * archures.c (bfd_mach_arm_5TE): Define.\r
- (bfd_mach_arm+XScale): Define.\r
- * bfd-in2.h: Regenerate.\r
-\r
- * coff-arm.c (coff_arm_reloc_type_lookup): Accept\r
- BFD_RELOC_ARM_PCREL_BLX.\r
-\r
- * coffcode.h (coff_set_flags): Set flags for 5t, 5te and\r
- XScale machine numbers.\r
-\r
- * config.bfd (xscale-elf): Add target.\r
- (xscale-coff): Add target.\r
-\r
- * cpu-arm.c: Add xscale machine name.\r
- Add v5t, v5te and XScale machine numbers.\r
-\r
-2000-11-23 Kazu Hirata <kazu@hxi.com>\r
-\r
- * aix386-core.c: Fix formatting.\r
-\r
-2000-11-22 Jim Wilson <wilson@redhat.com>\r
-\r
- * coff-ia64.c (howto_table): Use EMPTY_HOWTO.\r
- (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.\r
- * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.\r
- (ins_imms_scaled): Initialize sign_bit at function entry.\r
- (elf64_ia64_operands): Add missing initializers.\r
- * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,\r
- elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,\r
- elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,\r
- elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,\r
- elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused\r
- parameters.\r
- (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,\r
- and free_extsyms at function entry.\r
- (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.\r
- (elfNN_ia64_create_dynamic_sections): Delete unused local h.\r
- (get_got): Delete unused local srel.\r
- (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.\r
- (elfNN_ia64_relocate_section): Delete unused local dynindx.\r
-\r
-2000-11-21 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-a29k.c: Fix formatting.\r
- * coff-h8500.c: Likewise.\r
- * coff-i960.c: Likewise.\r
- * coff-ppc.c: Likewise.\r
- * coff-rs6000.c: Likewise.\r
- * coff-stgo32.c: Likewise.\r
- * coff-tic54x.c: Likewise.\r
- * coff-w65.c: Likewise.\r
- * cpu-h8500.c: Likewise.\r
- * cpu-hppa.c: Likewise.\r
- * cpu-ns32k.c: Likewise.\r
- * ecoff.c: Likewise.\r
- * ecofflink.c: Likewise.\r
-\r
-2000-11-21 Nick Clifton <nickc@redhat.com>\r
-\r
- * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and\r
- remove possibility of infinite loop.\r
-\r
-2000-11-20 Kazu Hirata <kazu@hxi.com>\r
-\r
- * aix386-core.c: Fix formatting.\r
- * aout-adobe.c: Likewise.\r
- * aout-arm.c: Likewise.\r
- * aout-encap.c: Likewise.\r
- * aout-ns32k.c: Likewise.\r
- * aout-target.h: Likewise.\r
- * aout-tic30.c: Likewise.\r
- * aoutf1.h: Likewise.\r
- * aoutx.h: Likewise.\r
- * archive.c: Likewise.\r
- * bfd-in.h: Likewise.\r
- * bfd-in2.h: Likewise.\r
- * bfd.c: Likewise.\r
- * bout.c: Likewise.\r
-\r
-2000-11-17 H.J. Lu <hjl@gnu.org>\r
-\r
- * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create\r
- pltoff entries for DT_INIT and DT_FINI.\r
- (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.\r
- (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI\r
- entries.\r
-\r
-2000-11-16 Richard Henderson <rth@redhat.com>\r
-\r
- * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.\r
- (allocate_dynrel_entries): Likewise.\r
- (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.\r
- (set_pltoff_entry): Likewise.\r
- (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB\r
- (elfNN_ia64_reloc_type_lookup): Likewise.\r
- (elfNN_ia64_install_value): Likewise.\r
- (elfNN_ia64_relocate_section): Likewise.\r
- * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.\r
- (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.\r
-\r
-2000-11-16 Kazu Hirata <kazu@hxi.com>\r
-\r
- * cpu-a29k.c: Fix formatting.\r
- * cpu-alpha.c: Likewise.\r
- * cpu-arm.c: Likewise.\r
- * cpu-avr.c: Likewise.\r
- * cpu-d10v.c: Likewise.\r
- * cpu-h8500.c: Likewise.\r
- * cpu-hppa.c: Likewise.\r
- * cpu-i370.c: Likewise.\r
- * cpu-i386.c: Likewise.\r
- * cpu-i960.c: Likewise.\r
- * cpu-ia64-opc.c: Likewise.\r
- * cpu-ia64.c: Likewise.\r
- * cpu-m32r.c: Likewise.\r
- * cpu-m68hc11.c: Likewise.\r
- * cpu-m68hc12.c: Likewise.\r
- * cpu-m68k.c: Likewise.\r
- * cpu-m88k.c: Likewise.\r
- * cpu-mips.c: Likewise.\r
- * cpu-ns32k.c: Likewise.\r
- * cpu-pj.c: Likewise.\r
- * cpu-powerpc.c: Likewise.\r
- * cpu-sh.c: Likewise.\r
- * cpu-sparc.c: Likewise.\r
- * cpu-tic54x.c: Likewise.\r
- * cpu-v850.c: Likewise.\r
- * cpu-vax.c: Likewise.\r
- * cpu-w65.c: Likewise.\r
- * cpu-we32k.c: Likewise.\r
- * cpu-z8k.c: Likewise.\r
- * dwarf1.c: Likewise.\r
- * dwarf2.c: Likewise.\r
-\r
-2000-11-15 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-arm.c: Fix formatting.\r
- * coff-ppc.c: Likewise.\r
- * coff-rs6000.c: Likewise.\r
- * coff-sh.c: Likewise.\r
- * coff-sparc.c: Likewise.\r
- * coff-tic30.c: Likewise.\r
- * coff-tic54x.c: Likewise.\r
- * coff-tic80.c: Likewise.\r
- * coff-w65.c: Likewise.\r
- * coff-we32k.c: Likewise.\r
- * coff-z8k.c: Likewise.\r
-\r
-2000-11-15 Richard Henderson <rth@redhat.com>\r
-\r
- * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc\r
- section with the same ALLOC|LOAD flags as the source section.\r
-\r
-2000-11-14 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used\r
- by STO_ALPHA constants.\r
-\r
-2000-11-14 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-pmac.c: Fix formatting.\r
- * coff-ppc.c: Likewise.\r
-\r
-2000-11-13 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_link_add_object_symbols): Also add indirect\r
- symbols for common symbols with the default version.\r
-\r
-2000-11-09 Philip Blundell <pb@futuretv.com>\r
-\r
- * section.c (STD_SECTION): Set gc_mark flag.\r
-\r
-2000-11-11 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-i960.c: Likewise.\r
- * coff-m68k.c: Likewise.\r
- * coff-m88k.c: Likewise.\r
- * coff-mcore.c: Likewise.\r
- * coff-mips.c: Likewise.\r
-\r
-2000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>\r
-\r
- * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.\r
-\r
-2000-11-10 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-h8300.c: Fix formatting.\r
- * coff-h8500.c: Likewise.\r
- * coff-i386.c: Likewise.\r
- * coff-i860.c: Likewise.\r
- * coff-i960.c: Likewise.\r
- * coff-ia64.c: Likewise.\r
-\r
-2000-11-09 Kazu Hirata <kazu@hxi.com>\r
-\r
- * archive.c: Fix formatting.\r
- * archures.c: Likewise.\r
-\r
-2000-11-07 Richard Henderson <rth@redhat.com>\r
-\r
- * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.\r
- Set it before bfd_elf64_bfd_final_link call. Use it after the call.\r
- * section.c (bfd_set_section_contents): Call memcpy if\r
- section->contents set and location not equal to contents plus offset.\r
-\r
-2000-11-08 Kazu Hirata <kazu@hxi.com>\r
-\r
- * bfd-in.h: Fix formatting.\r
- * bfd-in2.h: Likewise.\r
- * bfd.c: Likewise.\r
- * binary.c: Likewise.\r
- * bout.c: Likewise.\r
- * coff-a29k.c: Likewise.\r
- * coff-alpha.c: Likewise.\r
- * coff-apollo.c: Likewise.\r
- * coff-aux.c: Likewise.\r
-\r
-2000-11-07 Kazu Hirata <kazu@hxi.com>\r
-\r
- * aix386-core.c: Fix formatting.\r
- * aoutf1.h: Likewise.\r
- * aoutx.h: Likewise.\r
- * archures.c: Likewise.\r
- * armnetbsd.c: Likewise.\r
-\r
-2000-11-07 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * coff-h8300.c (special): Adjust reloc address.\r
-\r
-2000-11-06 Steve Ellcey <sje@cup.hp.com>\r
-\r
- * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines\r
- to differentiate elf32 and elf64 on ia64.\r
- * bfd-in2.h: Regenerate.\r
- * config.bfd: Add target for "ia64*-*-hpux*".\r
- * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.\r
- * configure: Regenerate.\r
- * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.\r
- * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.\r
-\r
- * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects\r
- from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.\r
- * Makefile.in: Regnerate.\r
- * elf64-ia64.c: Deleted.\r
- * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.\r
-\r
-2000-11-06 Kazu Hirata <kazu@hxi.com>\r
-\r
- * aout-adobe.c: Fix formatting.\r
- * aout-arm.c: Likewise.\r
- * aout-cris.c: Likewise.\r
- * aout-encap.c: Likewise.\r
- * aout-ns32k.c: Likewise.\r
- * aout-target.h: Likewise.\r
- * aout-tic30.c: Likewise.\r
-\r
-2000-11-05 Philip Blundell <philb@gnu.org>\r
-\r
- * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit\r
- BFDs containing no sections to be merged, regardless of their flags.\r
-\r
-2000-11-04 Philip Blundell <philb@gnu.org>\r
-\r
- * elf32-arm.h (elf32_arm_relocate_section): Suppress error message\r
- if a relocation for an undefined symbol also results in an\r
- overflow.\r
-\r
-2000-11-06 Christopher Faylor <cgf@cygnus.com>\r
-\r
- * config.bfd: Add support for Sun Chorus.\r
-\r
-2000-11-05 David O'Brien <obrien@FreeBSD.org>\r
-\r
- * configure.in: Recognize alpha-*-freebsd*.\r
- * configure: Regenerate.\r
-\r
-2000-11-02 Luciano Gemme <ishitawa@yahoo.com>\r
-\r
- * srec.c (CHUNK): Rename to DEFAULT_CHUNK.\r
- (Chunk): New global variable set by a parameter in objcopy.c.\r
- (S3Forced): New global variable set by a parameter in\r
- objcopy.c.\r
- (srec_set_section_contents): If S3Forced is true, always generate\r
- S3 records.\r
- (srec_write_section): Use 'Chunk' to limit maximum length of S\r
- records.\r
-\r
-2000-11-02 Per Lundberg <plundis@chaosdev.org>\r
-\r
- * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.\r
- * Makefile.in: Regenerate.\r
- * bfd-in2.h: Regenerate.\r
- * po/bfd.pot: Regenerate.\r
-\r
-2000-10-31 Philip Blundell <philb@gnu.org>\r
-\r
- * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle\r
- EF_SOFT_FLOAT if it is defined.\r
-\r
-2000-10-27 Philip Blundell <philb@gnu.org>\r
-\r
- * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse\r
- attempts to mix PIC code with non-PIC, just mark the output as\r
- being position dependent.\r
- (elf32_arm_merge_private_bfd_data): Likewise. Print an error\r
- message for EF_SOFT_FLOAT mismatches. Display diagnostics for\r
- all mismatches, not just the first one.\r
-\r
-2000-10-25 Chris Demetriou <cgd@sibyte.com>\r
-\r
- * ieee.c (ieee_archive_p): Plug one of many possible\r
- memory leaks in error handling.\r
-\r
-2000-10-20 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,\r
- elf32_sparc_object_p, elf32_sparc_final_write_processing):\r
- Support v8plusb.\r
- * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,\r
- sparc64_elf_object_p): Support v9b.\r
- * archures.c: Declare v8plusb and v9b machines.\r
- * bfd-in2.h: Ditto.\r
- * cpu-sparc.c: Ditto.\r
-\r
-2000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>\r
-\r
- * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location\r
- of a GOT reloc.\r
-\r
- * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.\r
- (SYMBOL_CALLS_LOCAL): New macro.\r
- (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.\r
- (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.\r
- (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.\r
- (ppc_elf_relocate_section): Use flag variable to determine\r
- whether the relocation refers to a local symbol.\r
- Test whether a PLTREL24 reloc will produce a reloc by looking\r
- to see whether a PLT entry was made.\r
-\r
-2000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>\r
-\r
- * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT\r
- entries that could serve as a definition for a weak symbol.\r
-\r
-2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- From Ralf Baechle <ralf@gnu.org>\r
-\r
- * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument\r
- local_p. Add symbol value only for non-R_MIPS_REL32 relocations\r
- against local symbols.\r
- (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.\r
-\r
-2000-10-12 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * section.c (struct sec): Add kept_section.\r
- (struct bfd_comdat_info): Remove sec, we can use above.\r
- (STD_SECTION): Add initializer.\r
- (bfd_make_section_anyway): Init here too.\r
-\r
- * bfd-in2.h: Regenerate.\r
-\r
- * elflink.h (elf_link_add_object_symbols): Remove unnecessary\r
- zeroing of `flags'.\r
- (elf_link_input_bfd): Set all asection->symbol->value's here, and\r
- fudge values for discarded link-once section symbols.\r
-\r
- * elf64-hppa.c: Include alloca-conf.h\r
-\r
-2000-10-11 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf.c (swap_out_syms): Revert 2000-10-07 changes.\r
-\r
- * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.\r
-\r
-2000-10-10 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.\r
-\r
-2000-10-10 Tom Rix <trix@redhat.com>\r
-\r
- * section.c (bfd_make_section_anyway): Release newsect ptr when\r
- newsect->symbol fails to alloc. Use bfd_release instead of free.\r
-\r
-2000-10-09 Richard Henderson <rth@cygnus.com\r
-\r
- * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.\r
- (elf64_ia64_unwind_entry_compare): New.\r
- (elf64_ia64_final_link): Sort the .IA_64.unwind section.\r
-\r
-2000-10-07 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elflink.h (size_dynamic_sections): Don't create various tags if\r
- .dynstr is excluded from the link. Don't set first dynsym entry\r
- if dynsymcount is zero.\r
- (elf_bfd_final_link): Don't try to swap out dynamic syms if\r
- .dynsym excluded from the link. Don't try to write any dynamic\r
- sections excluded from the link.\r
-\r
- * elf.c (swap_out_syms): Handle global section symbols.\r
-\r
-2000-10-05 DJ Delorie <dj@redhat.com>\r
-\r
- * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs\r
- * coffcode.h (coff_set_alignment_hook): read extended reloc count\r
- (coff_write_relocs): write extended reloc count\r
- (coff_write_object_contents): account for extended relocs\r
-\r
-2000-10-05 Jim Wilson <wilson@cygnus.com>\r
-\r
- * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags\r
- field.\r
- * elf.c (_bfd_elf_make_section_from_shdr): Call the\r
- elf_backend_section_flags function.\r
- * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion\r
- code.\r
- (elf64_ia64_section_flags): New function containing flag conversion\r
- code.\r
- (elf_backend_section_flags): Define to elf64_ia64_section_flags.\r
- * elfxx-target.h (elf_backend_section_flags): Define.\r
- (elfNN_bed): Initialize elf_backend_section_flags field.\r
-\r
-2000-10-02 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to\r
- _bfd_elf32_gc_record_vtable. Correct a comment.\r
-\r
-2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- From Ralf Baechle <ralf@gnu.org>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld\r
- produces binaries with got[1] = 0x80000001 to differenciate them\r
- for the dynamic linker from the broken binaries produced by old\r
- versions.\r
-\r
-2000-09-30 Petr Sorfa <petrs@sco.com>\r
-\r
- * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.\r
- (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.\r
- * configure.in: Add check for pxstatus_t and lwpxstatus_t.\r
- * configure: Regenerate.\r
-\r
-2000-09-27 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- Define two bfd_targets for absence and presence of leading\r
- underscore on symbols. Make sure to only link same kind.\r
- * elf32-cris.c (cris_elf_object_p,\r
- cris_elf_final_write_processing, cris_elf_print_private_bfd_data,\r
- cris_elf_merge_private_bfd_data): New.\r
- (elf_backend_object_p, elf_backend_final_write_processing,\r
- bfd_elf32_bfd_print_private_bfd_data,\r
- bfd_elf32_bfd_merge_private_bfd_data): Define.\r
- <Target vector definition>: Include elf32-target.h twice with\r
- different macro settings:\r
- (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as\r
- bfd_elf32_us_cris_vec.\r
- (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".\r
- (elf_symbol_leading_char): First as 0, then '_'.\r
- (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.\r
- * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.\r
- * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.\r
- * configure: Regenerate.\r
- * targets.c: Declare bfd_elf32_us_cris_vec.\r
- * po/bfd.pot: Regenerate.\r
-\r
-2000-09-29 Momchil Velikov <velco@fadata.bg>\r
-\r
- * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for\r
- R_ARM_THM_PC22 relocations.\r
-\r
-2000-09-29 NIIBE Yutaka <gniibe@chroot.org>\r
-\r
- * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.\r
-\r
-2000-09-29 Momchil Velikov <velco@fadata.bg>\r
-\r
- * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if\r
- is has the SEC_HAS_CONTENTS flag set.\r
-\r
-2000-09-28 \81Örjan Friberg <orjanf@axis.com>\r
- Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * aout-cris.c (N_TXTADDR): Define.\r
-\r
-2000-09-28 John David Anglin <dave@hiauly1.hia.nrc.ca>\r
-\r
- * som.c: Include alloca-conf.h.\r
- * Makefile.am: "make dep-am"\r
- * Makefile.in: Regenerate.\r
-\r
-2000-09-27 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (plt_stub): New.\r
- (PLT_STUB_ENTRY): Define.\r
- (elf32_hppa_link_hash_table): Change multi_subspace to packed\r
- boolean. Add need_plt_stub, has_12bit_branch and has_17bit_branch.\r
- (elf32_hppa_link_hash_table_create): Init to suit.\r
- (elf32_hppa_check_relocs): Set has_12bit_branch and\r
- has_17bit_branch as appropriate.\r
- (elf32_hppa_adjust_dynamic_symbol): Set need_plt_stub for\r
- non-local functions.\r
- (elf32_hppa_size_dynamic_sections): Correct setting of reltext.\r
- Add space for plt_stub as needed.\r
- (elf32_hppa_finish_dynamic_symbol): Point .plt entries for global\r
- functions at plt_stub.\r
- (elf32_hppa_finish_dynamic_sections): Write plt_stub.\r
- (elf32_hppa_create_dynamic_sections): Leave .plt executable.\r
-\r
- * elf32-hppa.h (elf32_hppa_size_stubs): Add group_size param.\r
- * elf32-hppa.c (elf32_hppa_size_stubs): Likewise. Use it instead\r
- of fixed size, and if negative, disable handling of input sections\r
- before stub section. Set up default stub group size depending\r
- on detected branch relocs.\r
- (hppa_build_one_stub): Use lrsel and rrsel for import stubs to\r
- ensure different offsets from sym_value aren't rounded to\r
- different 2k blocks. Use lrsel and rrsel for other stubs too for\r
- consistency rather than necessity.\r
- (elf32_hppa_check_relocs): Handle R_PARISC_DIR14F.\r
- (final_link_relocate): Likewise.\r
- (elf32_hppa_relocate_section): Likewise.\r
-\r
- * elf-hppa.h (elf_hppa_howto_table): Add R_PARISC_DIR14F reloc.\r
- (_bfd_elf_hppa_gen_reloc_type): Generate them.\r
- (elf_hppa_final_link_relocate): Handle them.\r
- (elf_hppa_relocate_insn): Likewise.\r
- (_bfd_elf_hppa_gen_reloc_type): Add missing e_ldsel and e_rdsel cases.\r
-\r
-2000-09-26 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * elfcode.h (elf_object_p): Preserve and clear abfd section\r
- information. Restore at error.\r
-\r
-2000-09-26 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>\r
-\r
- * peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectory\r
- is empty, make sure that its rva also 0. NT loader dislikes\r
- having otherwise.\r
-\r
-2000-09-26 Steve Ellcey <sje@cup.hp.com>\r
-\r
- * som.c (som_bfd_derive_misc_symbol_info): Make weak symbols\r
- global by default.\r
-\r
-2000-09-21 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_check_relocs): Fix weak sym handling in\r
- currently unused RELATIVE_DYNAMIC_RELOCS code.\r
- (hppa_discard_copies): Likewise.\r
- (elf32_hppa_size_stubs): Size `input_list' array correctly. Correct\r
- comments. Don't check non-code output sections for stub grouping.\r
-\r
-2000-09-20 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * section.c (bfd_get_unique_section_name): Return NULL if\r
- bfd_malloc fails.\r
-\r
-2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>\r
-\r
- * elf32-m68k.c (elf_cpu32_plt0_entry): Change the PLT entry 0\r
- instruction sequence to actually work.\r
- (elf_m68k_finish_dynamic_sections): Change the patch-in offset\r
- accordingly.\r
-\r
-2000-09-18 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf32-sh.c (sh_elf_relocate_section): Use\r
- _bfd_final_link_relocate to apply the relocation against a section\r
- symbol, when doing relocatable links.\r
-\r
-2000-09-18 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_stub_hash_entry): Rename input_section\r
- to id_sec.\r
- (stub_hash_newfunc): Here too.\r
- (hppa_add_stub): And here.\r
- (elf32_hppa_link_hash_table): Remove stub_section_created,\r
- reloc_section_created, first_init_sec and first_fini_sec. Add\r
- stub_group.\r
- (elf32_hppa_link_hash_table_create): Init to suit.\r
- (hppa_get_stub_entry): Add support for grouping stub sections.\r
- (hppa_add_stub): Likewise. Remove sec_count param and init/fini\r
- section code. Index stub vars by section->id.\r
- (elf32_hppa_size_stubs): Likewise. Remove duplicated function\r
- exit paths. Zap allocation of above removed vars. Refine\r
- link-once test.\r
-\r
- * elf32-hppa.h (elf32_hppa_size_stubs): Add output_bfd param.\r
- * elf32-hppa.c (elf32_hppa_size_stubs): Likewise.\r
- (hppa_get_stub_entry): Pass in pointer to elf32_hppa_link_hash_table\r
- rather than pointer to bfd_link_info.\r
- (hppa_add_stub): Likewise.\r
- (final_link_relocate): Likewise.\r
-\r
-2000-09-17 David Huggins-Daines <dhd@linuxcare.com>\r
-\r
- (elf32_hppa_size_stubs): Don't try to build stubs for discarded\r
- link-once sections.\r
-\r
-2000-09-16 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf32-sh.c (ELF_MAXPAGESIZE): Define to 128, to match\r
- ld/emulparams/shelf.sh.\r
-\r
-2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>\r
-\r
- * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): New function.\r
- * bfd-in.h (bfd_m68k_elf32_create_embedded_relocs): Add declaration.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2000-09-15 Kenneth Block <Kenneth.Block@compaq.com>\r
-\r
- * elf64-alpha.c (elf64_alpha_relax_with_lituse): ld performs\r
- LITUSE relocations incorrectly if -relax is specified on the ld\r
- command line and the displacement field of the load or store\r
- instruction is non-zero. (Patch by paul.winalski@compaq.com)\r
-\r
-2000-09-15 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (hppa_add_stub): Dont set first_init_sec and\r
- first_fini_sec here.\r
- (elf32_hppa_size_stubs): Instead correctly find the first .init\r
- and .fini section here.\r
-\r
-2000-09-15 David Huggins-Daines <dhd@linuxcare.com>\r
-\r
- * elf32-hppa.c (clobber_millicode_symbols): New function.\r
- (elf32_hppa_size_dynamic_sections): Call it.\r
-\r
-2000-09-14 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.c (elf32_hppa_link_hash_entry): Make pic_call\r
- packed. Add plabel, plt_abs packed booleans.\r
- (hppa_link_hash_newfunc): Init new fields.\r
- (PLABEL_PLT_ENTRY_SIZE): Define.\r
- (hppa_stub_name): Use size_t len vars.\r
- (hppa_add_stub): Likewise.\r
- (elf32_hppa_build_stubs): Likewise.\r
- (hppa_build_one_stub): Kill some compiler warnings.\r
- (elf32_hppa_check_relocs): Always generate a plt entry for PLABELs\r
- if dynamic linking. Munge the local plt offsets into\r
- local_got_refcounts. Set h->plabel for all global PLABELs. Use\r
- size_t len vars. Add assert for plabel addend.\r
- (elf32_hppa_gc_sweep_hook): Sweep local plt entries too.\r
- (elf32_hppa_hide_symbol): New function.\r
- (elf_backend_hide_symbol): Define.\r
- (elf32_hppa_adjust_dynamic_symbol): Don't throw away plt entries\r
- with h->plabel set. Don't make plt entries to have dynamic syms\r
- when they have been forced local. If plt entry is used by a\r
- plabel, make it PLABEL_PLT_ENTRY_SIZE.\r
- (elf32_hppa_size_dynamic_sections): Set plt_abs for init fns.\r
- Set up .plt offsets for local syms.\r
- (elf32_hppa_relocate_section): Initialise plt entries for local\r
- syms. Leave weak undefined plabels zero. Make global plabel\r
- relocs against function symbol, and leave the addend zero.\r
- Use *ABS* DIR32 relocs instead of SEGREL32 for dynamic got relocs.\r
- (elf32_hppa_finish_dynamic_symbol): Set up IPLT relocs for\r
- non-dynamic syms. Init extra plt for plabels. Use *ABS* DIR32\r
- relocs instead of SEGREL32 for dynamic got relocs.\r
- (elf32_hppa_finish_dynamic_sections): Reserve one more .got entry.\r
- (elf_backend_got_header_size): Adjust.\r
- (elf32_hppa_set_gp): Calculate an "ideal" LTP.\r
-\r
- * elf32-hppa.c (LONG_BRANCH_VIA_PLT): Define.\r
- (hppa_type_of_stub): Use it instead of #if 0\r
- (hppa_discard_copies): Use it here too.\r
- (elf32_hppa_size_dynamic_sections): And here.\r
-\r
- * elf32-hppa.c (elf32_hppa_link_hash_table): Remove `offset' field.\r
- (elf32_hppa_link_hash_table_create): And here.\r
- (hppa_build_one_stub): And here. Instead keep track of stub\r
- offset using _raw_size.\r
- (elf32_hppa_size_stubs): Likewise.\r
- (elf32_hppa_build_stubs): Likewise.\r
- (hppa_size_one_stub): Likewise. Resize reloc section too.\r
-\r
- * elf32-hppa.c (hppa_add_stub): Correct first_init_sec and\r
- first_fini_sec handling. Don't search for reloc section or set\r
- hplink->reloc_section_created here.\r
- (elf32_hppa_size_stubs): Instead search for reloc sections, and\r
- set reloc_section_created here.\r
- (hppa_handle_PIC_calls): Set ELF_LINK_HASH_NEEDS_PLT.\r
- (elf32_hppa_size_dynamic_sections): Make a .plt entry for DT_INIT\r
- and DT_FINI.\r
- (elf32_hppa_finish_dynamic_sections): Set DT_INIT and DT_FINI.\r
-\r
- * elf32-hppa.c (hppa_build_one_stub): Replace `elf_hash_table (info)'\r
- with `hplink->root.'.\r
- (elf32_hppa_check_relocs): Likewise.\r
- (elf32_hppa_gc_sweep_hook): Likewise.\r
- (elf32_hppa_adjust_dynamic_symbol): Likewise.\r
- (hppa_handle_PIC_calls): Likewise.\r
- (elf32_hppa_size_dynamic_sections): Likewise.\r
- (elf32_hppa_set_gp): Likewise.\r
- (elf32_hppa_relocate_section): Likewise.\r
- (elf32_hppa_finish_dynamic_symbol): Likewise.\r
- (elf32_hppa_finish_dynamic_sections): Likewise.\r
-\r
- From David Huggins-Daines <dhd@linuxcare.com>\r
- * elf32-hppa.c (hppa_type_of_stub): Generate import stubs for\r
- defined weak symbols in shared links.\r
- (final_link_relocate): Calls to defined weak symbols in shared\r
- objects must go via import stubs, as the target might not be known\r
- at link time.\r
-\r
-2000-09-14 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf32-sh.c (sh_elf_howto_table): Moved R_SH_GOT32, R_SH_PLT32,\r
- R_SH_COPY, R_SH_GLOB_DAT, R_SH_JMP_SLOT, R_SH_RELATIVE,\r
- R_SH_GOTOFF, R_SH_GOTPC) to the range from 160 to 167. Replaced\r
- the original entries with EMPTY_HOWTOs, and added new ones to fill\r
- in the gap.\r
- (sh_elf_info_to_howto): Make sure the new gap isn't used.\r
- (sh_elf_relocate_section): Likewise.\r
-\r
-2000-09-13 Anders Norlander <anorland@acc.umu.se>\r
-\r
- * cpu-mips.c (arch_info_struct): Add mips:4K\r
- * bfd-in2.h (bfd_mach_mips4K): New define.\r
- * archures.c: Add bfd_mach_mips4K to comment.\r
- * elf32-mips.c (_bfd_mips_elf_final_write_processing): Return\r
- E_MIPS_ARCH_2 for bfd_mach_mips4K.\r
-\r
-2000-09-13 Marco Franzen <marcof@thyron.com>\r
-\r
- * som.c (som_write_symbol_strings): Do not used fixed buffers,\r
- use size_t as a counter.\r
- (som_write_space_strings): Similarly.\r
-\r
-2000-09-12 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * elf32-i860.c (elf32_i860_relocate_pc26): New function\r
- and prototype.\r
- (elf32_i860_relocate_section): Invoke new function from here.\r
-\r
-2000-09-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>\r
-\r
- * elf.c (_bfd_elf_make_section_from_shdr): Make debug_sec_names\r
- static.\r
-\r
-2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>\r
-\r
- * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Emit 8 NULs for\r
- target section name instead of dumping core when the target symbol is\r
- undefined.\r
-\r
-2000-09-09 Kazu Hirata <kazu@hxi.com>\r
-\r
- * riscix.c: Remove DEFUN.\r
-\r
-2000-09-08 Nick Clifton <nickc@redhat.com>\r
-\r
- * elf32-arm.h (elf32_arm_merge_private_bfd_data): Do not\r
- initialise flags in output bfd if the input bfd is the default\r
- architecture with the default flags.\r
-\r
-2000-09-08 Kazu Hirata <kazu@hxi.com>\r
-\r
- * archive.c: Fix formatting.\r
- * coff-arm.c: Likewise.\r
- * doc/chew.c: Likewise.\r
-\r
-2000-09-08 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * section.c (bfd_get_unique_section_name): Put a dot before the\r
- numeric suffix.\r
-\r
-2000-09-07 Kazu Hirata <kazu@hxi.com>\r
-\r
- * doc/chew.c: Remove all uses of DEFUN and DEFUN_VOID.\r
- * elf.c: Fix formatting.\r
-\r
-2000-09-07 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * config.bfd (sh-*-linux*): Added.\r
- * configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New.\r
- * targets.c: Declare them.\r
- * elf32-sh-lin.c: New file.\r
- * Makefile.am: Compile it.\r
- * elf32-sh.c: Don't override defines from elf32-sh-lin.c.\r
- * configure, Makefile.in: Rebuilt.\r
-\r
-2000-09-06 Geoffrey Keating <geoffk@cygnus.com>\r
-\r
- * xcofflink.c (xcoff_link_input_bfd): Include the .tocbss\r
- pseduo-section when determining where the TOC ends.\r
-\r
- * coff-rs6000.c (_bfd_xcoff_swap_aux_out): Use bfd_h_put_16 to\r
- output x_tvndx as it is only two bytes wide.\r
-\r
- * coff-rs6000.c (xcoff_howto_table): A modifiable branch-absolute\r
- reloc is 26 or 32 bits wide.\r
-\r
- * coff-rs6000.c (_bfd_xcoff_rtype2howto): The bitsize is irrelevant\r
- for relocs that don't change anything. Also look at the full\r
- 6 bits of bitsize.\r
-\r
-2000-09-06 Philip Blundell <philb@gnu.org>\r
-\r
- * config.bfd (arm*-*-uclinux*): New target.\r
-\r
-2000-09-06 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * configure: Rebuilt with new libtool.m4.\r
-\r
-2000-09-06 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * section.c (bfd_get_unique_section_name): Avoid c++ reserved\r
- word for variable name.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2000-09-05 Nick Clifton <nickc@redhat.com>\r
-\r
- * config.in: Regenerate.\r
- * libbfd.h: Regenerate.\r
- * po/bfd.pot: Regenerate.\r
- * doc/bfdint.texi: Remove CVS date string - it foils compares with\r
- local versions.\r
-\r
-2000-09-05 Steven Johnson <sbjohnson@ozemail.com.au>\r
-\r
- * cpu-powerpc.c (arch_info_struct): Added MPC860 Family entry.\r
-\r
-2000-09-05 Alan Modra <alan@linuxcare.com.au>\r
-\r
- Shared library and PIC support.\r
- * elf32-hppa.c (PLT_ENTRY_SIZE): New.\r
- (GOT_ENTRY_SIZE): New.\r
- (ELF_DYNAMIC_INTERPRETER): New.\r
- (STUB_SUFFIX): Define.\r
- (LONG_BRANCH_PIC_IN_SHLIB): Define.\r
- (RELATIVE_DYNAMIC_RELOCS): Define.\r
- (enum elf32_hppa_stub_type): New.\r
- (struct elf32_hppa_stub_hash_entry): Rename offset to\r
- stub_offset. Add a number of new fields.\r
- (struct elf32_hppa_link_hash_entry): New.\r
- (struct elf32_hppa_link_hash_table): Add numerous fields. Remove\r
- global_value.\r
- (elf32_hppa_hash_table): Rename to hppa_link_hash_table.\r
- (elf32_hppa_stub_hash_lookup): Rename to hppa_stub_hash_lookup.\r
- (elf32_hppa_stub_hash_newfunc): Rename to stub_hash_newfunc. Init\r
- new fields.\r
- (hppa_link_hash_newfunc): New function.\r
- (elf32_hppa_link_hash_table_create): Use above function. Init new\r
- fields.\r
- (elf32_hppa_stub_name): Rename to hppa_stub_name. Pass in reloc\r
- instead of addend, and remove sym_name from args. Don't use\r
- symbol name for local syms, instead use sym index.\r
- (elf32_hppa_size_of_stub): Rename to hppa_type_of_stub, and return\r
- stub type rather than size. Pass in hash and handle import stub\r
- case. Also pass in reloc instead of offset so we can calculate\r
- PCREL22F and PCREL12F branches properly.\r
- (elf32_hppa_build_one_stub): Rename to hppa_build_one_stub. Build\r
- import and export stubs too.\r
- (elf32_hppa_size_one_stub): Rename to hppa_size_one_stub. Handle\r
- import and export stub sizing.\r
- (elf32_hppa_check_relocs): New function.\r
- (elf32_hppa_adjust_dynamic_symbol): New function.\r
- (hppa_discard_copies): New function.\r
- (elf32_hppa_size_dynamic_sections): New function.\r
- (elf_backend_size_dynamic_sections): Define.\r
- (elf32_hppa_finish_dynamic_symbol): New function.\r
- (elf_backend_finish_dynamic_symbol): Define.\r
- (elf32_hppa_size_stubs): Stash params in link hash table, and move\r
- some local vars into the link hash table too. For shared links,\r
- trundle over function syms, generating export stubs. Handle\r
- PCREL22F branches. Break out stub creation code from here..\r
- (hppa_add_stub): .. to here. New function.\r
- (elf32_hppa_final_link): Rename to elf32_hppa_set_gp, and don't\r
- call the bfd linker. Use elf_gp to record global pointer.\r
- Calculate a value from sections if $global$ is missing.\r
- (bfd_elf32_bfd_final_link): Define as _bfd_elf32_gc_common_final_link.\r
- (elf32_hppa_gc_mark_hook): New function.\r
- (elf_backend_gc_mark_hook): Define.\r
- (elf32_hppa_gc_sweep_hook): New function.\r
- (elf_backend_gc_sweep_hook): Define.\r
- (elf32_hppa_bfd_final_link_relocate): Rename to final_link_relocate.\r
- Add rel to args, and remove howto, input_bfd, offset, addend,\r
- sym_name as we can recalculate these locally. Handle calls to\r
- dynamic objects, extra PIC relocs, PCREL22F branches. Change\r
- handling of undefined weak syms. Check that stubs are in range.\r
- Only look for import stubs on PCREL17F and PCREL22F relocs. Add\r
- message on hitting a DPREL21L reloc that needs fixing. Subtract\r
- off PC for PCREL14F. Break out code that does a stub lookup from\r
- here..\r
- (hppa_get_stub_entry): ..to here. New function.\r
- (elf32_hppa_relocate_insn): Merge into final_link_relocate.\r
- (elf32_hppa_relocate_section): Handle got and plt relocs, dynamic\r
- relocs, etc. etc.\r
- (elf32_hppa_finish_dynamic_sections): New function.\r
- (elf_backend_finish_dynamic_sections): Define.\r
- (elf_backend_final_write_processing) Define.\r
- (hppa_handle_PIC_calls): New function.\r
- (elf32_hppa_build_stubs): Call it. Pass link_info to\r
- hppa_build_one_stub.\r
- (elf32_hppa_create_dynamic_sections): New function\r
- to create .plt and .got then set .plt flags correctly.\r
- (elf_backend_create_dynamic_sections): Define.\r
- (elf32_hppa_object_p): New function.\r
- (elf_backend_object_p): Define.\r
- (elf32_hppa_elf_get_symbol_type): New function.\r
- (elf_backend_get_symbol_type): Define.\r
- (elf_backend_can_gc_sections): Define.\r
- (elf_backend_want_got_plt): Define.\r
- (elf_backend_plt_alignment): Set to 2.\r
- (elf_backend_plt_readonly): Define.\r
- (elf_backend_want_plt_sym): Define.\r
- (elf_backend_got_header_size): Reserve one entry.\r
-\r
- * elf32-hppa.h (elf32_hppa_build_stubs): Don't pass stub bfd.\r
- (elf32_hppa_size_stubs): Pass in multi_subspace.\r
- (elf32_hppa_set_gp): Declare.\r
-\r
- * section.c (SEC_HAS_GOT_REF): Define new flag for asection.\r
- (bfd_get_unique_section_name): New function.\r
- * bfd-in2.h: Regenerate.\r
-\r
- * elf64-hppa.c (elf64_hppa_check_relocs): Handle R_PARISC_PCREL12F.\r
- (elf64_hppa_size_dynamic_sections): Remove the FIXME at bfd_zalloc\r
- comment.\r
-\r
- From David Huggins-Daines <dhd@linuxcare.com>\r
- * elf64-hppa.c (elf64_hppa_check_relocs): Fix a warning.\r
- (elf64_hppa_mark_exported_functions): Set dyn_h->st_shndx.\r
- (elf64_hppa_link_output_symbol_hook): Test dyn_h->st_shndx has\r
- been updated in finish_dynamic_symbol before modifying function\r
- symbol.\r
-\r
- * elf-hppa.h (elf_hppa_howto_table): Restructure into groups of\r
- eight entries. Replace NULL with bfd_elf_generic_reloc. Add\r
- R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT and R_PARISC_PCREL12F.\r
- (_bfd_elf_hppa_gen_reloc_type): Handle R_PARISC_GNU_VT*. Add some\r
- comments. Handle format == 12 for R_HPPA_PCREL_CALL.\r
- (elf_hppa_final_link_relocate): Handle R_PARISC_PCREL12F.\r
- (elf_hppa_relocate_insn): Likewise. Reformat some comments.\r
- (elf_hppa_final_write_processing): Expose it for ARCH_SIZE == 32.\r
-\r
- From David Huggins-Daines <dhd@linuxcare.com>\r
- * elf-hppa.h (elf_hppa_is_local_label_name): Accept the SysV/ELF\r
- style of local labels as well.\r
-\r
-2000-09-03 Philip Blundell <philb@gnu.org>\r
-\r
- * elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate\r
- references to undefined symbols in debugging sections.\r
-\r
-2000-09-02 H.J. Lu <hjl@gnu.org>\r
-\r
- * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,\r
- BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE,\r
- BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH\r
- section.\r
-\r
-2000-09-02 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro.\r
- (elf32_i860_is_local_label_name): New function and prototype.\r
-\r
-2000-09-02 Nick Clifton <nickc@redhat.com>\r
-\r
- * configure.in: Increase version number to 2.10.91.\r
- * configure: Regenerate.\r
- * aclocal.m4: Regenerate.\r
- * config.in: Regenerate.\r
- * po/bfd.pot: Regenerate.\r
-\r
-2000-09-02 Daniel Berlin <dberlin@redhat.com>\r
-\r
- * elf.c (_bfd_elf_make_section_from_shdr): Add\r
- .gnu.linkobce.wi. to the list of debug section names.\r
-\r
-2000-09-02 Nick Clifton <nickc@redhat.com>\r
-\r
- * dwarf2.c (find_debug_info): New function: Locate a section\r
- containing dwarf2 debug information.\r
- (bfd_dwarf2_find_nearest_line): Find all sections containing\r
- debug information and include them in the stash.\r
-\r
-2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,\r
- R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New.\r
- (sh_reloc_map): Add new relocs.\r
- (sh_elf_check_relocs, sh_elf_link_hash_newfunc,\r
- sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol,\r
- sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol,\r
- sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New\r
- functions.\r
- (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define.\r
- (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,\r
- elf_sh_plt_entry_be, elf_sh_plt_entry_le,\r
- elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):\r
- New array constants.\r
- (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry):\r
- New variables.\r
- (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,\r
- elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset,\r
- elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset,\r
- elf_sh_plt_reloc_offset): Define.\r
- (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry,\r
- elf_sh_link_hash_table): New structs.\r
- (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros.\r
- (sh_elf_relocate_section, sh_elf_check_relocs): Handle new\r
- relocation types.\r
- (elf_backend_create_dynamic_sections,\r
- bfd_elf32_bfd_link_hash_table_create,\r
- elf_backend_adjust_dynamic_symbol,\r
- elf_backend_size_dynamic_sections,\r
- elf_backend_finish_dynamic_symbol,\r
- elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,\r
- elf_backend_plt_readonly, elf_backend_want_plt_sym,\r
- elf_backend_got_header_size, elf_backend_plt_header_size):\r
- Define.\r
- * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,\r
- BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC):\r
- New relocs.\r
- * bfd-in2.h, libbfd.h: Rebuilt.\r
-\r
-2000-09-01 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27\r
- change.\r
-\r
-2000-08-31 J"orn Rennecke <amylaar@cygnus.co.uk>\r
-\r
- * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags\r
- not initialized, set them to indicate the SH1 instruction set.\r
-\r
-2000-08-31 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * acinclude.m4: Include libtool and gettext macros from the\r
- top level.\r
- * aclocal.m4, configure: Rebuilt.\r
-\r
-2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>\r
-\r
- * elf.c: Eliminate references to __sparcv9 macro; replace with\r
- autoconf variables HAVE_PSINFO32_T etc.\r
- * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,\r
- HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.\r
- * config.in: Ditto.\r
- * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can\r
- detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.\r
- * aclocal.m4: Ditto.\r
- * configure: Regenerate.\r
-\r
-2000-08-27 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-i386.c (elf_i386_check_relocs): Keep info on relocs copied\r
- for any shared link, not just shared -Bsymbolic.\r
- (elf_i386_size_dynamic_sections): Call elf_i386_discard_copies on\r
- any shared link, and pass link info to it.\r
- (elf_i386_size_dynamic_sections): Update comment.\r
- (elf_i386_discard_copies): Modify to discard relocs for symbols\r
- that have been forced local.\r
- (elf_i386_finish_dynamic_symbol): Don't copy relocs for symbols\r
- that have been forced local.\r
-\r
-2000-08-24 Denis Chertykov <denisc@overta.ru> & Nick Clifton <nickc@redhat.com>\r
-\r
- * elflink.h (elf_link_add_object_symbols): Allow common\r
- symbols to have an alignment of 1 if explicitly requested, and\r
- not overridden by other definitions.\r
-\r
-2000-08-22 Doug Kwan <dkwan@transmeta.com>\r
-\r
- * coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo.\r
- * coffcode.h (coff_set_flags): Add detection of w65 architecture.\r
-\r
-2000-08-22 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf-bfd.h (elf_link_hash_table): Add runpath.\r
-\r
- * bfd-in.h (bfd_elf_get_runpath_list): New prototype.\r
- * bfd-in2.h: Rebuilt.\r
-\r
- * elf.c (_bfd_elf_link_hash_table_init): Initialize the\r
- "runpath" field to NULL.\r
- (bfd_elf_get_runpath_list): New function.\r
-\r
- * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and\r
- DT_RUNPATH entries.\r
-\r
-2000-08-22 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,\r
- R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them\r
- explicitly. Improve validation of r_type.\r
-\r
-2000-08-21 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-i386.c (elf_i386_size_dynamic_sections): Zero out the\r
- dynamic allocated content space. Add a comment to remind us that\r
- one day this ought to be fixed.\r
- * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.\r
- * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.\r
- * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.\r
-\r
-2000-08-21 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate\r
- field with the newly relocated value instead of adding it to the\r
- existing immediate field.\r
- (elf32_i860_relocate_splitn): Likewise.\r
- (elf32_i860_relocate_highadj): Likewise.\r
-\r
-2000-08-16 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it\r
- was previously just a stub).\r
-\r
-2000-08-16 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elflink.c (_bfd_elf_create_got_section): Don't abort().\r
- Formatting fixes.\r
- (_bfd_elf_create_dynamic_sections): Likewise.\r
-\r
-2000-08-16 Andrew Macleod <amacleod@cygnus.com>\r
-\r
- * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address\r
- for undefined symbols to be the beginning of the section.\r
-\r
- * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate\r
- four extra entries at the beginning of the .rela.plt section.\r
- (sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt\r
- section to account for the four reserved entries in the .plt section.\r
-\r
-2000-08-15 Geoffrey Keating <geoffk@cygnus.com>\r
-\r
- * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0\r
- to the list of NOPs we recognize after a branch-and-link.\r
- Use the ori NOP when one is needed.\r
-\r
- * coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation\r
- for large archives.\r
-\r
-2000-08-14 Jim Wilson <wilson@cygnus.com>\r
-\r
- * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle\r
- EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.\r
- (elf64_ia64_print_private_bfd_data): Likewise. Also handle\r
- EF_IA_64_ABSOLUTE.\r
-\r
-2000-08-11 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.\r
-\r
-2000-08-10 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * elf32-i860.c (elf32_i860_relocate_section): New function.\r
- (i860_final_link_relocate): New function.\r
- (elf32_i860_relocate_splitn): New function.\r
- (elf32_i860_relocate_pc16): New function.\r
- (elf32_i860_relocate_highadj): New function.\r
- (elf32_i860_howto): Minor adjustments to some relocations.\r
- (elf_info_to_howto_rel): Define.\r
- (elf_backend_relocate_section): Define.\r
-\r
-2000-08-10 Nick Clifton <nickc@cygnus.com>\r
-\r
- * elf32-arm.h: Fix formatting.\r
-\r
-2000-08-10 Bernd Schmidt <bernds@cygnus.co.uk>\r
-\r
- * elf32-sh.c (sh_elf_reloc_loop): Make LAST_SYMBOL_SECTION static.\r
-\r
-2000-08-08 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * elf32-i860.c (elf32_i860_howto_table): Updated some fields.\r
-\r
-2000-08-07 Kazu Hirata <kazu@hxi.com>\r
-\r
- * ieee.c (ieee_write_debug_part): Rewrite a comment.\r
- * elf64-ia64.c: Fix a typo.\r
-\r
-2000-08-05 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * elf32-i860.c (elf32_i860_howto_table): New structure.\r
- (lookup_howto): New function.\r
- (elf32_i860_reloc_type_lookup): New function.\r
- (elf32_i860_info_to_howto_rela): New function.\r
- (elf_code_to_howto_index): New structure.\r
- (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.\r
- (bfd_elf32_bfd_reloc_type_lookup): Re-define as\r
- elf32_i860_reloc_type_lookup.\r
-\r
-2000-08-04 Rodney Brown <RodneyBrown@pmsc.com>\r
-\r
- * som.c (struct fixup_format): Constify `format'.\r
- (som_hppa_howto_table): Use SOM_HOWTO macro.\r
- (try_prev_fixup, hppa_som_reloc): Decorate unused parameter.\r
- (som_bfd_reloc_type_lookup): Likewise.\r
- (compare_subspaces): Remove unused `count1', `count2'.\r
- (som_begin_writing): Remove unused `total_reloc_size'.\r
- (som_bfd_derive_misc_symbol_info): Decorate unused parameter.\r
- (som_print_symbol, som_bfd_is_local_label_name): Likewise.\r
- (som_set_reloc_info): Constify `cp'. Remove unused `addend'.\r
- (som_find_nearest_line): Decorate unused parameter(s).\r
- (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise.\r
- (som_bfd_link_split_section): Likewise.\r
-\r
-2000-08-03 Nick Clifton <nickc@cygnus.com>\r
-\r
- * section.c: Restore backed out code.\r
- * elf.c: Restore backed out code.\r
- (copy_private_bfd_data): Fix bug preventing stipped dynamic\r
- binaries from working.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2000-08-03 H.J. Lu <hjl@gnu.org>\r
-\r
- * section.c: Back out the change made by Nick Clifton\r
- <nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic\r
- binaries.\r
- * bfd-in2.h: Likewise.\r
- * elf.c: Likewise.\r
-\r
-2000-08-03 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf32-sh.c (sh_elf_reloc_loop): Warning removal.\r
-\r
-2000-07-31 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860.\r
- * bfd-in2.h, libbfd.h: Regenerate.\r
-\r
-2000-07-31 Nick Clifton <nickc@cygnus.com>\r
-\r
- * section.c (struct sec): Add new boolean field 'segment_mark'.\r
- (STD_SECTION): Initialise new field to zero.\r
-\r
- * bfd-in2.h: Regenerate.\r
-\r
- * elf.c (copy_private_bfd_data): Reorganise section to segment\r
- mapping to cope with moved sections requiring new segments,\r
- and overlapping segments.\r
- (SEGMENT_END): New macro: Return the end address of a segment.\r
- (IS_CONTAINED_BY_VMA): New macro: Determine if a segment\r
- contains a section by comparing their VMA addresses.\r
- (IS_CONTAINED_BY_LMA): New macro: Determine if a segment\r
- contains a section by comparing their LMA addresses.\r
- (INCLUDE_SECTION_IN_SEGMENT): New macro: Determine if a\r
- section should be included in a segment.\r
- (SEGMENT_AFTER_SEGMENT): New macro: Determine if one segment\r
- follows another in memory.\r
- (SEGMENT_OVERLAPS_SEGMENT): New macro: Determine if two\r
- segments overlap.\r
-\r
-2000-07-22 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * cpu-i860.c: Added comments.\r
-\r
- * elf32-i860.c (TARGET_LITTLE_SYM): Defined to\r
- bfd_elf32_i860_little_vec.\r
- (TARGET_LITTLE_NAME): Defined to "elf32-i860-little".\r
- (ELF_MAXPAGESIZE): Changed to 4096.\r
-\r
- * targets.c (bfd_elf32_i860_little_vec): Declaration of\r
- new target.\r
- (bfd_target_vector): Added bfd_elf32_i860_little_vec.\r
-\r
- * config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added\r
- config for little endian elf32 i860.\r
- (targ_defvec): Define for the new config above\r
- as "bfd_elf32_i860_little_vec".\r
- (targ_selvecs): Define for the new config above\r
- as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"\r
-\r
- * configure.in (bfd_elf32_i860_little_vec): Added recognition\r
- of new target vec.\r
-\r
- * configure: Regenerated.\r
-\r
-2000-07-27 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_merge_symbol): Take one more argument,\r
- dt_needed, to indicate if the symbol comes from a DT_NEEDED\r
- entry. Don't overide the existing weak definition if dt_needed\r
- is true.\r
- (elf_link_add_object_symbols): Pass dt_needed to\r
- elf_merge_symbol ().\r
-\r
-2000-07-27 Nick Clifton <nickc@cygnus.com>\r
-\r
- * elflink.h (elf_link_size_reloc_section): Zeroes the section's\r
- allocated contents.\r
-\r
-2000-07-25 Geoffrey Keating <geoffk@cygnus.com>\r
-\r
- * configure.host (*-*-aix*): AIX has 'long long' always.\r
-\r
- * coff-rs6000.c (xcoff_write_one_armap_big): New procedure.\r
- (xcoff_write_armap_big): Write both 32-bit and 64-bit armaps.\r
- (xcoff_write_archive_contents_big): Don't update the offset\r
- of the symbol table, xcoff_write_armap will do it.\r
-\r
-2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead\r
- of dynobj for SGI_COMPAT checks.\r
-\r
-2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>\r
-\r
- * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): New function.\r
- * bfd-in.h (bfd_m68k_coff_create_embedded_relocs): Add declaration.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2000-07-21 Nick Clifton <nickc@cygnus.com>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_check_relocs): Detect out of\r
- range symbol indices in relocs and issue an error message.\r
-\r
-2000-07-20 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check\r
- info->new_dtags when setting DT_FLAGS_1. It will only be set\r
- by the new linker options. It shouldn't break anything.\r
-\r
-2000-07-20 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1\r
- only if info->new_dtags is true.\r
-\r
-2000-07-20 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set\r
- DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.\r
-\r
-2000-07-20 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.\r
- (ALL_MACHINES_CFILES): Add cpu-cris.c.\r
- (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.\r
- (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.\r
- (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.\r
- * Makefile.in: Rebuild.\r
- * aclocal.m4: Rebuild.\r
- * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.\r
- * archures.c (enum bfd_architecture): Add bfd_arch_cris.\r
- (bfd_cris_arch): Declare.\r
- (bfd_archures_list): Add bfd_cris_arch.\r
- * bfd-in2.h: Rebuild.\r
- * config.bfd: (cris-*-*): New target.\r
- * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.\r
- * configure: Rebuild.\r
- * elf.c (prep_headers): Add bfd_arch_cris.\r
- * libbfd.h: Rebuild.\r
- * libaout.h (enum machine_type): Add M_CRIS.\r
- * reloc.c: Add CRIS relocations.\r
- * targets.c (bfd_elf32_cris_vec, cris_aout_vec): Declare.\r
- (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.\r
- * cpu-cris.c, aout-cris.c, elf32-cris.c: New files.\r
- * po/POTFILES.in, po/bfd.pot: Regenerate.\r
-\r
-2000-07-19 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-arm.h (elf32_arm_size_dynamic_sections): Also set\r
- DF_TEXTREL if DT_TEXTREL is set.\r
- * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.\r
- * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.\r
- * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.\r
- * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.\r
- * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.\r
- * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.\r
- * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.\r
- * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.\r
- * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise.\r
- * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.\r
-\r
- * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also\r
- set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if\r
- DT_RPATH is set.\r
- Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.\r
-\r
-2000-07-19 H.J. Lu <hjl@gnu.org>\r
-\r
- * bfd-in.h (bfd_elf_set_dt_needed_soname): New.\r
- * bfd-in2.h: Rebuild.\r
-\r
- * elf-bfd.h (elf_obj_tdata): Add dt_soname.\r
- (elf_dt_soname): New.\r
-\r
- * elf.c (bfd_elf_set_dt_needed_soname): New.\r
-\r
- * elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED\r
- entry if the shared object loaded by DT_NEEDED is used to\r
- resolve the reference in a regular object.\r
-\r
-2000-07-19 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG,\r
- DT_DEPAUDIT and DT_AUDIT as strings.\r
-\r
-2000-07-19 Nick Clifton <nickc@cygnus.com>\r
-\r
- * format.c: Fix formatting.\r
-\r
-2000-07-19 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.\r
-\r
-2000-07-19 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW,\r
- DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ,\r
- DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ,\r
- DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1,\r
- DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT,\r
- DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT,\r
- DT_FLAGS_1, DT_USED and DT_CHECKSUM.\r
-\r
-2000-07-18 Andrew Cagney <cagney@b1.cygnus.com>\r
-\r
- * elf.c (bfd_elf_get_sign_extend_vma, bfd_elf_get_arch_size): Move\r
- renamed functions from here...\r
- (assign_section_numbers): Use renamed functions.\r
- (prep_headers): Use renamed functions.\r
-\r
- * bfd.c (bfd_get_sign_extend_vma, bfd_get_arch_size): ...To here.\r
- * bfd-in.h (bfd_get_sign_extend_vma, bfd_get_arch_size): Update.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add\r
- parenthesis in if statement.\r
-\r
-2000-07-17 Koundinya K <kk@ddeorg.soft.net>\r
-\r
- Enable the support for Traditional MIPS.\r
- * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand\r
- return ict_none appropriately for traditional mips targets.\r
- (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips.\r
- (STUB_MOVE): Conditionalize for traditonal mips.\r
- (STUB_LI16): Likewise.\r
- (_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making\r
- room for RTPROC header.\r
- (_bfd_mips_elf_modify_segment_map): For a normal mips executable set\r
- the permission for the PT_DYNAMIC as read, write and execute.\r
- (mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING\r
- for traditonal mips.\r
- (_bfd_mips_elf_create_dynamic_sections): Add the symbol\r
- _DYNAMIC_LINKING for traditonal mips.\r
- (_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP\r
- in case of traditonal mips.\r
- (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT\r
- entry is required. For a function if PLT is not required then set the\r
- corresponding hash table entry to 0.\r
- (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for\r
- traditonal mips.\r
- (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a\r
- shared object set the value to 0.\r
- (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol\r
- _DYNAMIC_LINKING for traditonal mips.\r
- (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP\r
- for traditonal mips.\r
-\r
-2000-07-15 H.J. Lu <hjl@gnu.org>\r
-\r
- * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.\r
-\r
-2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>\r
-\r
- * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing\r
- out a structure that is BFD_IN_MEMORY.\r
-\r
-2000-07-11 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf64-hppa.c (get_dyn_name): Pass in section pointer instead of\r
- bfd pointer. Print section id instead of bfd pointer for local\r
- syms. Prefix addend with `+' for global syms as well as local.\r
- Correct calculation of name component lengths.\r
- (elf64_hppa_check_relocs): Update call to get_dyn_name.\r
-\r
- From David Huggins-Daines <dhd@linuxcare.com>\r
- * elf-hppa.h (elf_hppa_relocate_section): Update calls here too.\r
- * elf64-hppa.c (elf64_hppa_check_relocs): Fix some warnings.\r
- (elf64_hppa_modify_segment_map): Likewise.\r
-\r
-2000-07-11 Andrew Cagney <cagney@b1.cygnus.com>\r
-\r
- * elf.c (bfd_elf_get_sign_extend_vma): Return tendency of VMA\r
- addresses to be "naturally" sign extended. Return -1 if unknown.\r
- * bfd-in.h (bfd_elf_get_sign_extend_vma): Add declaration.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2000-07-11 Andrew Cagney <cagney@b1.cygnus.com>\r
-\r
- * ecoffswap.h (ecoff_get_off, ecoff_put_off): Add ECOFF_SIGNED_32\r
- and ECOF_SIGNED_64 to list ways to extract an offset.\r
- (ecoff_swap_fdr_in, ecoff_swap_fdr_out, ecoff_swap_pdr_in,\r
- ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out):\r
- Update.\r
- * elf64-mips.c (ECOFF_SIGNED_64): Define instead of ECOFF_64.\r
- * elf32-mips.c (ECOFF_SIGNED_32): Define instead of ECOFF_32.\r
-\r
-2000-07-11 Andrew Cagney <cagney@b1.cygnus.com>\r
-\r
- * elfcode.h (elf_object_p): Use bfd_set_start_address and not\r
- bfd_get_start_address.\r
- (elf_swap_ehdr_in): Sign extend e_entry when applicable.\r
- (elf_swap_ehdr_out): Ditto.\r
-\r
-2000-07-10 Alexander Aganichev <AAganichev@hypercom.com>\r
-\r
- * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for\r
- compatibility with older binutils.\r
-\r
-2000-07-10 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * section.c (bfd_make_section_anyway): Start section_id at 0x10.\r
- (STD_SECTION): Avoid negative ids, instead use 0 to 3.\r
-\r
- From Ryan Bradetich <rbradetich@uswest.net>\r
- * dwarf1.c (parse_die): Cure signed/unsigned char warnings.\r
- (parse_line_table): Ditto.\r
- (_bfd_dwarf1_find_nearest_line): Ditto.\r
- * syms.c (cmpindexentry): Remove extra `*' from params.\r
-\r
-2000-07-09 Koundinya K <kk@ddeorg.soft.net>\r
-\r
- * elf32-mips.c (sort_dynamic_relocs): New Function.\r
- (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs\r
- via qsort to sort the dynamic relocations in increasing r_symndx\r
- value.\r
-\r
-2000-07-09 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf64-hppa.c (elf64_hppa_dyn_hash_table_init): Add\r
- ATTRIBUTE_UNUSED to unused args.\r
- (get_opd): Likewise.\r
- (get_plt): Likewise.\r
- (get_dlt): Likewise.\r
- (get_stub): Likewise.\r
- (elf64_hppa_adjust_dynamic_symbol): Likewise.\r
- (elf64_hppa_link_output_symbol_hook): Likewise.\r
- (elf64_hppa_check_relocs): Delete unused var.\r
- (elf64_hppa_size_dynamic_sections): Likewise.\r
- (elf64_hppa_finalize_opd): Likewise.\r
- (elf64_hppa_finalize_dynreloc): Likewise.\r
- (elf64_hppa_modify_segment_map): Likewise.\r
- (elf64_hppa_finish_dynamic_sections): Likewise.\r
-\r
- * elf-hppa.h (elf_hppa_final_write_processing): Add\r
- ATTRIBUTE_UNUSED to unused args.\r
- (elf_hppa_final_link_relocate): Likewise.\r
- (elf_hppa_record_segment_addrs): Add paretheses.\r
- (elf_hppa_relocate_section): Constify dyn_name.\r
-\r
- From David Huggins-Daines <dhd@linuxcare.com>\r
- * config.bfd: Add hppa*64*-*-linux-gnu 64-bit target, and\r
- rearrange case statement so that it gets preferred to 32-bit ones.\r
-\r
- * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Use\r
- asection->id instead of address of asection structure.\r
- (elf32_hppa_size_stubs): Likewise.\r
-\r
- * elf32-hppa.c (elf32_hppa_size_stubs): Use just one stub section\r
- for .init* and .fini*.\r
-\r
- * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Mask pointers\r
- and addends used in stub names to 32 bits.\r
- (elf32_hppa_size_stubs): Likewise.\r
-\r
- * elf-hppa.h (elf_hppa_final_link_relocate): Don't sum addend\r
- twice for R_PARISC_GPREL64. Use bfd_put_32 for R_PARISC_PCREL32,\r
- not bfd_put_64. Fix minor comment typo and formatting.\r
-\r
- Changes to create multiple linker stubs, positioned immediately\r
- before the section where they are required.\r
- * elf32-hppa.c: Don't include hppa_stubs.h.\r
- (elf32_hppa_stub_hash_entry): Add a pointer to the stub section.\r
- (elf32_hppa_stub_hash_table): Delete.\r
- (elf32_hppa_link_hash_entry): Delete.\r
- (elf32_hppa_link_hash_table): Use plain bfd_hash_table for\r
- stub_hash_table, and store the struct here rather than a pointer.\r
- Delete output_symbol_count. Add offset array. Change\r
- global_value to a bfd_vma.\r
- (elf32_hppa_stub_hash_lookup): Use table instead of table->root.\r
- (elf32_hppa_stub_hash_traverse): Delete.\r
- (elf32_hppa_name_of_stub): Delete.\r
- (elf32_hppa_link_hash_lookup): Delete.\r
- (elf32_hppa_link_hash_traverse): Delete.\r
- (elf32_hppa_stub_hash_table_init): Delete.\r
- (elf32_hppa_size_of_stub): Pass input section and offset rather\r
- than location and calculate location here. Don't pass name as all\r
- stubs are now the same size.\r
- (elf32_hppa_stub_hash_newfunc): Init new fields.\r
- (elf32_hppa_link_hash_table_create): Likewise, and stub_hash_table\r
- too.\r
- (elf32_hppa_bfd_final_link_relocate): Cast enums to int before\r
- comparing against ints. Rewrite stub handling code.\r
- (elf32_hppa_relocate_section): Make r_type and r_symndx unsigned.\r
- Case enums to int before comparing against ints. Remove\r
- bfd_reloc_dangerous case.\r
- (elf32_hppa_build_one_stub): Rewrite.\r
- (elf32_hppa_size_one_stub): New function.\r
- (elf32_hppa_build_stubs): Rewrite.\r
- (elf32_hppa_size_stubs): Pass in linker call-back functions.\r
- Rewrite stub-handling specific code.\r
-\r
- * elf32-hppa.h (elf32_hppa_size_stubs): Update prototype.\r
-\r
- * elf64-hppa.c (elf64_hppa_dyn_hash_entry): Fix a comment typo.\r
-\r
- * hppa_stubs.h: Delete.\r
- * Makefile.am (SOURCE_HFILES): Remove hppa_stubs.h\r
- (elf32-hppa.lo): Remove hppa_stubs.h from dependencies.\r
- * Makefile.in: Regenerate.\r
-\r
- * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle e_nlsel and\r
- e_nlrsel.\r
-\r
- * libhppa.h (hppa_field_adjust): Correct e_nsel case.\r
-\r
- * elf32-hppa.c (elf32_hppa_relocate_section): Mention the offset\r
- and section name for bfd_reloc_notsupported error message.\r
- (elf32_hppa_bfd_final_link_relocate): Print reasons for returning\r
- bfd_reloc_notsupported.\r
- (elf32_hppa_relocate_section): Add ATTRIBUTE_UNUSED to output_bfd.\r
-\r
- * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Handle\r
- undefined weak symbols for all relocs.\r
- (elf32_hppa_size_of_stub): Adjust calculation by 8 since branch\r
- offsets are relative to one past the delay slot.\r
- (elf32_hppa_size_stubs): Account for reloc addend when calculating\r
- branch destination. Put addend into stub name too.\r
- (elf32_hppa_bfd_final_link_relocate): Account for reloc addend and\r
- adjust by 8 when deciding whether a linker stub is needed. Put\r
- addend into stub name as for above.\r
-\r
- * elf32-hppa.c (hppa_elf_relocate_insn): Change signed/unsigned on\r
- various args and vars.\r
- (elf32_hppa_bfd_final_link_relocate): Here too.\r
- (elf32_hppa_size_stubs): Rename index -> indx. Use e_indx for\r
- inner block var to avoid shadowing.\r
-\r
- * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Make `field' arg\r
- unsigned.\r
- * elf64-hppa.h (_bfd_elf64_hppa_gen_reloc_type): Ditto.\r
- * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Ditto.\r
- (elf_hppa_fake_sections): Rename local var to avoid shadowing.\r
-\r
- * libhppa.h: Change practically all unsigned ints to plain ints.\r
- Remove tests on gcc version. Instead use ATTRIBUTE_UNUSED for\r
- prototypes.\r
-\r
- From Ryan Bradetich <rbradetich@uswest.net>\r
- * libhppa.h (hppa_opcode_type): New enum to replace #define's.\r
- * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Modify to\r
- suit above.\r
- From David Huggins-Daines <dhd@linuxcare.com>\r
- * elf-hppa.h (elf_hppa_relocate_insn): Update the opcode constants\r
- to the new OP_* ones.\r
-\r
- * elf32-hppa.c (elf32_hppa_size_stubs): Consolidate freeing on\r
- error exit. Bail out earlier on plabel relocs that we aren't\r
- interested in. Don't tell elf32_hppa_stub_hash_lookup to copy\r
- string, and then don't free our copy.\r
- (elf32_hppa_build_one_stub): Make insn unsigned int.\r
-\r
- * libhppa.h (bfd_hppa_insn2fmt): 22 bit branches are only\r
- available with BL, not BE and BLE.\r
-\r
- * elf32-hppa.c (hppa_elf_relocate_insn): Add some more example\r
- code for elf arg relocs.\r
- (elf32_hppa_bfd_final_link_relocate): Replace boolean is_local\r
- argument with elf_link_hash_entry h. Handle undefined weak\r
- symbols. Move $global$ lookup from here...\r
- (elf32_hppa_relocate_section): ...to here. Return correct error\r
- message for non-handled relocs.\r
- (elf32_hppa_size_of_stub): Correctly test branch range. Previous\r
- wrong test was -0x3ffff to +0x40000.\r
-\r
- * elf-hppa.h (elf_hppa_final_link_relocate): R_PARISC_DIR17R,\r
- R_PARISC_DIR17F, and R_PARISC_DIR21L are for absolute branches;\r
- Handle them as such.\r
- (elf_hppa_relocate_insn): Fix a typo.\r
-\r
- * libhppa.h (GET_FIELD, GET_BIT, MASK, CATENATE, ELEVEN): Delete.\r
- (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a,\r
- assemble_17, assemble_21): Delete.\r
- Supply defines for all 64 possible opcodes.\r
- (bfd_hppa_insn2fmt): Add bfd argument, and use to select wide mode\r
- formats. Handle COMICLR.\r
- (hppa_rebuild_insn): Delete bfd argument. Handle formats 10, -11,\r
- -10, -16, 16, 22.\r
-\r
- * elf32-hppa.c (hppa_elf_relocate_insn): Complete rewrite.\r
- (elf32_hppa_bfd_final_link_relocate): Major rewrite.\r
- (elf32_hppa_build_one_stub): Modify hppa_elf_relocate_insn calls\r
- to suit.\r
- (elf32_hppa_size_stubs): Don't free stub_name twice. Read in all\r
- the local syms - did this code get deleted accidentally? Ignore\r
- undefined and undefweak syms.\r
-\r
- * elf-hppa.h (elf_hppa_final_link): Move hppa_info to outermost\r
- block. Use it instead of elf64_hppa_hash_table (info).\r
- (elf_hppa_final_link_relocate): Use hppa_info instead of\r
- elf64_hppa_hash_table (info).\r
-\r
- * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,\r
- re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.\r
- (hppa_rebuild_insn): Mask immediate bits here instead.\r
- * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.\r
-\r
-2000-07-08 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * section.c (struct sec): Add id field. Tidy comment formatting.\r
- (bfd_make_section_anyway): Set id.\r
- (STD_SECTION): Init id too.\r
- Change CONST to const throughout.\r
- * archures.c (bfd_arch_info): Tidy comment.\r
- (bfd_arch_list): Change a CONST to const.\r
- * libbfd-in.h: Tidy comments and replace CONST with const.\r
- * elf-bfd.h: Likewise.\r
- * libbfd.h: Regenerate.\r
- * bfd-in2.h: Regenerate.\r
- * libcoff.h: Regenerate.\r
-\r
-2000-07-07 DJ Delorie <dj@redhat.com>\r
-\r
- * archive.c (_bfd_write_archive_contents): Add an informative\r
- comment.\r
-\r
-2000-07-06 Kazu Hirata <kazu@hxi.com>\r
-\r
- * srec.c: Fix formatting.\r
-\r
-2000-06-05 DJ Delorie <dj@redhat.com>\r
-\r
- * MAINTAINERS: new\r
-\r
-2000-07-04 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol\r
- value of PC-relative offsets.\r
-\r
-2000-07-03 Jim Wilson <wilson@cygnus.com>\r
-\r
- * elf64-alpha.c (alpha_elf_size_info): New.\r
- (elf_backend_size_info): Define to alpha_elf_size_info.\r
- * elfcode.h (elf_size_info): Change hash bucket size to 4.\r
-\r
-2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- * elf32-mips.c: Include elf32-target.h again for the traditional\r
- MIPS targets.\r
-\r
-2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>\r
-\r
- * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup):\r
- Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings.\r
- (avr_info_to_howto_rela): Likewise.\r
- (elf32_avr_gc_mark_hook): Likewise.\r
- (elf32_avr_gc_sweep_hook): Likewise.\r
- (elf32_avr_relocate_section): Likewise.\r
-\r
-2000-07-03 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into\r
- an external symbol for a non-shared, non-relocatable link.\r
-\r
-2000-07-03 Nick Clifton <nickc@redhat.com>\r
-\r
- * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol\r
- is an external symbol.\r
- (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak\r
- external symbol.\r
-\r
-2000-07-03 Kazu Hirata <kazu@hxi.com>\r
-\r
- * reloc16.c: Fix formatting.\r
-\r
-2000-07-01 Koundinya K <kk@ddeorg.soft.net>\r
-\r
- * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4*\r
- to add a new target for traditional mips i.e\r
- bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec.\r
- * configure.in: Likewise.\r
- * configure: Rebuild.\r
- * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in\r
- bfd_target_vector.\r
- (bfd_elf32_tradlittlemips_vec): Likewise.\r
- * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test\r
- to see that elfNN_bed does not get redefined even if the target file\r
- is included twice for a chip. See elf32-mips.c.\r
-\r
-2000-07-01 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed\r
- (CLEANFILES): Add DEPA.\r
- * Makefile.in: Regenerate.\r
-\r
-2000-06-30 DJ Delorie <dj@cygnus.com>\r
-\r
- * peicode.h (coff_swap_filehdr_in): can't use e_magic because we\r
- can't assume the PE header is at 0x80.\r
-\r
-2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH.\r
-\r
-2000-06-28 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * go32stub.h: Update stub.\r
-\r
-2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>\r
-\r
- * archures.c (bfd_mach_avr5): Define.\r
- * bfd-in2.h (bfd_mach_avr5): Define.\r
- * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to\r
- bfd_mach_avr5, add bfd_mach_avr4. Update comments.\r
- (compatible): Update comment. Add missing test.\r
- * elf32-avr.c (avr_final_link_relocate): Support 8K wrap\r
- for avr2 and avr4. Simplify 8K wrap code.\r
- (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5.\r
- (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5.\r
-\r
-2000-06-26 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-h8300.c: Fix formatting.\r
- * cpu-h8300.c: Likewise.\r
-\r
-2000-06-24 Alexandre Oliva <aoliva@redhat.com>\r
-\r
- * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'\r
- for local symbols whose names are unknown.\r
-\r
-2000-06-22 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we\r
- find one.\r
- * Makefile.in: Regenerate.\r
- * doc/Makefile.in: Regenerate.\r
-\r
-2000-06-20 H.J. Lu <hjl@gnu.org>\r
-\r
- * Makefile.am: Rebuild dependency.\r
- * Makefile.in: Rebuild.\r
-\r
-2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function.\r
- (elf_backend_copy_indirect_symbol): Map to the new function.\r
-\r
-2000-06-20 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * archive.c (normalize): Correct pointer comparison when checking\r
- for backslashes.\r
- (bfd_bsd_truncate_arname): Likewise.\r
- (bfd_gnu_truncate_arname): Likewise.\r
-\r
-2000-06-20 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual\r
- sections elf_{text,data}_{section,symbol}.\r
- * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove.\r
- (_bfd_mips_elf_hide_symbol): New function.\r
- (elf_backend_hide_symbol): Map to the new function.\r
- (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD\r
- definitions of mips_elf_{text,data}_{section,symbol}.\r
- (mips_elf_local_relocation_p): Try to find the direct symbol\r
- based on new check_forced argument.\r
- (mips_elf_calculate_relocation): Use new version of\r
- mips_elf_local_relocation_p.\r
- (mips_elf_relocate_section): Likewise.\r
- (_bfd_mips_elf_relocate_section): Likewise.\r
- (mips_elf_sort_hash_table): Only assert that have enough GOT\r
- space.\r
- (mips_elf_got16_entry): Match all 32 bits to the existing GOT\r
- entry if the relocation based on the new external argument.\r
- (mips_elf_create_dynamic_relocation): Assert that we have a\r
- section contents allocated where we can swap out the dynamic\r
- relocations.\r
- (mips_elf_calculate_relocation): Find the real hash-table entry\r
- correctly by using h->root.root.type. Only create a dynamic\r
- relocation entry if the symbol is defined in a shared library.\r
- Create an external GOT entry for the GOT16 relocation if the\r
- symbol was forced local.\r
- (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a\r
- dynamic index if the symbol was forced local.\r
-\r
-2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>\r
-\r
- * elf32-mips.c: Fix typos in comments.\r
-\r
-2000-06-19 Mark Kettenis <kettenis@gnu.org>\r
-\r
- * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef\r
- CORE_VERSION_1.\r
-\r
-2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>\r
-\r
- * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild.\r
- * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS,\r
- BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files.\r
- * configure.in (bfd_elf32_m68hc12_vec): Recognize.\r
- (bfd_elf32_m68hc11_vec): Likewise.\r
- * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11.\r
- Supports 68hc11 & 68hc12 at the same time.\r
- * targets.c (bfd_elf32_m68hc12_vec): Declare and put in\r
- bfd_target_vector.\r
- (bfd_elf32_m68hc11_vec): Likewise.\r
- * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11.\r
- * archures.c (bfd_m68hc12_arch): Define and register in global list\r
- (bfd_m68hc11_arch): Likewise.\r
- * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8,\r
- BFD_RELOC_M68HC11_3B): Define.\r
- * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support.\r
- * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support.\r
-\r
-2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- * elf_bfd.h (struct elf_backend_data): Add info argument to\r
- elf_backend_hide_symbol.\r
- (_bfd_elf_link_hash_hide_symbol): Likewise.\r
- * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.\r
- * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.\r
- * elflink.h (elf_link_add_object_symbols): Likewise.\r
- (elf_link_assign_sym_version): Likewise.\r
-\r
-2000-06-18 H.J. Lu <hjl@gnu.org>\r
-\r
- * coff-i386.c (coff_i386_reloc): Don't return in case of\r
- output_bfd == (bfd *) NULL if COFF_WITH_PE is defined.\r
- Compensate PE relocations when linking with non-PE object\r
- files to generate a non-PE executable.\r
-\r
-2000-06-17 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write\r
- GOT entries if we're doing a static link or -Bsymbolic link.\r
-\r
-2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>\r
-\r
- * elflink.h (elf_link_adjust_relocs): Check for and call backend\r
- specifific swap_reloc_{in,out} and swap_reloca_{in,out} if\r
- available.\r
- (elf_link_output_relocs): Likewise.\r
- (elf_reloc_link_order): Likewise.\r
-\r
-2000-06-16 Nicholas Duffek <nsd@redhat.com>\r
-\r
- * archures.c (enum bfd_architecture): #define constants for\r
- PowerPc and RS6000 machine numbers.\r
- * bfd-in2.h: Regenerate.\r
- * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch\r
- to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc\r
- and RS6000 machine numbers using #defined constants from\r
- archures.c.\r
- * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000\r
- machine numbers using #defined constants from archures.c. Add\r
- entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify\r
- 64-bit words in 620 entry.\r
- * cpu-rs6000.c (arch_info_struct): Create with entries for RS1,\r
- RSC, and RS2.\r
- (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).\r
-\r
-2000-06-16 Nicholas Duffek <nsd@cygnus.com>\r
-\r
- * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.\r
- * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.\r
- * libcoff.h (struct xcoff_tdata): Define xcoff64 field.\r
-\r
-2000-06-16 Nicholas Duffek <nsd@redhat.com>\r
-\r
- * bfd-in.h (bfd_family_coff): Define.\r
- * bfd-in2.h: Regenerate.\r
- * coffgen.c (coff_count_linenumbers, coff_symbol_from,\r
- coff_find_nearest_line): Check COFFness using bfd_family_coff()\r
- instead of bfd_target_coff_flavour.\r
- * cofflink.c (_bfd_coff_final_link): Likewise.\r
- * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to\r
- exclude XCOFF files.\r
- * reloc.c (bfd_perform_relocation, bfd_install_relocation):\r
- Likewise.\r
- * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.\r
- * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.\r
- * xcofflink.c (XCOFF_XVECP): Delete.\r
- (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,\r
- bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,\r
- bfd_xcoff_record_link_assignment,\r
- bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with\r
- check for bfd_target_xcoff_flavour.\r
-\r
-2000-06-16 Nicholas Duffek <nsd@redhat.com>\r
-\r
- * rs6000-core.c: Support 64-bit core files, support pre-4.3 core\r
- files on AIX 4.3.\r
- (read_hdr): New function.\r
- (rs6000coff_core_p): Store mstsave or __context64 struct instead\r
- of trying to extract individual registers. Set abfd->arch_info\r
- to match the architecture that created the core file.\r
- (rs6000coff_get_section_contents): Delete.\r
- * xcoff-target.h (rs6000coff_get_section_contents): Delete.\r
-\r
-2000-06-14 H.J. Lu <hjl@gnu.org>\r
-\r
- * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)\r
- is NULL.\r
-\r
-2000-06-13 H.J. Lu <hjl@gnu.org>\r
-\r
- * configure: Regenerate.\r
-\r
-2000-06-13 J"orn Rennecke <amylaar@cygnus.co.uk>\r
-\r
- * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of\r
- armpei_little_vec.\r
-\r
-2000-06-08 David O'Brien <obrien@FreeBSD.org>\r
-\r
- * configure.in (VERSION): Update to show this is the CVS mainline.\r
-\r
-2000-06-07 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-d10v.c: Include elf/d10v.h\r
- (enum reloc_type): Delete.\r
- * elf32-d30v.c: Include elf/d30v.h\r
- (enum reloc_type): Delete.\r
-\r
- * Makefile.am: Run "make dep-am" to regenerate dependencies.\r
- * Makefile.in: Regenerate.\r
-\r
- * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs.\r
- (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and\r
- move HOWTOs into elf_howto_table.\r
- (R_386_standard, R_386_ext_offset): Define.\r
- (R_386_ext, R_386_vt_offset, R_386_vt): Define.\r
- (elf_i386_reloc_type_lookup): Modify calculation of index into\r
- elf_howto_table since we've removed the padding.\r
- (elf_i386_info_to_howto_rel): Likewise.\r
- (elf_i386_relocate_section): Likewise.\r
-\r
-2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>\r
-\r
- * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.\r
-\r
-2000-06-05 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag\r
- an error when seeing an undefined symbol with hidden/internal\r
- attribute. It is handled in *_relocate_section ().\r
-\r
-2000-06-05 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_fix_symbol_flags): Follow the link for the\r
- indirect symbol for the ELF_LINK_NON_ELF bit.\r
- (elf_link_output_extsym): Don't output the indirect symbol even\r
- if the ELF_LINK_NON_ELF bit is set.\r
-\r
-2000-06-01 J.T. Conklin <jtc@redback.com>\r
-\r
- * config.bfd (i[3456]86-*-netbsdelf*): New target.\r
- (i[3456]86-*-netbsdaout*): New target.\r
- (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.\r
- (i[3456]86-*-openbsd*): Likewise.\r
-\r
-2000-05-30 Andrew Cagney <cagney@b1.cygnus.com>\r
-\r
- * trad-core.c: From hpux-core.c, include <dirent.h> or\r
- <sys/ndir.h> when possible.\r
-\r
-2000-05-31 Ulrich Drepper <drepper@redhat.com>\r
-\r
- * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version\r
- definitions. We must not assume they are sorted in the file\r
- according to their index numbers.\r
-\r
-2000-05-31 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field\r
- selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and\r
- R_PARISC_DIR17F are for absolute branches; Handle them as such.\r
-\r
-2000-05-30 Nick Clifton <nickc@cygnus.com>\r
-\r
- * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB,\r
- 80960CA, 80960MC as valid machine names.\r
-\r
-2000-05-30 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the\r
- visibility bits if the symbol is undefined. Correctly handle\r
- weak undefined symbols with hidden and internal attributes.\r
-\r
- * elflink.h (elf_link_add_object_symbols): Always turn the\r
- symbol into local if it has the hidden or internal attribute.\r
-\r
-2000-05-29 Philip Blundell <philb@gnu.org>\r
-\r
- * ppcboot.c: Add packed attribute if compiling with GCC.\r
-\r
-2000-05-29 Anatoly Vorobey <mellon@pobox.com>\r
-\r
- * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.\r
-\r
-2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>\r
-\r
- * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus,\r
- elfcore_grok_psinfo): Add code to allow debugging a 32-bit\r
- corefile on a 64-bit (Sparc Solaris) host. Also clean up\r
- a few old comments.\r
-\r
-2000-05-26 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * Makefile.am: Update dependencies with "make dep-am"\r
- * Makefile.in: Regenerate.\r
-\r
- * sysdep.h (gettext, dgettext, dcgettext, textdomain,\r
- bindtextdomain): Replace defines with those from intl/libgettext.h\r
- to quieten gcc warnings.\r
-\r
-2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>\r
-\r
- * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH.\r
-\r
- * archive.c (normalize, bfd_bsd_truncate_arname,\r
- bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support\r
- file names with backslashes.\r
-\r
- * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file\r
- before opening it.\r
-\r
- * sysdep.h: Include filenames.h.\r
-\r
-2000-05-26 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.\r
-\r
-2000-05-26 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf64-sparc.c (sparc64_elf_relax_section): New.\r
- (sparc64_elf_relocate_section): Optimize tail call into branch always\r
- if possible.\r
- * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.\r
- (elf32_sparc_relax_section): New.\r
-\r
-2000-05-26 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.\r
- Remove unusued variables.\r
- (sparc64_elf_relocate_section): Change r_symndx type to unsigned long.\r
- (sparc64_elf_merge_private_bfd_data): Fix shared library case from\r
- previous fix, so that shared libs really don't influence targets\r
- extension mask and memory model.\r
-\r
-2000-05-23 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf64-alpha.c (elf64_alpha_relocate_section): Check\r
- h->root.other not h->other.\r
- * elf32-mips.c (mips_elf_calculate_relocation): Likewise.\r
-\r
- * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.\r
-\r
-2000-05-23 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-i386.c (elf_i386_relocate_section): Don't allow the\r
- undefined symbol with the non-default visibility attributes.\r
- * elf-hppa.h (elf_hppa_relocate_section): Likewise.\r
- * elf32-arm.h (elf32_arm_relocate_section): Likewise.\r
- * elf32-i370.c (i370_elf_relocate_section): Likewise.\r
- * elf32-m68k.c (elf_m68k_relocate_section): Likewise.\r
- * elf32-mcore.c (mcore_elf_relocate_section): Likewise.\r
- * elf32-mips.c (mips_elf_calculate_relocation): Likewise.\r
- * elf32-ppc.c (ppc_elf_relocate_section): Likewise.\r
- * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.\r
- * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.\r
- * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.\r
- * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.\r
-\r
-2000-05-22 Richard Henderson <rth@cygnus.com>\r
-\r
- * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,\r
- PCREL22, PCREL64I. Zero size of special relocs.\r
- (elf64_ia64_reloc_type_lookup): Likewise.\r
- (USE_BRL, oor_brl, oor_ip): New.\r
- (elf64_ia64_relax_section): New.\r
- (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.\r
- (elf64_ia64_install_value): Likewise, plus PCREL21BI.\r
- (elf64_ia64_relocate_section): Likewise.\r
- (bfd_elf64_bfd_relax_section): New.\r
- * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.\r
- (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.\r
- * bfd-in2.h, libbfd.h: Regenerate.\r
-\r
-2000-05-22 Nick Clifton <nickc@cygnus.com>\r
-\r
- * configure.in : Add peigen.lo to MIPS PE targets.\r
- * configure: Regenerate.\r
-\r
-2000-05-22 Momchil Velikov <velco@fadata.bg>\r
-\r
- * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess\r
- only if it is known for both input and output bfds. Separate\r
- error message strings as in some languages, it may be necessary\r
- to change more than one place in the string to change between\r
- 'big' and 'little'.\r
-\r
- * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline\r
- endianess checks, call _bfd_generic_verify_endian_match() instead.\r
-\r
- * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.\r
-\r
- * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.\r
-\r
- * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify\r
- endianess before checking bfd flavours.\r
-\r
-2000-05-22 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_link_output_extsym): Clear the visibility\r
- field for symbols not defined locally.\r
-\r
-2000-05-18 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,\r
- re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.\r
- (hppa_rebuild_insn): Mask immediate bits here instead.\r
- * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.\r
-\r
-2000-05-18 Momchil Velikov <velco@fadata.bg>\r
-\r
- * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting\r
- relocs for an executable, ensure that they are virtual addresses.\r
-\r
-2000-05-18 Jeffrey A Law (law@cygnus.com)\r
-\r
- * config.bfd (hppa*64*-*-hpux11*): New target triplet.\r
-\r
-2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>\r
- Rick Gorton <gorton@scrugs.lkg.dec.com>\r
-\r
- * elflink.h: Add emitrelocations support: when enabled, relocation\r
- information and relocation sections are put into final output\r
- executables. If the emitrelocations flag is set, do the following:\r
- (elf_bfd_final_link): Emit relocation sections.\r
- (elf_link_input_bfd): Compute relocation section contents.\r
- (elf_gc_sections): Don't clean relocation sections.\r
-\r
-2000-05-16 Catherine Moore <clm@cygnus.com>\r
-\r
- * som.c (som_decode_symclass): Recognize weak symbols.\r
-\r
-2000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com>\r
-\r
- * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that\r
- read idata section only from dataoff.\r
- (pe_print_edata): Correctly check for valid eat_member.\r
-\r
-2000-05-16 J"orn Rennecke <amylaar@cygnus.co.uk>\r
-\r
- * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.\r
-\r
-2000-05-14 Philip Blundell <philb@gnu.org>\r
-\r
- * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.\r
-\r
-2000-05-12 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec\r
-\r
- * peigen.c (pe_print_idata): Look for .idata section and print\r
- info even if data directory has zero entries. Read idata section\r
- starting from dataoff, and adjust all data offsets to suit. Cast\r
- all bfd_vma vars to unsigned long before passing to fprintf.\r
- * peigen.c (pe_print_edata): Similarly, look for .edata section\r
- and print info even if data directory has zero entries. Cast\r
- all bfd_vma vars to unsigned long before passing to fprintf.\r
-\r
- From Szabolcs Szakacsits <szaka@F-Secure.com>\r
- * peigen.c (pe_print_idata): Use bfd_section_size rather than data\r
- directory size which may be bogus.\r
- * peigen.c (pe_print_edata): Similarly.\r
-\r
-2000-05-09 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela\r
- section is empty.\r
- (copy_private_bfd_data): Allow for space possibly taken up by elf\r
- headers when calculating segment physical address from lma.\r
-\r
-2000-05-08 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * versados.c (versados_scan): Init stringlen and pass_2_done.\r
-\r
- * trad-core.c (trad_unix_core_file_p): Return\r
- bfd_error_wrong_format rather than bfd_error_file_truncated.\r
-\r
- * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to\r
- add_data_entry. DataDirectory virtual address is relative.\r
- (pe_print_idata): Account for relative DataDirectory virtual\r
- addresses. Don't trash datasize inside POWERPC_LE_PE code.\r
- (pe_print_edata): Similarly.\r
-\r
- From Szabolcs Szakacsits <szaka@F-Secure.com>\r
- * peigen.c (dir_names): Add Delay Import Directory.\r
- (pe_print_idata): Always search for bfd section containing\r
- idata address rather than looking up section name. Print this\r
- section name rather than .idata.\r
- (pe_print_edata): Similarly. Also print some fields as %08lx.\r
- (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as\r
- Win32Version.\r
-\r
-2000-05-05 Clinton Popetz <cpopetz@cygnus.com>\r
-\r
- * xcoff.h: Rename to xcoff-target.h\r
- * Makefile.am: Change all instances of xcoff.h to xcoff-target.h\r
- * coff-rs6000.c: Ditto.\r
- * coff64-rs6000.c: Ditto.\r
- * coff-pmac.c: Ditto.\r
- * Makefile.in: Regenerate.\r
-\r
-2000-05-05 Clinton Popetz <cpopetz@cygnus.com>\r
-\r
- * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):\r
- Change U802TOC64MAGIC to U803XTOCMAGIC.\r
-\r
-2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>\r
-\r
- * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.\r
- * bfd-in.h: Prototype bfd_elf_get_arch_size.\r
- * bfd-in2.h: Prototype bfd_elf_get_arch_size.\r
-\r
-2000-05-04 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.\r
-\r
-2000-05-03 Martin v. L\81öwis <loewis@informatik.hu-berlin.de>\r
-\r
- * elflink.h (elf_link_add_object_symbols): Reset dynindx for\r
- hidden and internal symbols.\r
- (elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with\r
- visibility.\r
- * elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not\r
- assign a PLT or GOT entry to symbols with hidden and\r
- internal visibility.\r
-\r
-2000-05-03 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add entry for\r
- the .bss section.\r
- * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.\r
-\r
-2000-05-02 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf.c (prep_headers): Use ELFOSABI_NONE instead of\r
- ELFOSABI_SYSV.\r
-\r
-2000-05-02 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * targets.c (bfd_target_vector): Restore bfd_elf32_hppa_vec.\r
- * Makefile.am (BFD32_BACKENDS): Restore elf32-hppa.lo. Regenerate\r
- dependencies.\r
- * Makefile.in: Regenerate.\r
-\r
-2000-05-01 Jim Wilson <wilson@cygnus.com>\r
-\r
- * Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo.\r
- (BFD32_BACKENDS_CFILES): Add efi-app-ia32.c.\r
- (BFD64_BACKENDS): Delete coff-ia64.lo. Add efi-app-ia64.lo.\r
- (BFD64_BACKENDS_CFILES): Delete coff-ia64.c. Add efi-app-ia64.c.\r
- * Makefile.in: Rebuild.\r
-\r
-2000-05-02 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * config.bfd: Re-enable elf32-hppa. It now compiles, even if it\r
- doesn't work very well.\r
-\r
- * elf-hppa.h (elf_hppa_internal_shdr): Define.\r
- (elf_hppa_fake_sections): hdr is elf_hppa_internal_shdr.\r
- Set hdr->s_type to 1 if ARCH_SIZE == 32.\r
- (_bfd_elf_hppa_gen_reloc_type): Add prototype.\r
- (elf_hppa_info_to_howto): Likewise.\r
- (elf_hppa_info_to_howto_rel): Likewise.\r
- (elf_hppa_reloc_type_lookup): Likewise.\r
- (elf_hppa_is_local_label_name): Likewise.\r
- (elf_hppa_fake_sections): Likewise.\r
- (elf_hppa_final_write_processing): Likewise.\r
- (elf_hppa_howto_table): Fully initialise all entries.\r
- (_bfd_elf_hppa_gen_reloc_type): Add ATTRIBUTE_UNUSED to args.\r
- (elf_hppa_info_to_howto): Likewise.\r
- (elf_hppa_info_to_howto_rel): Likewise.\r
- (elf_hppa_reloc_type_lookup): Likewise.\r
- (elf_hppa_final_write_processing, elf_hppa_add_symbol_hook,\r
- elf_hppa_unmark_useless_dynamic_symbols,\r
- elf_hppa_remark_useless_dynamic_symbols,\r
- elf_hppa_record_segment_addrs, elf_hppa_final_link,\r
- elf_hppa_relocate_section, elf_hppa_final_link_relocate,\r
- elf_hppa_relocate_insn): Compile only if ARCH_SIZE == 64 until\r
- elf32-hppa.c mess is cleaned up.\r
- (elf_hppa_final_link_relocate): Make insn and r_type unsigned\r
- int. Delete r_field. In case R_PARISC_PCREL21L, don't set\r
- r_field then call hppa_field_adjust inline func with variable\r
- r_field arg, instead call hppa_field_adjust with fixed arg.\r
- In case R_PARISC_PCREL22F, don't set r_field.\r
- (elf_hppa_relocate_insn): Change args and return type to unsigned\r
- int. Call re_assemble_* funcs to do the work.\r
-\r
- * elf32-hppa.c (hppa_elf_relocate_insn): Don't assume 32 bit when\r
- sign extending.\r
-\r
- * libhppa.h (HPPA_R_CONSTANT): Don't assume 32 bit when sign\r
- extending.\r
- (sign_extend): Mask first before sign extending.\r
- (low_sign_extend): Rewrite without condition expression.\r
- (ones, dis_assemble_3, dis_assemble_12, dis_assemble_16,\r
- dis_assemble_17, dis_assemble_21, dis_assemble_22): Delete.\r
- (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a,\r
- assemble_17, assemble_21, sign_unext, low_sign_unext): Return\r
- result as function return value rather than through pointer arg.\r
- Accept unsigned int args, and return unsigned int.\r
- (re_assemble_3): New. Combines function of dis_assemble_3 with\r
- re-assembly of opcode and immediate.\r
- (re_assemble_12): Likewise.\r
- (re_assemble_16): Likewise.\r
- (re_assemble_17): Likewise.\r
- (re_assemble_21): Likewise.\r
- (re_assemble_22): Likewise.\r
- (hppa_field_adjust): Rewrite and document, paying attention to\r
- size of types and signed/unsigned issues.\r
- (get_opcode): Shift before masking.\r
- (FDLW): Rename to FLDW.\r
- (bfd_hppa_insn2fmt): Change arg to unsigned int. Delete fmt.\r
- (hppa_rebuild_insn): Change args and return value to unsigned\r
- int. Make use of re_assemble_*. Correct case 11.\r
-\r
- * dep-in.sed: Handle ../opcodes/.\r
- * Makefile.am (SOURCE_HFILES): Add elf-hppa.h, elf32-hppa.h,\r
- elf64-hppa.h, hppa_stubs.h, xcoff.h.\r
- (BFD32_BACKENDS_CFILES): Restore elf32-hppa.c.\r
- Remove elf64-hppa.lo, cpu-ia64.lo, elf64-ia64.lo, elfarm-oabi.lo,\r
- elfarm-nabi.lo dependencies outside of auto-dependency area.\r
- Regenerate dependencies.\r
- * Makefile.in: Regenerate.\r
-\r
- * configure.in (TRAD_HEADER): Test non-null before\r
- AC_DEFINE_UNQUOTED.\r
- * configure: Regenerate.\r
-\r
- * reloc.c: Fix mis-spelling in comment.\r
-\r
-2000-05-01 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * coff-sh.c (bfd_coff_small_swap_table): Fix Fri Apr 28 change.\r
- * vms.c (vms_openr_next_archived_file): Return NULL.\r
-\r
-2000-04-28 Clinton Popetz <cpopetz@cygnus.com>\r
-\r
- * coffcode.h Copy changes mistakenly done to libcoff.h in\r
- 4/24/2000 patch.\r
-\r
-2000-04-29 Andreas Jaeger <aj@suse.de>\r
-\r
- * libbfd-in.h: Correctly check GCC version.\r
- * bfd-in.h: Likewise.\r
- * libhppa.h: Likewise.\r
- * libbfd.h: Regenerate.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2000-04-28 Clinton Popetz <cpopetz@cygnus.com>\r
-\r
- * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add\r
- coffdu-rs6000.{lo,c}.\r
- (coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency\r
- on xcoff.h\r
- * Makefile.in: Regenerate.\r
- * xcoff.h: New file.\r
- * coff-pmac.c: Use xcoff.h instead of coff-rs6000.c.\r
- * coff-rs6000.c: Move all declarations and defines that are\r
- common to the xcoff backends into xcoff.h\r
- * coff64-rs6000.c: Ditto,\r
-\r
-2000-04-28 Clinton Popetz <cpopetz@cygnus.com>\r
-\r
- * coff-mips.c (mips_ecoff_backend_data): Add initialization of\r
- _bfd_coff_force_symnames in strings and\r
- _bfd_coff_debug_string_prefix_length to their default values.\r
- * coff-sh.c: (bfd_coff_small_swap_table): Ditto.\r
-\r
-2000-04-28 Clinton Popetz <cpopetz@cygnus.com>\r
-\r
- * coff-alpha.c (alpha_ecoff_backend_data): Add initialization of\r
- _bfd_coff_force_symnames in strings and\r
- _bfd_coff_debug_string_prefix_length to their default values.\r
-\r
-2000-04-27 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return if dynobj NULL.\r
- Check local_got_refcounts before dereferencing.\r
-\r
- * elf32-ppc.c (ppc_elf_relocate_section): Check splt != NULL\r
- before deciding we don't need R_PPC_PLT32 relocation.\r
- (ppc_elf_gc_sweep_hook): Check local_got_refcounts before\r
- dereferencing.\r
-\r
- * elflink.h (elf_gc_common_finalize_got_offsets): Fix comment.\r
-\r
- * elf32-i386.c (elf_i386_check_relocs): Reference count .got and\r
- .plt entries.\r
- (elf_i386_gc_sweep_hook): Garbage collect .got and .plt entries.\r
- (elf_i386_adjust_dynamic_symbol): Recognize unused .plt entries.\r
- (elf_i386_relocate_section): Allow for .plt to go missing.\r
- (elf_i386_finish_dynamic_symbol): Use same test to decide if we\r
- can use a relative reloc for got as elf_i386_relocate_section.\r
- (bfd_elf32_bfd_final_link): Define to use gc form of final link.\r
-\r
-2000-04-26 Clinton Popetz <cpopetz@cygnus.com>\r
-\r
- * config.bfd: Remove extraneous bfd_powerpc_64_arch.\r
-\r
-2000-04-24 Clinton Popetz <cpopetz@cygnus.com>\r
-\r
- * Makefile.am (coff64-rs6000.lo): New rule.\r
- * Makefile.in: Regenerate.\r
- * coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,\r
- xcoff_is_local_label_name, xcoff_rtype2howto,\r
- xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,\r
- xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,\r
- xcoff_write_archive_contents): No longer static, and prefix with _bfd_.\r
- (NO_COFF_SYMBOLS): Define.\r
- (xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,\r
- xcoff64_swap_aux_out): New functions; handle xcoff symbol tables\r
- internally.\r
- (MINUS_ONE): New macro.\r
- (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS\r
- relocation.\r
- (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in,\r
- coff_SWAP_aux_out): Map to the new functions.\r
- * coff64-rs6000.c: New file.\r
- * libcoff.h (bfd_coff_backend_data): Add new fields\r
- _bfd_coff_force_symnames_in_strings and\r
- _bfd_coff_debug_string_prefix_length.\r
- (bfd_coff_force_symnames_in_strings,\r
- bfd_coff_debug_string_prefix_length): New macros for above fields.\r
- * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.\r
- Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead\r
- of using coff_swap_sym_in directly.\r
- (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.\r
- (coff_set_flags) Set magic for XCOFF64.\r
- (coff_compute_section_file_positions): Add symbol name length to\r
- string section length if bfd_coff_debug_string_prefix_length is\r
- true.\r
- (coff_write_object_contents): Don't do reloc overflow for XCOFF64.\r
- (coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of\r
- using coff_swap_lineno_in directly.\r
- (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings\r
- and _bfd_coff_debug_string_prefix_length fields.\r
- * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force\r
- symbol names into strings table when\r
- bfd_coff_force_symnames_in_strings is true.\r
- * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,\r
- SET_RELOC_VADDR): New macros.\r
- (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.\r
- (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C\r
- code.\r
- (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64\r
- changes within RS6000COFF_C specific code.\r
- (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC,\r
- MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.\r
- * reloc.c (bfd_perform_relocation, bfd_install_relocation):\r
- Extend existing hack on target name.\r
- * xcofflink.c (XCOFF_XVECP): Extend existing hack on\r
- target name.\r
- * coff-tic54x.c (ticof): Keep up to date with new fields\r
- in bfd_coff_backend_data.\r
- * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define\r
- targ_selvecs to include rs6000coff64_vec for rs6000.\r
- * configure.in: Add rs6000coff64_vec case.\r
- * cpu-powerpc.c: New bfd_arch_info_type.\r
-\r
-2000-04-24 Jeffrey A Law (law@cygnus.com)\r
-\r
- * config.bfd: Only disable elf32-hppa vectors, not all of the\r
- BSD and OSF configuration support. Provide (disabled) clauses\r
- for PA64 support.\r
- * configure.in: Add clause for PA64 support.\r
- * configure: Rebuilt.\r
-\r
- * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.\r
- (bfd_elf64_hppa_vec): Declare.\r
-\r
- * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo\r
- (BFD64_BACKENDS_CFILES): Add elf64-hppa.c\r
- (elf64-hppa.lo): Add dependencies.\r
- * Makefile.in: Rebuilt.\r
-\r
- * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.\r
-\r
-2000-04-24 Jason Eckhardt <jle@cygnus.com>\r
-\r
- * libhppa.h (dis_assemble_16): New function.\r
- (pa_arch): Added pa20w element.\r
-\r
-2000-04-24 Ulrich Drepper <drepper@cygnus.com>\r
-\r
- * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,\r
- bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and\r
- bfd_elf64_slurp_reloc_table.\r
-\r
- * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New\r
- definitions to get external names.\r
- (elf_write_relocs): Renamed from write_relocs and make global.\r
- (elf_slurp_reloc_table): Make global.\r
- (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.\r
-\r
- * archive.c (hpux_uid_gid_encode): New function.\r
- (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is\r
- defined and the ID is greater than 99999.\r
- (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode\r
- special uid/gid fields into 32 bit values.\r
-\r
-2000-04-21 Matthew Green <mrg@cygnus.com>\r
-\r
- * config.bfd: Add NetBSD/sparc64 support.\r
-\r
-Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>\r
- David Mosberger <davidm@hpl.hp.com>\r
- Timothy Wall <twall@cygnus.com>\r
- Jim Wilson <wilson@cygnus.com>\r
-\r
- * Makefile.am (ALL_MACHINES): Add cpu-ia64.lo.\r
- (ALL_MACHINES_CFILES): Add cpu-ia64.c.\r
- (BFD64_BACKENDS): Add elf64-ia64.lo.\r
- (BFD64_BACKENDS_CFILES): Add elf64-ia64.c.\r
- (cpu-ia64.lo, elf64-ia64.lo): New rules.\r
- * Makefile.in: Rebuild.\r
- * archures.c (enum bfd_architecture): Add bfd_arch_ia64.\r
- (bfd_ia64_arch): Declare.\r
- (bfd_archures_list): Add bfd_ia64_arch.\r
- * bfd-in2.h: Rebuild.\r
- * config.bfd: (ia64*-*-linux-gnu*, ia64*-*-elf*): New targets.\r
- * configure: Rebuild.\r
- * configure.host: (ia64-*-linux*): New host.\r
- * configure.in (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec,\r
- bfd_efi_app_ia64_vec, bfd_efi_app_ia64_vec): New vectors.\r
- * elf.c (prep_headers): Add bfd_arch_ia64.\r
- * libbfd.h: Rebuild.\r
- * reloc.c: Add IA-64 relocations.\r
- * targets.c (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec):\r
- Declare.\r
- (bfd_target_vect): Add bfd_elf64_ia64_little_vec.\r
- * cpu-ia64-opc.c, cpu-ia64.c, elf64-ia64.c: New files.\r
-\r
-2000-04-21 Richard Henderson <rth@cygnus.com>\r
-\r
- * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section\r
- contents when performing a partial link.\r
- (bfd_elf_d30v_reloc_21): Likewise.\r
-\r
-2000-04-20 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf32-i386.c (elf_i386_relocate_section): Restrict 1998-12-10\r
- patch to symbols defined by a shared object.\r
- * elf32-ppc.c (ppc_elf_relocate_section): Similarly.\r
-\r
-2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>\r
-\r
- K&R compiler fixes.\r
- * dwarf2.c (concat_filename): Avoid string literal concatenation.\r
- * ieee.c (ieee_get_symtab): Don't initialise union in struct.\r
-\r
-Mon Apr 17 19:14:36 2000 David Mosberger <davidm@hpl.hp.com>\r
-\r
- * Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo.\r
- (BFD64_BACKENDS_CFILES): Mention coff-ia64.c\r
- (coff-ia64.lo): Add dependency.\r
- * Makefile.in: Regenerate.\r
- * coff-ia64.c: New file.\r
- * efi-app-ia32.c: Ditto.\r
- * efi-app-ia64.c: Ditto.\r
- * coffcode.h (coff_set_arch_mach_hook): Handle IA64MAGIC.\r
- (coff_set_flags): Ditto.\r
- (coff_write_object_contents) [IA64]: Set magic number to ZMAGIC.\r
- * config.bfd (i[3456]86-*-linux-gnu*): Mention bfd_efi_app_ia32_vec.\r
- * configure.in (elf): Handle bfd_efi_app_ia32 and bfd_efi_app_ia64_vec.\r
- * configure: Regenerate.\r
- * libpei.h (GET_OPTHDR_IMAGE_BASE): New macro.\r
- (PUT_OPTHDR_IMAGE_BASE): Ditto.\r
- (GET_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto.\r
- (PUT_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto.\r
- (GET_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto.\r
- (PUT_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto.\r
- (GET_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto.\r
- (PUT_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto.\r
- (GET_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto.\r
- (PUT_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto.\r
- (GET_PDATA_ENTRY): Ditto.\r
- * peigen.c (_bfd_pei_swap_aouthdr_in) [COFF_WITH_PEP64]: Don't read\r
- data_start. Use above macros to read fields that are 64 bit wide for\r
- COFF_WITH_PEP64. Don't truncate entry and text_start to 32 bits.\r
- (_bfd_pei_swap_aouthdr_out) [PEI_FORCE_MINIMUM_ALIGNMENT]: Force\r
- FileAlignment and SectionAlignment to minimum alignment if they\r
- are zero.\r
- (_bfd_pei_swap_aouthdr_out) [PEI_DEFAULT_TARGET_SUBSYSTEM]: Set\r
- Subsystem to default PEI_DEFAULT_TARGET_SUBSYSTEM.\r
- (_bfd_pei_swap_aouthdr_out) [COFF_WITH_PEP64]: Don't set data_start.\r
- Use above macros to write fields that are 64 bit wide for\r
- COFF_WITH_PEP64.\r
- (pe_print_pdata): Set PDATA_ROW_SIZE to 3*8 for COFF_WITH_PEP64,\r
- 5*4 otherwise. This should be right for IA-32 and IA-64, but may\r
- be wrong for platforms. Use PDATA_ROW_SIZE instead of hardcoded\r
- value of 20 bytes. Modify printing for COFF_WITH_PEP64 to print\r
- begin address, end address, and unwind info address only. Use\r
- GET_PDATA_ENTRY() to read .pdata entries. Use fprintf_vma() to\r
- print addresses.\r
- (tbl): Add SECTION, REL32, RESERVED1, MIPS_JMPADDR16, DIR64, and\r
- HIGH3ADJ relocation names.\r
- (_bfd_pe_print_private_bfd_data): Print Subsystem name in legible form.\r
- * targets.c: Declare bfd_efi_app_ia32_vec and\r
- bfd_efi_app_ia64_vec.\r
- (bfd_target_vector): Mention bfd_efi_app_ia32_vec and\r
- bfd_efi_app_ia64_vec.\r
-\r
-2000-04-17 Timothy Wall <twall@cygnus.com>\r
-\r
- * bfd-in2.h: Add prototypes for tic54x load page access.\r
- * bfd-in.h: Regenerate.\r
- * coff-tic54x.c: Add load page functions; allow bfd_arch_unknown\r
- in customized _set_arch_mach function.\r
- * coffcode.h (coff_set_alignment_hook): Set section load page if\r
- the appropriate macro is defined.\r
- (write_object_contents): Read section load page.\r
-\r
-2000-04-13 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-hppa.h: Update copyright date.\r
-\r
- * elf32-fr30.c (fr30_elf_i20_reloc): Don't use U suffix.\r
- * elf32-mips.c (_bfd_mips_elf_relocate_section): And here.\r
-\r
- * elf32-d30v.c (MAX32): Don't use LL suffix.\r
- (MIN32): Define in terms of MAX32.\r
- (bfd_elf_d30v_reloc): Make relocation a bfd_signed_vma.\r
-\r
- * coff-a29k.c (SIGN_EXTEND_HWORD): Replace with more concise\r
- expression.\r
-\r
- * peicode.h (pe_ILF_build_a_bfd): Remove UL from hex constants.\r
-\r
-2000-04-12 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * dep-in.sed: Match space before file name, not after.\r
- * Makefile.am: Regenerate dependencies.\r
- * Makefile.in: Regenerate.\r
-\r
- * reloc.c (_bfd_relocate_contents): In complain_overflow_bitfield\r
- case, allow address wrap-around stupidly removed 2000-03-17. Sign\r
- extend without an if statement.\r
-\r
-2000-04-11 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * coff-mips.c (mips_gprel_reloc): Test for 16 bit range using\r
- signed quantites.\r
- * elf32-mips.c (gprel16_with_gp): Likewise.\r
- * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Test range\r
- here using -0x40000, not (int)0xfffc0000.\r
- (elf32_hppa_size_of_stub): Likewise.\r
-\r
-2000-04-11 Timothy Wall <twall@cygnus.com>\r
-\r
- * coff-tic54x.c: Now builds with all targets.\r
- * Makefile.am: Add coff/tic54x.h to coff-tic54x.o dependencies.\r
- * Makefile.in: Regenerate.\r
- * coffcode.h (coff_set_arch_mach_hook): Eliminate warning on\r
- unitialized variable.\r
-\r
-Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>\r
-\r
- * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add\r
- --enable-build-warnings option.\r
- * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.\r
- * Makefile.in, configure: Re-generate.\r
-\r
-2000-04-07 Nick Clifton <nickc@cygnus.com>\r
-\r
- * reloc.c: Add BFD_RELOC_ARM_PCREL_BLX and\r
- BFD_RELOC_THUMB_PCREL_BLX.\r
-\r
- * elf32-arm.h (elf32_arm_final_link_relocate): Handle\r
- R_ARM_XPC25 and R_ARM_THM_PC22.\r
-\r
- * elfarm-nabi.c (elf32_arm_howto_): Fix definitions of\r
- R_ARM_XPC25 and R_ARM_THM_XPC22.\r
- (elf32_arm_reloc_map): Make BFD_RELOC_{ARM|THUMB}_PCREL_BLX to\r
- R_ARM_[XPC25|THM_XPC22].\r
-\r
- * elfarm-oabi.c: Define OLD_ARM_ABI and change include from\r
- elf/arm-oabi.h to elf/arm.h\r
-\r
- * Makefile.am: Fix dependency for elfarm-oabi.c\r
- * Makefile.in: Regenerate.\r
-\r
- * bfd-in2.h: Regenerate.\r
- * libbfd.h: Regenerate.\r
-\r
-2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>\r
-\r
- * elfcore.h (elf_core_file_p): preserve value of tdata at entry,\r
- and restore it on failure. Release newly allocated tdata on\r
- failure.\r
-\r
-Fri Apr 7 11:33:47 2000 Jim Wilson <wilson@cygnus.com>\r
-\r
- * dwarf2.c (struct dwarf2_debug): New field dwarf_line_size.\r
- (decode_line_info): Set it. Report error if unit->line_offset is\r
- equal to or larger than it.\r
-\r
-2000-04-07 Timothy Wall <twall@cygnus.com>\r
-\r
- * targets.c: Added vecs for tic54x.\r
- * reloc.c: Added relocs for tic54x.\r
- * libbfd.h: Regenerated.\r
- * configure: Add TI COFF vecs for tic54x.\r
- * configure.in: Ditto.\r
- * config.bfd (targ_cpu): Recognize new tic54x target.\r
- * coffcode.h (coff_slurp_symbol_table): Additions for TI COFF handling.\r
- * bfd-in2.h: Add tic54x target and relocations.\r
- * Makefile.am, Makefile.in: Add tic54x target.\r
- * archures.c (bfd_archures_list): Add tic54x target.\r
- * coff-tic54x.c: New.\r
- * cpu-tic54x.c: New.\r
-\r
-2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>\r
-\r
- * elfcore.h (elf_core_file_p): call backend_object_p which\r
- thereby gets an opportunity to update the arch/machine type.\r
-\r
-2000-04-06 Timothy Wall <twall@cygnus.com>\r
-\r
- * coffcode.h (coff_slurp_symbol_table): Handle C_STATLAB storage\r
- class. Handle SEC_CLINK and SEC_BLOCK flags.\r
- * section.c: Add SEC_CLINK and SEC_BLOCK flags.\r
- * bfd-in2.h: Add SEC_CLINK and SEC_BLOCK flags.\r
-\r
-2000-04-06 Nick Clifton <nickc@cygnus.com>\r
-\r
- * elf32-arm.h (elf32_arm_set_private_flags): Only check for\r
- EF_INTERWORK if this is an unknown EABI.\r
- (elf32_arm_merge_private_bfd_data): Check EABI version\r
- numbers. Only check EF_xxx flags if the EABI version number\r
- is unknown.\r
- (elf32_arm_check_private_bfd_data): Only check EF_xxx flags\r
- if the EABI version number is unknown.\r
- (elf32_arm_print_private_bfd_data): Only decode EF_xxx flags\r
- if the EABI version number is unknown.\r
-\r
-Wed Apr 5 22:04:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>\r
-\r
- * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and\r
- BFD_RELOC_SH_LOOP_END.\r
- * elf32-sh.c (sh_elf_howto_tab): Change special_func to\r
- sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.\r
- Add entries for R_SH_LOOP_START and R_SH_LOOP_END.\r
- (sh_elf_reloc_loop): New function.\r
- (sh_elf_reloc): No need to test for always-to-be-ignored relocs\r
- any more.\r
- (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.\r
- (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.\r
- * bfd-in2.h, libbfd.h: Regenerate.\r
-\r
-2000-04-04 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * po/bfd.pot: Regenerate.\r
-\r
- * Makefile.am: Remove extraneous mkdep comment.\r
- (MKDEP): Use gcc -MM rather than mkdep.\r
- (DEP): Quote when passing vars to sub-make. Add warning\r
- message to end.\r
- (DEP1): Rewrite for "gcc -MM".\r
- (CLEANFILES): Add DEP2.\r
- Update dependencies.\r
- * Makefile.in: Regenerate.\r
-\r
-2000-04-03 Kevin Buettner <kevinb@redhat.com>\r
-\r
- * configure.in: Added corefile support for AIX 4.3. In particular,\r
- AIX_CORE_DUMPX_CORE will be defined in addition to AIX_CORE when\r
- compiling rs6000-core.c.\r
- * configure: Regenerated.\r
-\r
-2000-04-03 H.J. Lu <hjl@gnu.org>\r
-\r
- * cache.c (bfd_open_file): Unlink the output file only if\r
- it has non-zero size.\r
-\r
-2000-04-01 Ken Block USG <block@zk3.dec.com>\r
-\r
- * elf64-alpha.c (elf64_alpha_relocate_section): Don't emit\r
- relative relocations for non-loaded sections in shared objects.\r
- (elf64_alpha_check_relocs): Similarly.\r
-\r
-Mon Apr 3 13:37:15 2000 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and\r
- BFD_RELOC_16 to switch for extended relocs.\r
- (MY_swap_ext_reloc_in): New.\r
- (MY_swap_ext_reloc_out): New.\r
- (NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather\r
- than NAME(aout,swap_ext_reloc_in) for extended relocs.\r
- (NAME(aout,squirt_out_relocs)): Similarly use\r
- MY_swap_ext_reloc_out.\r
- (aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.\r
-\r
-2000-04-03 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to\r
- the R_PCRWORD_B case.\r
-\r
-2000-03-31 Thomas de Lellis <tdel@wrs.com>\r
-\r
- * srec.c : Set CHUNK size to 16 bytes to prevent download failures\r
- on some targets.\r
- * ihex.c : Ditto.\r
-\r
-Wed Mar 30 15:28:00 2000 Donald Lindsay <dlindsay@cygnus.com>\r
-\r
- * elf32-m32r.c (m32r_elf_generic_reloc): new function. All\r
- HOWTO references to bfd_elf_generic_reloc, that have\r
- partial_inplace == true, now use the new function. The function\r
- is based on the recent rewrite of m32r_elf_lo16_reloc(), and\r
- extends its fixes to the R_M32R_{16,24,32} relocs.\r
- The new logic in m32r_elf_lo16_reloc() has been removed, and\r
- it instead calls the new routine to obtain that functionality.\r
-\r
-2000-03-27 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * elf32-avr.c (elf32_avr_gc_mark_hook, elf32_avr_gc_sweep_hook,\r
- elf32_avr_check_relocs, avr_final_link_relocate,\r
- elf32_avr_relocate_section, bfd_elf_avr_final_write_processing,\r
- elf32_avr_object_p): Add prototypes.\r
- (elf32_avr_gc_mark_hook): Add default for h->root.type.\r
- (bfd_elf_avr_final_write_processing): Make static.\r
-\r
-2000-03-27 Denis Chertykov <denisc@overta.ru>\r
-\r
- * cpu-avr.c: New file. BFD support routines for AVR architecture.\r
- * archures.c (bfd_architecture): Add AVR architecture.\r
- (bfd_archures_list): Add reference to AVR architecture info.\r
- * elf.c (prep_headers): Handle bfd_arch_avr.\r
- * reloc.c: Add various AVR relocation enums.\r
- * targets.c (bfd_elf32_avr_vec): Declare and add to target vector\r
- list.\r
- * Makefile.am: Add support for AVR elf.\r
- * configure.in: Likewise.\r
- * config.bfd: Likewise.\r
- * Makefile.in: Regenerate.\r
- * configure: This too.\r
- * bfd-in2.h: And this.\r
- * libbfd.h: And this.\r
-\r
-2000-03-24 H.J. Lu <hjl@gnu.org>\r
-\r
- * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Add prototype.\r
- (elf64_alpha_find_reloc_at_ofs): Likewise.\r
-\r
-2000-03-17 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * reloc.c (bfd_check_overflow): In case complain_overflow_bitfield,\r
- flag an overflow if the bitfield is outside -2**n to 2**n-1. The\r
- allowable range used to be -2**(n-1) to 2**n-1.\r
- * reloc.c (_bfd_relocate_contents): Same here. Also replace\r
- "boolean overflow" with "bfd_reloc_status_type flag".\r
-\r
-2000-03-14 Doug Evans <dje@casey.transmeta.com>\r
-\r
- * elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite.\r
-\r
-2000-03-14 Kazu Hirata <kazu@hxi.com>\r
-\r
- * reloc16.c (bfd_coff_reloc16_relax_section): Count the total number\r
- of shrinks properly, including the last reloc.\r
-\r
-2000-03-13 Kazu Hirata <kazu@hxi.com>\r
-\r
- * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity\r
- check for R_MOVL2.\r
-\r
-2000-03-11 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * ieee.c (ieee_archive_p): Return bfd_error_wrong_format on\r
- a format mismatch rather than an "error" from bfd_read such as\r
- bfd_error_file_truncated.\r
-\r
-2000-03-10 Geoff Keating <geoffk@cygnus.com>\r
-\r
- * elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper\r
- sign-extension and big-endian compensation for\r
- R_MIPS_64 even in ld -r.\r
-\r
-2000-03-10 Geoffrey Keating <geoffk@cygnus.com>\r
-\r
- * elf32-mips.c (mips_elf_next_relocation): Rename from\r
- mips_elf_next_lo16_relocation, and generalize to look\r
- for any relocation type.\r
- (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.\r
- (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.\r
- (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.\r
- (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.\r
- (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.\r
- (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.\r
- (bfd_elf32_bfd_reloc_type_lookup): Add new relocs.\r
- (mips_rtype_to_howto): Likewise.\r
- (mips_elf_calculate_relocation): Handle new relocs.\r
- (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs\r
- are paired. The addend for R_MIPS_GNU_REL16_S2\r
- is shifted right two bits.\r
-\r
-2000-03-10 Alan Modra <alan@linuxcare.com.au>\r
-\r
- * reloc.c (bfd_perform_relocation): Undo emacs formatting of\r
- comment, and ensure it doesn't happen again.\r
- (bfd_install_relocation): Same here.\r
- (_bfd_relocate_contents): Don't bother assigning unused signmask\r
- shift result. Fix typos in comments.\r
- Remove trailing whitespace throughout file.\r
-\r
-2000-03-07 Doug Evans <dje@casey.transmeta.com>\r
-\r
- * reloc.c (reloc_howto_struct): Fix partial_inplace comment.\r
- * bfd-in2.h: Rebuild.\r
-\r
-2000-03-06 Nick Clifton <nickc@cygnus.com>\r
-\r
- * peicode.h (struct pe_ILF_vars): Add sym_ptr_table and\r
- sym_ptr_ptr fields.\r
- (SIZEOF_ILF_SYM_PTR_TABLE): Define.\r
- (SIZEOF_ILF_STRINGS): Redefine.\r
- (pe_ILF_make_a_symbol-reloc): New function. Creates a symbol\r
- relative reloc, as opposed to a section relative reloc.\r
- (pe_ILF_make_a_symbol): Set the class of local symbols to C_STAT\r
- not C_LABEL.\r
- Add length of symbol's prefix to string pointer.\r
- Store a pointer to the symbol in the symbol pointer table.\r
- (pe_ILF_build_a_bfd): Do not build .idata$2 or .idata$7.\r
- Initialise the symbol pointer table.\r
- Store the hint in the Hint/Name table.\r
- Make the jump reloc be symbol realtive, not section relative.\r
- Create an import symbol for imported code.\r
-\r
-2000-03-06 Catherine Moore <clm@cygnus.com>\r
-\r
- * elf.c (swap_out_syms): Check for null type_ptr.\r
-\r
-2000-03-01 Hans-Peter Nilsson <hp@axis.com>\r
-\r
- * aout-target.h (MY(write_object_contents)): Remove unused\r
- and unusable "#if CHOOSE_RELOC_SIZE".\r
- * pc532-mach.c (MY(write_object_contents)): Ditto.\r
- * netbsd.h (MY(write_object_contents)): Ditto.\r
- * hp300hpux.c (MY(write_object_contents)): Ditto.\r
- * freebsd.h (MY(write_object_contents)): Ditto.\r
- * aout-tic30.c (tic30_aout_write_object_contents): Ditto.\r
-\r
-2000-02-29 H.J. Lu <hjl@gnu.org>\r
-\r
- * peicode.h (jtab): Make it static.\r
-\r
- * coff-sh.c (sh_align_load_span): Declared if COFF_WITH_PE is\r
- defined and COFF_IMAGE_WITH_PE is not defined.\r
- (_bfd_sh_align_load_span): Defined as sh_align_load_span if\r
- COFF_WITH_PE is defined and COFF_IMAGE_WITH_PE is not defined.\r
-\r
-2000-03-01 Nick Clifton <nickc@cygnus.com>\r
-\r
- * coff-arm.c (bfd_arm_process_before_allocation): Make\r
- 'symndx' signed to prevent compile time warning.\r
-\r
- * coff-mcore.c: Remove unused prototype for pe_object_p.\r
-\r
- * coff-sh.c: Add "#ifndef COFF_IMAGE_WITH_PE" around static\r
- functions that are not used when COFF_IMAGE_WITH_PE is\r
- defined.\r
- (struct sh_opcode): Change type of 'flags' field to unsigned\r
- long so that it can hold the USESAS flag.\r
-\r
- * coffcode.h (styp_to_sec_flags): Initialise 'target_name'.\r
-\r
- * elf-m10300.c (mn10300_elf_relax_section): Initialise\r
- 'sym_sec'.\r
-\r
- * elf32-i370.c: Add ATTRIBUTE_UNUSED to unused function\r
- parameters.\r
- Remove unusued variables and code.\r
- (elf_backend_add_symbol_hook): Fix prototype.\r
-\r
- * elf32-m68k.c (elf_m68k_gc_sweep_hook): Initialise 'sgot' and\r
- 'srelgot'.\r
-\r
- * elf32-mcore.c (mcore_elf_relocate_section): Initialise\r
- 'oldinst'.\r
-\r
- * elf32-mips.c: Add ATTRIBUTE_UNUSED to unused function\r
- parameters.\r
- Remove unusued variables and code.\r
- (elf_backend_add_symbol_hook): Fix prototype.\r
-\r
- * elf32-sh.c (sh_elf_set_mach_from_flags): Use 'flags'.\r
-\r
- * elflink.h (elf_bfd_link_add_symbols): Add ATTRIBUTE_UNUSED\r
- to unused function parameter.\r
-\r
- * pe-mips.c: Add ATTRIBUTE_UNUSED to unused function\r
- parameters.\r
- Use EMPTY_HOWTO to initialise empty howto slots.\r
- Remove unused variables.\r
-\r
- * peicode.h (pe_ILF_build_a_bfd): Initialise id6.\r
-\r
-2000-03-01 H.J. Lu <hjl@gnu.org>\r
-\r
- * aoutx.h (aout_link_input_section_std): Pass "true" to\r
- the undefined_symbol callback.\r
- (aout_link_input_section_ext): Likewise.\r
- * bout.c (get_value): Likewise.\r
- * coff-a29k.c (coff_a29k_relocate_section): Likewise.\r
- * coff-alpha.c (alpha_ecoff_get_relocated_section_conten):\r
- Likewise.\r
- (alpha_relocate_section): Likewise.\r
- * coff-arm.c (coff_arm_relocate_section): Likewise.\r
- * coff-i960.c (coff_i960_relocate_section): Likewise.\r
- * coff-mcore.c (coff_mcore_relocate_section): Likewise.\r
- * coff-mips.c (mips_relocate_section): Likewise.\r
- * coff-ppc.c (coff_ppc_relocate_section): Likewise.\r
- * coff-sh.c (sh_relocate_section): Likewise.\r
- * coff-tic80.c (coff_tic80_relocate_section): Likewise.\r
- * cofflink.c (_bfd_coff_generic_relocate_section): Likewise.\r
- * elf-m10200.c (mn10200_elf_relocate_section): Likewise.\r
- * elf-m10300.c (mn10300_elf_relocate_section): Likewise.\r
- * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.\r
- * elf32-fr30.c (fr30_elf_relocate_section): Likewise.\r
- * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.\r
- * elf32-i370.c (i370_elf_relocate_section): Likewise.\r
- * elf32-m32r.c (m32r_elf_relocate_section): Likewise.\r
- * elf32-mcore.c (mcore_elf_relocate_section): Likewise.\r
- * elf32-sh.c (sh_elf_relocate_section): Likewise.\r
- * elf32-v850.c (v850_elf_relocate_section): Likewise.\r
- * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.\r
- * elflink.h (elf_link_output_extsym): Likewise.\r
- * pe-mips.c (coff_pe_mips_relocate_section): Likewise.\r
- * reloc.c (bfd_generic_get_relocated_section_conten): Likewise.\r
- * reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise.\r
-\r
- * elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the\r
- undefined_symbol callback when building shared library with\r
- -Bsymbolic and undefined symbols are allowed. Otherwise, pass\r
- "true".\r
- * elf32-arm.h (elf32_arm_relocate_section): Likewise.\r
- * elf32-i386.c (elf_i386_relocate_section): Likewise.\r
- * elf32-m68k.c (elf_m68k_relocate_section): Likewise.\r
- * elf32-mips.c (mips_elf_calculate_relocation): Likewise.\r
- (elf32_mips_get_relocated_section_content): Likewise.\r
- * elf32-ppc.c (ppc_elf_relocate_section): Likewise.\r
- * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.\r
- * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.\r
- * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.\r
-\r
-2000-02-28 Nick Clifton <nickc@cygnus.com>\r
-\r
- * Makefile.am: Add rules to build pe[i]-{sh|mips}.lo objects.\r
- * Makefile.in: Regenerate.\r
-\r
- * configure.in: Add support for mips and sh pe vectors.\r
- * configure: regenerate.\r
-\r
- * config.bfd: Add support for arm-wince, mips-pe and sh-pe\r
- targets.\r
-\r
- * targets.c: Add mips and sh pe vectors.\r
-\r
- * libpei.h (coff_final_link_postscript): Only define if not\r
- already defined.\r
-\r
- * coffcode.h: Add support for WinCE magic numbers.\r
-\r
- * peigen.c (pe_print_reloc): Update comment and rearrange\r
- appending of newline character.\r
-\r
- * peicode.h: Add support for Image Library Format.\r
- (pe_ILF_vars): Structure containing data used by ILF code.\r
- (pe_ILF_make_a_section): New function. Create a section based\r
- on ILF data.\r
- (pe_ILF_make_a_reloc): New function. Create a reloc based on\r
- ILF data.\r
- (pe_ILF_make_a_symbol): New function. Create a symbol based\r
- on ILF data.\r
- (pe_ILF_save_relocs): New function. Store the relocs created\r
- by pe_ILF_make_a_reloc in a section.\r
- (pe_ILF_build_a_bfd): New function. Create a BFD describing\r
- an ILF object.\r
- (pe_ILF_object_p): New function. Return a bfd_target pointer\r
- for an ILF object.\r
- (pe_bfd_object_p): If an ILF object is detected call\r
- pe_ILF_object_p on it.\r
-\r
- * coff-arm.c: Add support for WinCE relocs which are different\r
- from normal ARM COFF relocs.\r
- * pe-arm.c: Unset TARGET_UNDERSCORE for a WinCE target.\r
-\r
- * coff-sh.c: Add support for sh-pe target.\r
- * pe-sh.c: New file. Support code for sh-pe target.\r
- * pei-sh.c: New file. Support code for sh-pe target.\r
-\r
- * pe-mips.c: New file. Support code for mips-pe target.\r
- * pei-mips.c: New file. Support code for mips-pe target.\r
-\r
-2000-02-27 Jakub Jelinek <jakub@redhat.com>\r
-\r
- * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Don't bump\r
- architecture if the object causing the bump is dynamic.\r
- * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): Likewise,\r
- and also don't it for memory ordering.\r
- (sparc64_elf_write_relocs): Take src_rela out of the loop.\r
-\r
-2000-02-27 Ian Lance Taylor <ian@zembu.com>\r
-\r
- * dwarf2.c (read_abbrevs): Use _raw_size directly rather than\r
- calling bfd_get_section_size_before_reloc.\r
- (decode_line_info): Likewise.\r
- (_bfd_dwarf2_find_nearest_line): Likewise.\r
-\r
-2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>\r
-\r
- * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the\r
- name of the libtool directory.\r
- * Makefile.in: Rebuild.\r
-\r
-Fri Feb 25 18:39:26 2000 Rodney Brown (RodneyBrown@pmsc.com)\r
-\r
- * som.c (SOM_HOWTO): Define.\r
- (som_hppa_howto_table): Use it.\r
-\r
-2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>\r
-\r
- * config.bfd: Enable 64 bit support for GNU/Linux/sparc.\r
-\r
- * config.bfd: Enable 64 bit support for Solaris7+/sparc.\r
-\r
-2000-02-24 Catherine Moore <clm@cygnus.com>\r
-\r
- * som.c (som_misc_symbol_info): Add field\r
- secondary_def.\r
- (som_bfd_derive_misc_symbol_info): Initialize\r
- secondary_def.\r
- (som_build_and_write_symbol_table): Keep track\r
- of secondary_def field.\r
- (som_slurp_symbol_table): Set BSF_WEAK symbol flag\r
- if secondary_def field is set.\r
- (som_bfd_ar_write_symbol_stuff): Initialize\r
- secondary_def.\r
-\r
-2000-02-23 Stephane Carrez <stcarrez@worldnet.fr>\r
-\r
- * dwarf2.c (read_address): Read 16-bits addresses.\r
- (parse_comp_unit): Accept addr_size == 2.\r
-\r
-2000-02-23 Alan Modra <alan@spri.levels.unisa.edu.au>\r
-\r
- * bfd-in.h: Update copyright date.\r
-\r
-2000-02-23 Linas Vepstas <linas@linas.org>\r
-\r
- * cpu-i370.c: New file.\r
- * elf32-i370.c: New file.\r
- * archures.c (enum bfd_architecture): Add bfd_arch_i370.\r
- (bfd_i370_arch): New.\r
- (bfd_archures_list): Add bfd_i370_arch.\r
- * elf.c (prep_headers): Add bfd_arch_i370.\r
- * Makefile.am: Add support for IBM 370 elf.\r
- * config.bfd: Likewise.\r
- * configure.in: Likewise.\r
- * libbfd.h (bfd_reloc_code_real_names): Likewise.\r
- * reloc.c (bfd_reloc_code_type): Likewise.\r
- * targets.c: Likewise.\r
-\r
- * Makefile.in: Regenerate.\r
- * configure: Regenerate.\r
- * bfd-in2.h: Regenerate.\r
-\r
-2000-02-22 Ian Lance Taylor <ian@zembu.com>\r
-\r
- * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for\r
- invalid relocation types, and change them to R_386_NONE.\r
-\r
-2000-02-22 H.J. Lu <hjl@gnu.org>\r
-\r
- * elflink.h (elf_link_add_object_symbols): If a version symbol is\r
- not defined, don't add a second ELF_VER_CHR.\r
-\r
- * elflink.h (elf_bfd_final_link): Call output_extsym for global\r
- symbols converted to local symbols even when stripping all\r
- symbols.\r
- (elf_link_output_extsym): Process global symbols converted to\r
- local symbols even if they are being stripped.\r
-\r
-2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>\r
-\r
- * archures.c (bfd_octets_per_byte): Return unsigned int.\r
- (bfd_arch_mach_octets_per_byte): Ditto.\r
- * libbfd.c (bfd_read, bfd_seek): Quell signed vs. unsigned\r
- comparison warning.\r
- * section.c (bfd_get_section_size_before_reloc): Quell signed\r
- vs. unsigned comparison warning.\r
- (bfd_get_section_size_after_reloc): Same here. Fix parentheses too.\r
- * trad-core.c (trad_unix_core_file_p): Correct 2000-01-27\r
- change. What was I thinking?\r
- * bfd-in2.h: Regenerate.\r
-\r
- * elflink.h (elf_gc_sweep): Skip non-elf input bfds.\r
- (elf_gc_sections): Same here.\r
- (elf_gc_common_finalize_got_offsets): And here.\r
-\r
-2000-02-21 Ian Lance Taylor <ian@zembu.com>\r
-\r
- ELF HPPA doesn't work at present; remove it until it does.\r
- * config.bfd: Comment out setting targ_defvec to\r
- bfd_elf32_hppa_vec.\r
- * Makefile.am: Rebuild dependencies.\r
- (BFD32_BACKENDS): Remove elf32-hppa.lo.\r
- (BFD32_BACKENDS_CFILES): Remove elf32-hppa.c.\r
- (SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h.\r
- * Makefile.in: Rebuild.\r
- * targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.\r
-\r
-2000-02-18 Geoff Keating <geoffk@cygnus.com>\r
-\r
- * coffcode.h (coff_set_arch_mach_hook): Use free(), because there\r
- is no bfd_free(). Revert bfd_free part of previous change.\r
-\r
-2000-02-18 Geoff Keating <geoffk@cygnus.com>\r
-\r
- * coffcode.h (coff_set_arch_mach_hook): Don't use variable-size\r
- arrays.\r
- (coff_compute_section_file_positions): Use bfd_free to pair\r
- bfd_malloc.\r
- (coff_write_object_contents): Likewise.\r
-\r
- * coff-rs6000.c (xcoff_howto_table_16): New variable.\r
- (xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.\r
-\r
-2000-02-18 Ulrich Drepper <drepper@cygnus.com>\r
-\r
- * coff-rs6000.c (XCOFFARMAGBIG): New macro.\r
- (xcoff_ar_file_hdr_big): New structure.\r
- (SIZEOF_AR_FILE_HDR_BIG): New macro.\r
- (xcoff_ar_hdr_big): New structure.\r
- (SIZEOF_AR_HDR_BIG): New macro.\r
- (xcoff_big_format_p): New macro.\r
- (xcoff_ardata_big): New macro.\r
- (arch_xhdr_big): New macro.\r
- (xcoff_slurp_armap): Handle large archives.\r
- (xcoff_archive_p): Detect large archives.\r
- (xcoff_read_ar_hdr): Handle large archives.\r
- (xcoff_openr_next_archived_file): Handle large archives.\r
- (xcoff_generic_stat_arch_elt): Handle large archives.\r
- (xcoff_write_armap_old): Rename from xcoff_write_armap.\r
- (xcoff_write_armap_big): New function.\r
- (xcoff_write_armap): New function, dispatch to _old or _big.\r
- (xcoff_write_archive_contents_old): Rename from\r
- xcoff_write_archive_contents.\r
- (xcoff_write_archive_contents_big): New function.\r
- (xcoff_write_archive_contents): New function, dispatch to _old or\r
- _big.\r
-\r
-2000-02-18 Richard Henderson <rth@cygnus.com>\r
-\r
- * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect\r
- and hide_symbol members.\r
- (elf_link_hash_copy_indirect): Remove.\r
- (elf_link_hash_hide_symbol): Remove.\r
- (struct elf_backend_data): Add elf_backend_copy_indirect_symbol\r
- and elf_backend_hide_symbol.\r
- (_bfd_elf_link_hash_copy_indirect): Declare.\r
- (_bfd_elf_link_hash_hide_symbol): Declare.\r
- * elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument.\r
- (_bfd_elf_link_hash_hide_symbol): Likewise.\r
- (_bfd_elf_link_hash_table_init): Don't init killed members.\r
- * elflink.h (elf_link_add_object_symbols): Use the bed function\r
- pointers not elf_link_hash_{copy_indirect,hide_symbol}.\r
- (elf_link_assign_sym_version): Likewise.\r
- * elfxx-target.h (elf_backend_copy_indirect_symbol): Default.\r
- (elf_backend_hide_symbol): Likewise.\r
- (elfNN_bed): Update for new members.\r
-\r
-2000-02-17 Kevin Buettner <kevinb@redhat.com>\r
-\r
- * rs6000-core.c (CORE_DATA_SIZE_FIELD, CORE_COMM_FIELD, SAVE_FIELD,\r
- STACK_END_ADDR): Define for new core file format.\r
- (LOADER_OFFSET_FIELD, LOADER_REGION_SIZE, CORE_DUMP): New defines\r
- for handling the vagaries of the various core file structures used\r
- by AIX over the years.\r
- (rs6000coff_core_p, rs6000coff_core_file_matches_executable,\r
- Rs6kCorData): Use above defines to adapt code to use AIX 4.3's\r
- core_dumpx structure.\r
-\r
-Thu Feb 17 00:04:48 2000 J"orn Rennecke <amylaar@cygnus.co.uk>\r
-\r
- * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros.\r
- (bfd_mach_sh3_dsp): Likewise.\r
- (bfd_mach_sh4): Reinstate.\r
- (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750.\r
- * bfd-in2.h: Regenerate.\r
- * coff-sh.c (struct sh_opcode): flags is no longer short.\r
- (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros.\r
- (sh_opcode41, sh_opcode42): Integrate as sh_opcode41.\r
- (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes.\r
- (sh_opcode41, sh_opcode4, sh_opcode80): Likewise.\r
- (sh_opcodes): No longer const.\r
- (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays.\r
- (sh_insn_uses_reg): Check for USESAS and USESR8.\r
- (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS.\r
- (_bfd_sh_align_load_span): Return early for SH4.\r
- Modify sh_opcodes lookup table for sh-dsp / sh3-dsp.\r
- Take into account that field b of a parallel processing insn\r
- could be mistaken for a separate insn.\r
- * cpu-sh.c (arch_info_struct): New array elements for\r
- sh2, sh-dsp and sh3-dsp.\r
- Reinstate element for sh4.\r
- (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros.\r
- (SH4_NEXT): Reinstate.\r
- (SH3_NEXT, SH3E_NEXT): Adjust.\r
- * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare.\r
- * elf32-sh.c (sh_elf_set_private_flags): New function.\r
- (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise.\r
- (sh_elf_merge_private_data): New function.\r
- (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define.\r
- (bfd_elf32_bfd_copy_private_bfd_data): Define.\r
- (bfd_elf32_bfd_merge_private_bfd_data): Change to\r
- sh_elf_merge_private_data.\r
-\r
-2000-02-13 Richard Henderson <rth@cygnus.com>\r
-\r
- * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect and\r
- hide_symbol members.\r
- (elf_link_hash_copy_indirect): New.\r
- (elf_link_hash_hide_symbol): New.\r
- * elflink.h (elf_link_add_object_symbols): Break out copy from\r
- indirect new new symbol to elf.c.\r
- (elf_link_assign_sym_version): Break out privatization of\r
- non-exported symbol to elf.c.\r
- * elf.c (_bfd_elf_link_hash_copy_indirect): New.\r
- (_bfd_elf_link_hash_hide_symbol): New.\r
- (_bfd_elf_link_hash_table_init): Init copy_indirect and hide_symbol.\r
-\r
-2000-02-13 Ian Lance Taylor <ian@zembu.com>\r
-\r
- * section.c (_bfd_strip_section_from_output): Add info parameter.\r
- If it passed as non-NULL, use it to check whether any input BFD\r
- has an input section which uses this output section. Change all\r
- callers.\r
- * bfd-in2.h: Rebuild.\r
-\r
- * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and\r
- bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of\r
- 1999-11-29.\r
- * bfd-in2.h: Rebuild.\r
-\r
-2000-02-10 Timothy Wall <twall@cygnus.com>\r
-\r
- * coffswap.h (coff_swap_sym_in): Add hook SWAP_SYM_IN_POST to\r
- allow final modifications of swapped-in symbol.\r
- (coff_swap_sym_out): Ditto with SWAP_SYM_OUT_POST.\r
- * coffcode.h (coff_write_relocs): Use macro\r
- SECTION_RELATIVE_ABSOLUTE_SYMBOL_P if defined to determine whether\r
- symbol index should be set to -1.\r
-\r
-Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com)\r
-\r
- * coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG,\r
- USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros.\r
- * (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes.\r
- * (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg,\r
- sh_insns_uses_or_sets_freg): New functions.\r
- * (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros.\r
- * (sh_insns_conflict): Use new functions and new macros to\r
- detect conflicts when two instructions both set same integer registers,\r
- both set same fp register, and both set special register.\r
-\r
-2000-02-09 Timothy Wall <twall@cygnus.com>\r
-\r
- * coffgen.c (coff_real_object_p): Set arch/mach info prior to\r
- swapping in sections, so that the swapping routines have access to\r
- the arch/mach info.\r
-\r
-2000-02-08 Mark Elbrecht <snowball3@bigfoot.com>\r
-\r
- * coff-go32.c: Update comment. Update copyright.\r
-\r
-2000-01-27 Thomas de Lellis <tdel@windriver.com>\r
-\r
- * syms.c (bfd_decode_symclass)\r
- Two new class characters were added - 'V' and 'v'. The\r
- meaning of 'W' is now restricted to just weak non-object\r
- symbols. This allows differentiation between, for example,\r
- weak functions vs weak objects. nm for example now dumps:\r
- 'W' = weak global\r
- 'w' = weak unresolved\r
- 'V' = weak global object\r
- 'v' = weak unresolved object\r
-\r
- (bfd_is_undefined_symclass): New function. Return true if the\r
- given symbol class represents and undefined/unresolved symbol.\r
-\r
- (bfd_symbol_info): Use bfd_is_undefined_symclass to check for\r
- unresolved symbols.\r
-\r
- * bfd-in2.h: Add prototype for bfd_is_undefined_symbol().\r
-\r
- * elf32-arm.h (elf32_arm_get_symbol_type): If a symbol has the\r
- STT_ARM_16BIT flag set, but it is not attached to a data object\r
- return STT_ARM_16BIT so that it will be treated as code by the\r
- disassembler.\r
-\r
-2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>\r
-\r
- * coff-i386.c (i3coff_object_p): Remove prototype.\r
- Update copyright.\r
-\r
- * elflink.c (_bfd_elf_link_record_dynamic_symbol): Add const\r
- to name. Update copyright.\r
-\r
- * trad-core.c (trad_unix_core_file_p): Cast core_regsec\r
- assignment to avoid warning. Update copyright.\r
-\r
-2000-01-24 Robert Lipe (robertl@sco.com)\r
-\r
- * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc\r
- instead of using GNU C extension.\r
-\r
-2000-01-21 Nick Clifton <nickc@cygnus.com>\r
-\r
- * libbfd.c (bfd_read): Do not attempt to get a negativly sized\r
- amount from a bfd_in_memory structure.\r
- (bfd_seek): Do not allow seeks past the end of a bfd_in_memory\r
- structure.\r
-\r
-2000-01-14 Nick Clifton <nickc@cygnus.com>\r
-\r
- * linker.c (default_indirect_link_order): oops - fix incorrectly\r
- applied patch from Tim Wall.\r
-\r
-2000-01-13 Timothy Wall (twall@tiac.net>\r
-\r
- * coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx\r
- = scnhsz, filhsz, relsz, aoutsz, etc)\r
-\r
- * coffswap.h: Ditto.\r
-\r
-2000-01-13 Nick Clifton <nickc@cygnus.com>\r
-\r
- * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to\r
- interwork thumb to arm stub.\r
-\r
-2000-01-13 Timothy Wall (twall@tiac.net>\r
-\r
- * archures.c (bfd_octets_per_byte): New function: Return\r
- target byte size.\r
- (bfd_arch_mach_octets_per_byte): New function: Return target\r
- byte size.\r
-\r
- * section.c: Distinguish between octets and bytes for usage of\r
- _cooked_size, _raw_size, and output_offset. Clarify\r
- description of bfd_set_section_contents.\r
-\r
- * bfd-in2.h: Regenerate.\r
-\r
- * coffgen.c: Indicate that the offset parameter is in bytes, not\r
- octets.\r
-\r
- * cofflink.c (bfd_coff_link_input_bfd): Use bfd_octets_per_byte\r
- where appropriate to get the octet offset when calling\r
- bfd_set_section_contents.\r
- (bfd_coff_reloc_link_order): Ditto.\r
-\r
- * linker.c (bfd_generic_reloc_link_order): Ditto.\r
- (_bfd_default_link_order): Ditto.\r
-\r
- * reloc.c (bfd_perform_relocation): Distinguish between octets\r
- and bytes. Use octets when indexing into octet data; use bytes\r
- when calculating target addresses.\r
- (bfd_install_relocation): Ditto.\r
-\r
- * srec.c (srec_write_section): Ditto.\r
-\r
-2000-01-13 Nick Clifton <nickc@cygnus.com>\r
-\r
- * coff-mcore.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from\r
- 3 to 2. This allows 4 byte sized sections, which is necessary for\r
- dlltool to build functioning DLLs.\r
-\r
-2000-01-10 Philip Blundell <pb@futuretv.com>\r
-\r
- * config.bfd (arm*-*-linux-gnu*): Match instead of arm*-*-linux-gnu.\r
- (arm*-*-conix*): New target.\r
-\r
-2000-01-10 Egor Duda <deo@logos-m.ru>\r
-\r
- * config.bfd: Include elf32_i386 vector to target list for cygwin\r
- and mingw.\r
-\r
- * config.in: Undefine HAVE_WIN32_PSTATUS_T.\r
- * configure.in: Test for structure win32_pstatus_t in\r
- <sys/procfs.h>\r
- * configure: Regenerate.\r
-\r
- * elf.c (elfcore_grok_win32pstatus): New function: process\r
- win32_pstatus_t notes in elf core file.\r
- (elfcore_grok_note): Detect win32_pstatus notes.\r
-\r
-2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>\r
-\r
- * elflink.c (_bfd_elf_link_record_dynamic_symbol): Process symbol\r
- visibility.\r
- * elflink.h (elf_link_add_object_symbols): Combine visibilities.\r
- * elf.c (bfd_elf_print_symbol): Interpret st_other as visibility.\r
-\r
-For older changes see ChangeLog-9899\r
-\f\r
-Local Variables:\r
-mode: change-log\r
-left-margin: 8\r
-fill-column: 74\r
-version-control: never\r
-End:\r
+
+2001-09-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO
+ definitions.
+ (mips_elf64_howto_table_rel): Likewise.
+
+2001-09-05 Tom Rix <trix@redhat.com>
+
+ * xcofflink.c (bfd_xcoff_import_symbol): Handle import file XMC_XO
+ and syscall symbols.
+ (write_global_symbol) : Same.
+ (bfd_xcoff_export_symbol): Remove unused syscall param.
+ * libxcoff.h: Change prototype of bfd_xcoff_export symbol and
+ bfd_xcoff_import_symbol.
+ * bfd-in.h: Same.
+ * bfd-in2.h : Regenerate.
+
+2001-09-04 Richard Henderson <rth@redhat.com>
+
+ * elf64-alpha.c (SKIP_HOWTO): New.
+ (elf64_alpha_howto_table): Use it to remove dead ECOFF relocs.
+ Fix sizes of 16-bit mem format relocs.
+ (elf64_alpha_reloc_map): Update to match.
+ (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate.
+ (elf64_alpha_relax_without_lituse): Likewise.
+ (elf64_alpha_check_relocs): Handle GPREL16.
+ (elf64_alpha_relocate_section): Likewise.
+ * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove.
+ (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New.
+ * bfd-in2.h, libbfd.h: Rebuild.
+
+2001-09-04 Jeff Law <law@redhat.com>
+
+ * elf32-h8300.c (elf32_h8_relax_section): New function.
+ (elf32_h8_relax_delete_bytes): Likewise.
+ (elf32_h8_symbol_address_p): Likewise.
+ (elf32_h8_get_relocated_section_contents): Likewise.
+ (bfd_elf32_bfd_relax_section): Define.
+ (bfd_elf32_bfd_get_relocated_section_contents): Likewise.
+
+ * elf32-h8300.c (special): New function.
+ (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in
+ all relocations.
+ (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit
+ relocations. Fix problems with the true 24bit reloc R_H8_DIR24R8.
+ Fix minor problems with 8bit and 16bit PC relative relocations.
+
+2001-09-01 Andreas Jaeger <aj@suse.de>
+
+ * vms-tir.c: Add missing prototypes.
+ * vms-hdr.c: Likewise.
+ * vms-gsd.c: Likewise.
+ * vms-misc.c: Likewise.
+
+2001-08-31 H.J. Lu <hjl@gnu.org>
+
+ * elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename
+ with bad relocation.
+
+2001-08-31 Eric Christopher <echristo@redhat.com>
+ Jason Eckhardt <jle@redhat.com>
+
+ * bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
+ mips32_4k and mips64.
+ * bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
+ bfd_mach_mips64. Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
+ * bfd/cpu-mips.c: Ditto.
+ * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
+ * bfd/bfd-in2.h: Regenerate.
+
+2001-08-31 Jakub Jelinek <jakub@redhat.com>
+
+ * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory
+ value into R_ALPHA_RELATIVE's addend.
+ (elf64_alpha_finish_dynamic_symbol): Likewise.
+
+2001-08-31 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * elf32-arm.h (elf32_arm_relocate_section): Do not rightshift
+ recomputed addend during relocatable link if not USE_REL.
+
+ * elflink.h (elf_gc_propagate_vtable_entries_used): Fix off-by-one
+ error.
+
+2001-08-30 H.J. Lu <hjl@gnu.org>
+
+ * elf32-mips.c (mips_elf_calculate_relocation): Revert the last
+ 2 changes.
+ (_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic
+ relocations for weak definitions.
+
+2001-08-30 H.J. Lu <hjl@gnu.org>
+
+ * Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo.
+ (BFD32_BACKENDS_CFILES): Add elf32-h8300.c.
+ * Makefile.in: Rebuild.
+
+2001-08-30 H.J. Lu <hjl@gnu.org>
+
+ * elf32-mips.c (mips_elf_calculate_relocation): Don't create
+ dynamic relocation for undefined weak symbols when creating
+ executables. Check h->root.root.type, instead of h->root.type.
+
+2001-08-29 Joel Sherrill <joel@OARcorp.com>
+
+ * config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change
+ default from coff to elf.
+
+2001-08-29 Jeff Law <law@redhat.com>
+
+ * elf32-h8300.c (h8_elf_howto_table): Add new PC relative
+ relocations.
+ (h8_reloc_map): Similarly.
+ (elf32_h8_final_link_relocate): Remove incorrect overflow tests.
+ Add support for PC relative relocations.
+
+ * elf32-h8300.c: Put all prototypes together.
+ (elf32_h8_info_to_howto): Parameter elf_reloc is used.
+ (elf32_h8_final_link_relocate): New function for linker.
+ (elf32_h8_relocate_section): Similarly.
+ (elf_backend_relocate_section): Define.
+
+ * cpu-h8300.c (h8300_scan, compatible): Prototype.
+ (h8300_scan): Handle architecture:machine encodings typically
+ found in linker scripts.
+ * elf.c (prep_headers): Do not try to do H8 machine recognition
+ here.
+ * elf32-h8300.c: Add some missing prototypes.
+ (elf32_h8_mach, elf32_h8_final_write_processing): New functions.
+ (elf32_h8_object_p): Similarly.
+
+2001-08-29 Tom Rix <trix@redhat.com>
+
+ * xcofflink.c (xcoff_link_add_symbols): Fix XTY_LD symbol that
+ does not follow a XTY_SD.
+
+2001-08-29 Alan Modra <amodra@bigpond.net.au>
+
+ * targmatch.sed: Delete case statements.
+ * config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for
+ aix4.3 and above.
+
+Wed Aug 29 02:27:36 2001 J"orn Rennecke <amylaar@redhat.com>
+
+ * Makefile.am (elf32-h8300.lo): New target.
+ * config.bfd (h8300*-*-elf): New case.
+ * configure.in (bfd_elf32_h8300_vec): New case.
+ * elf.c (prep_headers): Add case for bfd_arch_h8300.
+ * reloc.c (BFD_RELOC_H8_DIR16A8): New relocation.
+ (BFD_RELOC_H8_DIR16R8, BFD_RELOC_H8_DIR24A8): Likewise.
+ (BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16): Likewise.
+ * targets.c (bfd_target bfd_elf32_h8300_vec): New extern declaration.
+ * elf32-h8300.c: New file.
+ * Makefile.in, bfd-in2.h, libbfd.h, configure: Regenerated.
+
+2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * sparclynx.c: Add missing prototypes.
+ * coff-mcore.c: Add missing prototypes.
+ * elf32-pj.c: Add missing prototypes.
+ * nlm32-sparc.c: Add missing prototypes.
+ * oasys.c: Add missing prototypes.
+ * pdp11.c: Add missing prototypes.
+ * pe-mips.c: Add missing prototypes.
+ * riscix.c: Add missing prototypes.
+
+2001-08-27 Daniel Jacobowitz <drow@mvista.com>
+
+ * elf32-i386.c: Add missing prototypes.
+ * elf32-ppc.c: Likewise.
+ * elf32-sh-lin.c: Likewise.
+ * elfarm-nabi.c: Likewise.
+
+2001-08-27 Daniel Jacobowitz <drow@mvista.com>
+
+ * elf32-i386.c (elf_i386_grok_prstatus): New function.
+ (elf_i386_grok_psinfo): New function.
+ (elf_backend_grok_prstatus): Define.
+ (elf_backend_grok_psinfo): Likewise.
+ * elf32-ppc.c (ppc_elf_grok_prstatus): New function.
+ (ppc_elf_grok_psinfo): New function.
+ (elf_backend_grok_prstatus): Define.
+ (elf_backend_grok_psinfo): Likewise.
+ * elf32-sh-lin.c (elf32_shlin_grok_prstatus): New function.
+ (elf32_shlin_grok_psinfo): New function.
+ (elf_backend_grok_prstatus): Define.
+ (elf_backend_grok_psinfo): Likewise.
+ * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): New function.
+ (elf32_arm_nabi_grok_psinfo): New function.
+ (elf_backend_grok_prstatus): Define.
+ (elf_backend_grok_psinfo): Likewise.
+
+2001-08-27 H.J. Lu <hjl@gnu.org>
+
+ * elf32-mips.c (mips_elf_create_dynamic_relocation): Add more
+ sanity check.
+ (mips_elf_calculate_relocation): Create dynamic relocation for
+ symbols with weak definition or the ELF_LINK_HASH_DEF_REGULAR
+ bit is not set.
+
+2001-08-27 H.J. Lu <hjl@gnu.org>
+
+ * elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype.
+ (_bfd_mips_elf_copy_indirect_symbol): Likewise.
+ (_bfd_elf32_mips_grok_prstatus): Likewise.
+ (_bfd_elf32_mips_grok_psinfo): Likewise.
+ (_bfd_mips_elf_hide_symbol): Make it static and cast to
+ `struct mips_elf_link_hash_entry *'.
+ (_bfd_mips_elf_copy_indirect_symbol): Make it static.
+
+2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * mipsbsd.c: Add missing prototypes.
+ * hp300hpux.c: Add missing prototypes.
+ * i386aout.c: Add missing prototypes.
+ * i386lynx.c: Add missing prototypes.
+ * i386mach3.c: Add missing prototypes.
+ * i386msdos.c: Add missing prototypes.
+ * i386os9k.c: Add missing prototypes.
+
+2001-08-27 Linus Nordberg <linus@swox.se>
+ Torbjorn Granlund <tege@swox.com>
+ Staffan Ulfberg <staffanu@swox.se>
+ Alan Modra <amodra@bigpond.net.au>
+
+ * config.bfd: Add powerpc64 target. Add powerpc64 vectors to
+ targ64_selvecs for 32 bit powerpc targets.
+ * Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo.
+ (BFD64_BACKENDS_CFILES): Add elf64-ppc.c.
+ Run "make dep-am".
+ * Makefile.in: Regenerate.
+ * configure.in: Add elf64_powerpc vecs.
+ * configure: Regenerate.
+ * cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit.
+ * elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target.
+ * targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec.
+ * elf64-ppc.c: New file.
+ * reloc.c: Add powerpc64 relocs.
+ * libbfd.h: Regenerate.
+ * bfd-in2.h: Regenerate.
+
+2001-08-27 Andreas Schwab <schwab@suse.de>
+
+ * elf32-m68k.c (elf32_m68k_check_relocs): Set DF_TEXTREL if the
+ reloc is against read-only section.
+ (elf32_m68k_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (elf32_m68k_reloc_type_class): New function.
+ (elf_backend_reloc_type_class): Define.
+
+2001-08-27 Andreas Jaeger <aj@suse.de>
+
+ * elf64-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
+ reloc is against read-only section.
+ (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (elf_s390_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+
+ * elf32-s390.c (elf_s390_check_relocs): Set DF_TEXTREL if the
+ reloc is against read-only section.
+ (elf_s390_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (elf_s390_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+
+ * elf32-ppc.c (ppc_elf_check_relocs): Set DF_TEXTREL if the reloc
+ is against read-only section.
+ (ppc_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (ppc_elf_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+
+2001-08-26 Andreas Jaeger <aj@suse.de>
+
+ * elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if the
+ reloc is against read-only section.
+ (elf_cris_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (elf_cris_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+
+ * elf32-sh.c (sh_elf_check_relocs): Set DF_TEXTREL if the reloc is
+ against read-only section.
+ (elf_backend_reloc_type_class): Define.
+ (sh_elf_reloc_type_class): New.
+ (sh_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+
+ * elf32-arm.h (elf32_arm_check_relocs): Set DF_TEXTREL if the
+ reloc is against read-only section.
+ (elf32_arm_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (elf32_arm_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+
+2001-08-25 Andreas Jaeger <aj@suse.de>
+
+ * oasys.c: Add missing prototypes.
+
+ * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Add unused
+ attribute for parameter.
+ * elf.c (_bfd_elf_reloc_type_class): Likewise.
+
+ * versados.c (get_4): Make static.
+ (get_10): Make static.
+ Add missing prototypes.
+ (process_esd): Fix call to versados_new_symbol.
+
+2001-08-25 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * coff-a29k.c: Add missing prototypes.
+ * coff-apollo.c: Add missing prototypes.
+ * coff-arm.c: Add missing prototypes.
+ * coff-i860.c: Add missing prototypes.
+ * coff-rs6000.c: Add missing prototypes.
+ * coff-tic80.c: Add missing prototypes.
+ * elf-m10200.c: Add missing prototypes.
+ * elf-m10300.c: Add missing prototypes.
+ * elf32-arm.h: Add missing prototypes.
+ * elf32-d10v.c: Add missing prototypes.
+ * elf32-m32r.c: Add missing prototypes.
+ * elf32-mcore.c: Add missing prototypes.
+ * elf32-openrisc.c: Add missing prototypes.
+ * elf32-sh.c: Add missing prototypes.
+ * elf32-sparc.c: Add missing prototypes.
+ * elf32-v850.c: Add missing prototypes.
+ * elfarm-nabi.c: Add missing prototypes.
+ * elfarm-oabi.c: Add missing prototypes.
+
+2001-08-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * elf32-mips.c (elf_mips_abi_name): Return the right ABI string for
+ E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64
+
+2001-08-24 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (_bfd_elf_merge_sections): Fail if not using an ELF
+ hash structure.
+
+2001-08-24 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * elf-bfd.h (elf_hash_table): Revert definition.
+ (is_elf_hash_table): New macro.
+ * elflink.h (elf_link_add_object_symbols): Test
+ is_elf_hash_table before accessing ELF only fields in hash
+ structure.
+ (elf_link_create_dynamic_sections): Fail if not using an ELF
+ hash structure.
+ (elf_add_dynamic_entry): Fail if not using an ELF hash
+ structure.
+ (elf_link_record_local_dynamic_symbol): Fail if not using an
+ ELF hash structure.
+ (size_dynamic_sections): Fail if not using an ELF hash
+ structure.
+ (elf_adjust_dynamic_symbol): Fail if not using an ELF
+ hash structure.
+ (elf_bfd_final_link): Fail if not using an ELF hash
+ structure.
+
+2001-08-24 H.J. Lu <hjl@gnu.org>
+
+ * elf-bfd.h (elf_hash_table): Return NULL if the linker hash
+ table is not an ELF linker hash table.
+
+ * elf.c (_bfd_elf_link_hash_table_init): Set the linker hash
+ table type to bfd_link_elf_hash_table.
+
+ * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Revert
+ the last change.
+
+ * linker.c (_bfd_link_hash_table_init): Set the linker hash
+ table type to bfd_link_generic_hash_table.
+
+2001-08-24 Alexandre Oliva <aoliva@redhat.com>
+
+ * bfd.c (bfd_alt_mach_code): New function.
+ * bfd-in2.h: Rebuilt.
+
+2001-08-24 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf-m10300.c (mn10300_elf_relocate_section): Test the right
+ `type' field in the hash entry when deciding whether to follow a
+ link.
+
+2001-08-24 Jakub Jelinek <jakub@redhat.com>
+
+ * elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, not
+ last.
+ (elf_link_sort_relocs): Adjust accordingly.
+
+ * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag.
+ (elf64_alpha_check_relocs): Set it if section this reloc is against
+ is read-only. Set DF_TEXTREL if a RELATIVE reloc is needed against
+ read-only section.
+ (elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation
+ is is against read-only section.
+ (elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't
+ check section names.
+ (elf64_alpha_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+
+2001-08-24 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()
+ by bfd_malloc().
+
+2001-08-23 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL if
+ the reloc is against read-only section.
+ (elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead
+ of looking up section names for DT_TEXTREL.
+ (elf64_x86_64_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+
+2001-08-23 H.J. Lu <hjl@gnu.org>
+
+ * syms.c (bfd_print_symbol_vandf): Add abfd to arg.
+ * bfd-in2.h (bfd_print_symbol_vandf): Regenerated.
+
+ * aoutx.h (NAME(aout,print_symbol)): Pass abfd to
+ bfd_print_symbol_vandf.
+ * coffgen.c (coff_print_symbol): Likewise.
+ * elf.c (bfd_elf_print_symbol): Likewise.
+ * ieee.c (ieee_print_symbol): Likewise.
+ * nlmcode.h (nlm_print_symbol): Likewise.
+ * oasys.c (oasys_print_symbol): Likewise.
+ * pdp11.c (NAME(aout,print_symbol)): Likewise.
+ * som.c (som_print_symbol): Likewise.
+ * srec.c (srec_print_symbol): Likewise.
+ * tekhex.c (tekhex_print_symbol): Likewise.
+ * versados.c (versados_print_symbol): Likewise.
+ * vms.c (vms_print_symbol): Likewise.
+
+ * elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma
+ with bfd_fprintf_vma.
+ (bfd_elf_print_symbol): Likewise.
+ * syms.c (bfd_print_symbol_vandf): Likewise.
+
+2001-08-23 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * aoutf1.h (sunos_write_object_contents): Silence compile time
+ warning.
+ * libaout.h (N_SET_DYNAMIC): Silence compile time warning.
+
+ * bout.c: Add missing function prototypes. Fix formatting.
+ * coff-z8k.c: Add missing function prototypes. Fix formatting.
+ * coff-w65.c: Add missing function prototypes. Fix formatting.
+ * coff-h8500.c: Add missing function prototypes. Fix formatting.
+ * coff-h8300.c: Add missing function prototypes. Fix formatting.
+ * coff-tic54x.c: Add missing function prototypes. Fix formatting.
+ * coff-tic30.c: Add missing function prototypes. Fix formatting.
+ * coff-m68k.c: Add missing function prototypes. Fix formatting.
+ * coff-rs6000.c: Add missing function prototypes. Fix formatting.
+ * coff-sh.c: Add missing function prototypes. Fix formatting.
+
+2001-08-23 Jakub Jelinek <jakub@redhat.com>
+
+ * elf-bfd.h (enum elf_reloc_type_class): New.
+ (struct elf_backend_data): Add elf_backend_reloc_type_class.
+ (_bfd_elf_reloc_type_class): New.
+ * elfxx-target.h (elf_backend_reloc_type_class): Define.
+ (elfNN_bed): Add elf_backend_reloc_type_class.
+ * elf.c (_bfd_elf_reloc_type_class): New.
+ * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc
+ is against read-only section.
+ (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (elf_i386_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+ * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the
+ reloc is against read-only section.
+ (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (elf32_sparc_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+ * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the
+ reloc is against read-only section.
+ (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
+ looking up section names for DT_TEXTREL.
+ (sparc64_elf_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+ * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field.
+ (elfNN_ia64_hash_table_create): Clear ia64_info.
+ (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only
+ section.
+ (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag
+ instead of looking up section names for DT_TEXTREL.
+ (elfNN_ia64_reloc_type_class): New.
+ (elf_backend_reloc_type_class): Define.
+ * elflink.h (size_dynamic_sections): Add spare DT_NULL tags.
+ (struct elf_link_sort_rela): New.
+ (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New.
+ (elf_bfd_final_link): Call elf_link_sort_relocs.
+ Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if
+ necessary.
+
+2001-08-23 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * configure.in (x86-bsdi): No corefile support.
+ * configure: Regenerate.
+
+2001-08-22 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add missing
+ comma.
+
+2001-08-21 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * coff-go32.c: Make DWARF2 sections use an alignment of 0. Set
+ the alignment of dwarf2 linkonce sections to 0.
+ * coff-sto32.c: Likewise.
+
+2001-08-20 Andreas Jaeger <aj@suse.de>
+
+ * coff-sparc.c: Add missing prototypes.
+ * elf32-s390.c: Likewise.
+ * elf32-i960.c: Likewise.
+ * aout-target.h: Likewise.
+
+2001-08-20 H.J. Lu <hjl@gnu.org>
+
+ * elf-bfd.h (elf_obj_tdata): Add num_section_syms.
+ (elf_num_section_syms): New for num_section_syms.
+
+ * elf.c (elf_map_symbols): Set num_section_syms.
+ (_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for
+ the section symbol index.
+
+2001-08-20 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_create): Never
+ select the generic has table creator. All elf backends need elf
+ specific fields in the hash table.
+
+2001-08-20 Alan Modra <amodra@bigpond.net.au>
+
+ * archive.c (offsetof): Remove define.
+ * elf.c: Likewise.
+ * oasys.c: Likewise
+ * sysdep.h (offsetof): Define.
+
+2001-08-17 Alan Modra <amodra@bigpond.net.au>
+
+ * bfd.c (bfd_get_gp_size): Return an unsigned int.
+ (bfd_set_gp_size): Make param unsigned.
+ * bfd-in2.h: Regenerate.
+ * elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather
+ than calling bfd_get_gp_size.
+ * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
+ * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
+
+2001-08-17 Alan Modra <amodra@bigpond.net.au>
+
+ * linker.c (default_fill_link_order): Handle four byte fill value.
+
+2001-08-17 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
+ prototype.
+ * nlm32-alpha.c (nlm_alpha_write_external): Fix warning.
+
+ * elf64-mips.c (UNUSED_RELOC): Define.
+ (mips_elf64_howto_table_rel): Use it.
+ (mips_elf64_howto_table_rela): Here too.
+ (mips_elf64_write_relocs): Fix signed/unsigned warning.
+
+ * coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
+ silence warning.
+ * coffgen.c (coff_print_symbol): Fix warnings.
+ (coff_find_nearest_line): Likewise.
+ * cofflink.c (_bfd_coff_link_input_bfd): Likewise.
+ * coff-alpha.c (alpha_convert_external_reloc): Likewise.
+ * format.c (bfd_check_format_matches): Likewise.
+ (bfd_set_format): Likewise.
+ * coff-ia64.c: Add missing prototypes.
+ * elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend
+ signed to silence warnings.
+ (elf64_alpha_relocate_section): Likewise.
+ (elf64_alpha_find_reloc_at_ofs): Fix warnings.
+ (elf64_alpha_add_symbol_hook): Likewise.
+ (elf64_alpha_final_link): Likewise.
+ (elf64_alpha_relax_section): Remove redundant assign to info.gotent.
+ (elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args.
+ (elf64_alpha_size_got_sections): Likewise.
+ * elfxx-ia64.c: Add missing prototypes.
+ (elfNN_ia64_relocate_section): Fix warning.
+ (elfNN_ia64_unwind_entry_compare): Make params const.
+
+2001-08-17 Alan Modra <amodra@bigpond.net.au>
+
+ * config.bfd (targ64_selvecs): New.
+ <powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.
+
+ * bfd-in.h (BFD_VERSION): Remove wrong comment.
+ (BFD_DEFAULT_TARGET_SIZE): New.
+ (BFD_ARCH_SIZE): Comment.
+ * configure.in (target_size): New. Set instead of target64 in
+ selvecs case statement. Set target64 from it.
+ (bfd_default_target_size): New. Set from taget_size. AC_SUBST.
+ * bfd-in2.h: Regenerate.
+ * configure: Regenerate.
+
+2001-08-17 Alan Modra <amodra@bigpond.net.au>
+
+ * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
+ (bfd_errmsgs): Add corresponding message.
+ * archive.c (bfd_generic_archive_p): Don't release bfd_ardata when
+ finding an archive that contains different format object files.
+ Return bfd_error_wrong_object_format for this case.
+ * format.c: Formatting fixes. s/CONST/const/.
+ (bfd_check_format_matches): Accept archives that give
+ bfd_error_wrong_object_format if no full match is found. Tidy
+ code handling matching_vector. Don't return a pointer to freed
+ memory in `matching'. Handle ambiguous matches as for partial
+ archive matches.
+ * bfd-in2.h: Regenerate.
+
+2001-08-15 Alan Modra <amodra@bigpond.net.au>
+
+ * libieee.h (common_header_type): Add last_byte field.
+
+ * ieee.c: Add missing prototypes. Some format fixes.
+ (struct output_buffer_struct): Move for availability to prototypes.
+ (ieee_part_after): New function.
+ (ieee_slurp_debug): Use it here.
+ (ieee_seek): Pass in ieee_data_struct rather than bfd. Use
+ ieee_part_after to set last_byte to one past end of current part.
+ Update callers.
+ (ieee_pos): Pass in ieee_data_struct rather than bfd.
+ Update callers.
+ (parse_expression): Don't go beyond the end of the current part.
+ (ieee_slurp_external_symbols): Correct type passed to read_2bytes.
+ (ieee_get_symtab_upper_bound, ieee_get_symtab,
+ ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook,
+ ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block,
+ ieee_set_section_contents, ieee_write_object_contents,
+ ieee_make_empty_symbol): Make static.
+ (ieee_archive_p): Correct comments regarding bfd_read.
+ (ieee_object_p): Similarly.
+ (ieee_mkobject): Move it. Clear output_ptr_start, output_ptr,
+ output_ptr_end, input_ptr_start, input_ptr, input_ptr_end,
+ input_bfd, output_bfd, output_buffer.
+ (do_as_repeat): Write out ieee_set_current_pc_enum value as for
+ do_with_relocs, ie. as a symbol for relocatable files.
+ (ieee_vec): Add comments showing functions referenced by macros.
+
+2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * aout-tic30.c: Add missing prototypes. Fix formatting.
+ * aout-ns32k.c: Add missing prototypes. Fix formatting.
+ * peXXigen.c: Add missining prototypes. Fix formatting.
+ * aout-adobe.c: Add missining prototypes. Fix formatting.
+
+2001-08-13 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * elf32-v850.c: Add missing function prototypes.
+ Fix some formatting.
+
+ * cpu-v850.c: Add missing function prototype.
+ Fix some formatting.
+
+2001-08-11 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * elf-bfd.h (struct elf_backend_data): Add new fields
+ 'elf_backend_sprintf_vma' and 'elf_backend_fprintf_vma'.
+ (bfd_elf_sprintf_vma): Rename function prototype to
+ '_bfd_elf_sprintf_vma'.
+ (bfd_elf_fprintf_vma): Rename function prototype to
+ '_bfd_elf_fprintf_vma'.
+ * bfd.c (bfd_sprintf_vma): Do not invoke bfd_elf_sprintf_vma
+ directly, instead indirect via the elf_backend_data structure.
+ (bfd_fprintf_vma): Do not invoke bfd_elf_fprintf_vma directly,
+ instead indirect via the elf_backend_data structure.
+ * elf.c (bfd_elf_sprintf_vma): Rename to _bfd_elf_sprintf_vma.
+ (bfd_elf_fprintf_vma): Rename to _bfd_elf_fprintf_vma.
+ * elfxx-target.h (elf_backend_sprintf_vma): Initialise if not
+ already defined.
+ (elf_backend_fprintf_vma): Initialise if not already defined.
+ (struct elf_backend_data): Initialise the
+ elf_backend_sprintf_vma and elf_backend_fprintf_vma fields.
+
+2001-08-10 Andreas Jaeger <aj@suse.de>
+
+ * elf64-sparc.c: Add missing prototypes.
+ * elf32-cris.c: Likewise.
+ * elf32-i370.c: Likewise.
+ * elf64-hppa.c: Likewise.
+ * elf64-s390.c: Likewise.
+
+2001-08-10 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
+ Add prototypes where needed.
+
+2001-08-10 H.J. Lu <hjl@gnu.org>
+
+ * bfd.c (bfd_sprintf_vma): Fix a typo in the last change.
+ (bfd_fprintf_vma): Likewise.
+
+2001-08-10 H.J. Lu <hjl@gnu.org>
+
+ * bfd.c (bfd_sprintf_vma): Don't return void.
+ (bfd_fprintf_vma): Likewise.
+
+2001-08-10 Andreas Jaeger <aj@suse.de>
+
+ * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
+ to build warnings.
+ * configure: Regenerate.
+
+2001-08-10 Alan Modra <amodra@bigpond.net.au>
+
+ * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
+ warning if not BFD64. Add braces so emacs auto format works.
+ (bfd_elf_fprintf_vma): Likewise.
+
+ * libxcoff.h (struct xcoff_backend_data_rec): Constify src param
+ of _xcoff_swap_ld*.
+ * coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external
+ param to agree with libxcoff.h.
+ (xcoff_swap_ldhdr_out): Likewise.
+ (xcoff_swap_ldsym_in): Likewise.
+ (xcoff_swap_ldsym_out): Likewise.
+ (xcoff_swap_ldrel_in): Likewise.
+ (xcoff_swap_ldrel_out): Likewise.
+ (xcoff_create_csect_from_smclas): Likewise.
+ * coff64-rs6000.c: Add missing prototypes.
+ (xcoff64_swap_ldhdr_in): Modify type of external param to agree
+ with libxcoff.h.
+ (xcoff64_swap_ldhdr_out): Likewise.
+ (xcoff64_swap_ldsym_in): Likewise.
+ (xcoff64_swap_ldsym_out): Likewise.
+ (xcoff64_swap_ldrel_in): Likewise.
+ (xcoff64_swap_ldrel_out): Likewise.
+ (xcoff64_ppc_relocate_section): Make static.
+ (xcoff64_slurp_armap): Likewise.
+ (xcoff64_archive_p): Likewise.
+ (xcoff64_openr_next_archived_file): Likewise.
+ (xcoff64_sizeof_headers): Likewise.
+ (xcoff64_is_lineno_count_overflow): Likewise.
+ (xcoff64_is_reloc_count_overflow): Likewise.
+ (xcoff64_loader_symbol_offset): Likewise.
+ (xcoff64_loader_reloc_offset): Likewise.
+ * elf64-gen.c: Add missing prototypes.
+
+2001-08-09 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64.
+ (bfd_elf_fprintf_vma): Likewise.
+
+2001-08-09 H.J. Lu <hjl@gnu.org>
+
+ * bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved
+ to ...
+ * elf-bfd.h: Here.
+ * bfd-in2.h: Regenerated.
+
+2001-08-09 H.J. Lu <hjl@gnu.org>
+
+ * bfd-in.h (bfd_sprintf_vma): New prototype.
+ (bfd_fprintf_vma): Likewise.
+ (bfd_elf_sprintf_vma): Likewise.
+ (bfd_elf_fprintf_vma): Likewise.
+ (bfd_printf_vma): New. Defined with bfd_fprintf_vma.
+ * bfd-in2.h: Regenerated.
+
+ * bfd.c (bfd_sprintf_vma): New. Defined.
+ (bfd_fprintf_vma): Likewise.
+
+ * elf.c (bfd_elf_sprintf_vma): New. Defined.
+ (bfd_elf_fprintf_vma): Likewise.
+
+2001-08-09 Alan Modra <amodra@bigpond.net.au>
+
+ * coff-rs6000.c: Add missing prototypes.
+ (xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,
+ xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,
+ xcoff_loader_reloc_offset): Make static.
+ * dwarf1.c: Add missing prototypes.
+ * dwarf2.c: Add missing prototypes.
+ (struct abbrev_info): Move definition.
+ (struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.
+ * elf.c: Add missing prototypes.
+ * elf32-gen.c: Likewise.
+ * elf32-i386.c: Likewise.
+ * elf32-ppc.c: Likewise.
+ (ppc_elf_sort_rela): Use PTR instead of "void *".
+ * elflink.h: Add missing prototypes. Formatting fixes.
+ * merge.c: Add missing prototypes.
+ (last4_eq): Use PTR instead of "void *".
+ (last_eq): Likewise.
+ * syms.c: Add missing prototypes.
+
+2001-08-09 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * bfd.c: Fix formatting.
+ * bfd-in2.h: Regenerate.
+
+2001-08-09 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * elf32-arc.c (R_ARC_B22_PCREL): Change 'partial_inplace' to
+ true (this target uses REL relocations) and 'pcrel_offset' to
+ false (the PC is implied, not stored in the offset).
+
+2001-08-08 Alan Modra <amodra@bigpond.net.au>
+
+ 1999-10-19 Linus Nordberg <linus@swox.se>
+ * elf-bfd.h (struct elf_backend_data): Add want_got_sym.
+ * elfxx-target.h (elf_backend_want_got_sym): Define.
+ (elfNN_bed): Add elf_backend_want_got_sym.
+ * elflink.c (_bfd_elf_create_got_section): Define
+ _GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.
+
+2001-08-08 Alexandre Oliva <aoliva@redhat.com>
+
+ * dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
+ (find_rela_addend): New function.
+ (parse_comp_unit): Call it to find the abbrev offset addend.
+ (_bfd_dwarf2_find_nearest_line): Initialize and maintain the new
+ members of dwarf2_debug as debugging information is read.
+
+2001-08-07 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * coff-sh.c (sh_coff_reloc_type_lookup): Provide for sh-coff
+ targets as well as sh-pe.
+
+2001-08-03 Ben Harris <bjh21@netbsd.org>
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Include offset of
+ reloc from start of section when computing value for R_ARM_REL32
+ reloc.
+
+2001-08-03 Alan Modra <amodra@bigpond.net.au>
+
+ From H.J. Lu <hjl@gnu.org>
+ * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don't
+ keep relocs for undefined syms if there are no dynamic sections in
+ executable.
+ * elf32-hppa.c (allocate_plt_and_got_and_discard_relocs): Likewise.
+
+2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
+
+ * cofflink.c (coff_link_check_ar_symbols): also search for
+ __imp__symbol as well as _symbol.
+ * linker.c (_bfd_generic_link_add_archive_symbols): also
+ search for __imp__symbol as well as _symbol.
+
+2001-08-01 Adam Nemet <anemet@lnxw.com>
+
+ * elf.c (elf_sort_sections): Return zero only as the last step.
+
+2001-08-01 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * config.bfd (arm-vxworks): Change name of define from VXWORKS to
+ ARM_COFF_BUGFIX.
+ (arm-epoc-pe): Define ARM_COFF_BUGFIX.
+ coff-arm.c (coff_arm_relocate_section): Replace VXWORKS with
+ ARM_COFF_BUGFIX.
+
+2001-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Changed return type
+ to match corresponding bfd_coff_backend data member.
+
+2001-07-24 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am: Update dependencies with "make dep-am".
+ * Makefile.in: Regenerate
+
+2001-07-15 H.J. Lu <hjl@gnu.org>
+
+ * Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp.
+ (po/BLD-POTFILES.in): Use tmp.bld instead of tmp.
+ * Makefile.in: Regenerate.
+
+2001-07-11 H.J. Lu <hjl@gnu.org>
+
+ * elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD
+ flags when creating the reloc section if the ALLOC flag in the
+ source section is set.
+
+2001-07-11 Steve Ellcey <sje@cup.hp.com>
+
+ * reloc.c (bfd_reloc_code_type): Add IA64 relocs
+ BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Regenerate.
+ * elfxx-ia64.c (ia64_howto_table): Define how to handle
+ new relocations.
+ (elfNN_ia64_reloc_type_lookup): Handle new relocations.
+ (elfNN_ia64_check_relocs): Likewise.
+ (elfNN_ia64_install_value): Likewise.
+ (elfNN_ia64_relocate_section): Likewise.
+
+2001-07-11 Jakub Jelinek <jakub@redhat.com>
+
+ * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
+ R_SPARC_UA64.
+ (elf32_sparc_check_relocs): Likewise.
+ Only create .rela section for alloced sections in shared libraries.
+ (elf32_sparc_relocate_section): Likewise.
+ Remove redundant check.
+ Optimize unaligned reloc usage.
+ * elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant
+ check.
+
+2001-07-11 H.J. Lu <hjl@gnu.org>
+
+ * elf64-alpha.c (elf64_alpha_check_relocs): Only use the same
+ ALLOC|LOAD flags as the source section for debugging sections
+ when creating the reloc section.
+
+2001-07-05 Jim Wilson <wilson@redhat.com>
+
+ * linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
+ the section of the bigger symbol.
+
+ * syms.c (bfd_is_local_label): Return false if BSF_SECTION_SYM.
+
+2001-07-05 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * peicode.h (coff_swap_scnhdr_in): For sections containing
+ uninitialised data, only set their size to s_paddr if this does
+ not reset their size to zero. MS's latest compilers will set
+ s_paddr to zero.
+
+2001-07-04 H.J. Lu <hjl@gnu.org>
+
+ * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):
+ Handle bfd_mach_mips4400, bfd_mach_mips4600 and
+ bfd_mach_mips5000.
+
+2001-07-03 Mark Elbrecht <snowball3@softhome.net>
+
+ * bfd.c (bfd_get_sign_extend_vma): Support DJGPP COFF targets.
+
+ * cofflink.c (_bfd_coff_link_input_bfd): Skip section symbols from
+ sections being discarded.
+
+2001-06-30 Alan Modra <amodra@bigpond.net.au>
+
+ * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
+ instead of _bfd_elfcore_section_from_phdr.
+ * elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
+ * elf.c (_bfd_elfcore_section_from_phdr): Remove.
+ (_bfd_elfcore_make_pseudosection): Expedite tail-call.
+ (elfcore_grok_prstatus): Likewise.
+ (elfcore_grok_lwpstatus): Likewise.
+ (bfd_get_elf_phdr_upper_bound): Likewise.
+ (elfcore_make_note_pseudosection): Formatting.
+ (_bfd_elfcore_strndup): Formatting.
+ * elf32-mips.c (mips_elf_sym_is_global): Formatting.
+ (_bfd_elf32_mips_grok_prstatus): Expedite tail-call.
+
+2001-06-29 Daniel Jacobowitz <drow@mvista.com>
+
+ * elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
+ and _bfd_elfcore_strndup.
+ (struct elf_backend_data): Add elf_backend_grok_prstatus
+ and elf_backend_grok_psinfo.
+ * elf.c (_bfd_elfcore_make_pseudosection): New function.
+ (elfcore_grok_prstatus): Use it.
+ (elfcore_make_note_pseudosection): Likewise.
+ (elfcore_strndup): Rename to...
+ (_bfd_elfcore_strndup): Here, and make global.
+ (elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
+ (elfcore_grok_note): Call elf_backend_grok_prstatus
+ and elf_backend_grok_psinfo if available.
+ * elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
+ (_bfd_elf32_mips_grok_psinfo): New function.
+ (elf_backend_grok_prstatus): Define.
+ (elf_backend_grok_psinfo): Define.
+ * elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
+ (elf_backend_grok_psinfo): Likewise.
+ (elfNN_bed): Include elf_backend_grok_prstatus and
+ elf_backend_grok_psinfo.
+
+2001-06-29 H.J. Lu <hjl@gnu.org>
+
+ * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Check if
+ hplink->sgot is NULL before filling GOT. Check if hplink->splt
+ is NULL before filling PLT.
+
+2001-06-29 Alan Modra <amodra@bigpond.net.au>
+
+ * elflink.h (elf_link_output_extsym): Revert 1999-04-10.
+
+2001-06-27 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic
+ here..
+ (elf32_hppa_adjust_dynamic_symbol): ..nor here..
+ (allocate_plt_and_got_and_discard_relocs): .. instead do so here
+ after gc has run.
+
+ * elf32-hppa.c (RELATIVE_DYNAMIC_RELOCS): Delete.
+ (IS_ABSOLUTE_RELOC): Define.
+ (elf32_hppa_link_hash_entry): Always include reloc_entries field.
+ (hppa_link_hash_newfunc): Always init it.
+ (elf32_hppa_check_relocs): Mark symbols as ELF_LINK_NON_GOT_REF to
+ create COPY relocs only when the reloc is in a read-only section.
+ Instead, allocate space for a dynamic reloc to reference the
+ library symbol directly. Keep track of space we allocate using
+ relocs_entries.
+ (hppa_discard_copies): Delete, and move code to..
+ (allocate_plt_and_got): ..here. Rename to
+ allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic
+ relocs for non-shared link.
+ (elf32_hppa_size_dynamic_sections): Update calls to above.
+ (elf32_hppa_relocate_section): Write out the dynamic relocs used
+ in lieu of COPY relocs.
+
+ * elf32-i386.c (elf_i386_check_relocs): Don't make syms dynamic
+ here..
+ (elf_i386_adjust_dynamic_symbol): ..nor here..
+ (allocate_plt_and_got_and_discard_relocs): .. instead do so here
+ after gc has run.
+ (elf_i386_size_dynamic_sections): Fix a comment.
+ (elf_i386_relocate_section <R_386_32, R_386_PC32>): Rearrange code
+ involved in writing reloc out.
+
+2001-06-25 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-i386.c (elf_i386_check_relocs <R_386_32, R_386_PC32>):
+ Ensure syms are dynamic if we might be emitting a reloc.
+ (allocate_plt_and_got_and_discard_relocs): Don't discard relocs
+ for undefweak or undefined syms..
+ (elf_i386_relocate_section <R_386_32, R_386_PC32>): .. and emit.
+
+ * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Discard
+ relocs without ELF_LINK_HASH_DEF_DYNAMIC set.
+ (elf_i386_relocate_section <R_386_32, R_386_PC32>): Remove
+ redundant bfd_link_hash_defined, bfd_link_hash_defweak test.
+
+2001-06-24 H.J. Lu <hjl@gnu.org>
+
+ * cpu-i960.c (scan_960_mach): Don't modify const char *. Use
+ strncasecmp/strcasecmp instead of strncmp/strcmp.
+
+2001-06-23 H.J. Lu <hjl@gnu.org>
+
+ * elf32-i386.c (elf_i386_relocate_section <R_386_32, R_386_PC32>):
+ Check ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined
+ in the regular object file and treat the weak definition as
+ the normal one.
+
+2001-06-23 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-i386.c (elf_i386_relocate_section <R_386_GOT32>): Tighten
+ unresolved_reloc test to exclude cases where we use "relocation"
+ before setting it to point into the .got. Reinstate fudge for
+ unresolved relocs in debugging sections.
+
+ * elf32-i386.c (elf_i386_relocate_section): Replace ugly
+ complicated tests for unresolvable relocs with a simple direct
+ scheme using "unresolved_reloc" var.
+
+ * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
+ elf_i386_dyn_relocs. Update comment.
+ (struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to
+ dyn_relocs.
+ (elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change
+ others to aborts.
+ (allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with
+ abort.
+ (elf_i386_size_dynamic_sections): Likewise.
+ (elf_i386_finish_dynamic_symbol): Likewise.
+ (elf_i386_finish_dynamic_sections): Likewise.
+ (elf_i386_relocate_section): Likewise. Tidy R_386_GOT32 and error
+ handling code.
+
+ Avoid creating COPY relocs if possible.
+ * elf32-i386.c (elf_i386_check_relocs): Tweak condition under
+ which .got created. Mark symbols used by R_386_32 and R_386_PC32
+ relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the
+ reloc is in a read-only section. Instead, allocate space for a
+ dynamic reloc to reference the library symbol directly. Keep
+ track of space we allocate using pcrel_relocs_copied.
+ (discard_copies): Delete, and move code to ..
+ (allocate_plt_and_got): ..here. Rename to
+ allocate_plt_and_got_and_discard_relocs. Remove unneeded dynamic
+ relocs for non-shared link.
+ (elf_i386_size_dynamic_sections): Update calls to above functions.
+ (elf_i386_relocate_section): Write out the dynamic relocs. Add
+ more ugly logic to avoid "unresolvable relocation" error. Use
+ htab shortcut in place of elf_hash_table macro.
+ (elf_i386_finish_dynamic_sections): Allow that dynamic .got may
+ not always be created now.
+
+2001-06-20 Bo Thorsen <bo@suse.co.uk>
+
+ * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of
+ shared libraries.
+
+2001-06-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * configure.host (mips64-*-linux): Reformat.
+
+2001-06-21 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always
+ allocate local .got space. Use shortcuts from hash table for .got
+ and .plt rather than comparing section names.
+ (elf32_hppa_check_relocs): Use local_plt_refcounts var rather than
+ adjusting index into local_got_refcounts to document what we are
+ really doing.
+ (elf32_hppa_relocate_section): Similarly for local_plt_offsets.
+ Tidy .got and .plt error checking.
+
+2001-06-20 Catherine Moore <clm@redhat.com>
+
+ * elf-bfd.h (struct elf_backend_data):
+ elf_backend_emit_relocs: New field: Function for emitting
+ relocs.
+ elf_backend_count_relocs: New field: Function for determining
+ the number of relocs to be emitted.
+ * elfxx-target.h: Provide default (NULL) values for
+ elf_backend_emit_relocs and elf_backend_count_relocs.
+ * elflink.h (elf_link_size_reloc_section): Make the hash table
+ big enough to hold the relocs counted by either reloc_count or
+ o->reloc_count.
+ (elf_bfd_final_link) emit_relocs: New boolean, set if relocs
+ should be emitted, either because of a command line option
+ stored in the info structure or because the target provides a
+ special reloc emitting function.
+ If the target provides a reloc counting function use it,
+ unless performing a relocatable link or emitting all relocs.
+ Also set the SEC_RELOC flag on any output section which will
+ contain relocs.
+ (elf_link_input_bfd): emit_relocs: New boolean, set if relocs
+ should be emitted, either because of a command line option
+ stored in the info structure or because the target provides a
+ special reloc emitting function.
+ If the target provides a reloc emitting function, use it,
+ unless performing a relocatable link or emitting all relocs.
+
+2001-06-20 H.J. Lu <hjl@gnu.org>
+
+ * elf32-i386.c (elf_i386_size_dynamic_sections): Always
+ allocate local .got space.
+
+2001-06-19 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix creation of
+ dynamic symbols.
+
+2001-06-18 Hans-Peter Nilsson <hp@axis.com>
+
+ * elflink.h (struct elf_assign_sym_version_info): Remove member
+ export_dynamic. All users changed to use info member.
+ NAME(bfd_elf,size_dynamic_sections)): Remove parameter
+ export_dynamic, instead use member in parameter info.
+ * bfd-in.h (bfd_elf32_size_dynamic_sections,
+ bfd_elf64_size_dynamic_sections): Update prototype.
+ * bfd-in2.h: Regenerate.
+
+2001-06-18 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_info_failed): Add a new field, verdefs.
+ (NAME(bfd_elf,size_dynamic_sections): Pass verdefs to
+ elf_export_symbol.
+ (elf_export_symbol): Check eif->verdefs to decide if a symbol
+ should be exported.
+
+2001-06-17 H.J. Lu <hjl@gnu.org>
+
+ * elf32-mips.c (mips_elf_link_hash_entry): Add a new field,
+ readonly_reloc, to record if a relocation in the .rel.dyn
+ section is against a read-only section.
+ (mips_elf_link_hash_newfunc): Initialize the readonly_reloc
+ field to false.
+ (_bfd_mips_elf_check_relocs): Record if there is a relocation
+ in the .rel.dyn section against a read-only section by setting
+ DF_TEXTREL or readonly_reloc.
+ (_bfd_mips_elf_copy_indirect_symbol): Copy readonly_reloc if
+ it is true.
+ (_bfd_mips_elf_adjust_dynamic_symbol): Record DF_TEXTREL if
+ there is a relocation in the .rel.dyn section against a
+ read-only section.
+ (_bfd_mips_elf_size_dynamic_sections): Set DT_TEXTREL if
+ DF_TEXTREL is set.
+
+2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * coffcode.h (styp_flags_to_sec_flags): Change to a boolean
+ function. Move flagword result into parameter list. Remove
+ comment about setting bfd_error_handler to intercept failure
+ results.
+ * coffgen.c (make_a_section_from_file): Examine result of
+ calling bfd_coff_styp_to_sec_flags and pass a failure back to
+ caller.
+ * ecoff.h (styp_flags_to_sec_flags): Change to a boolean
+ function. Move flagword result into parameter list.
+ * libcoff.h: Regenerate.
+ * libecoff.h: Regenerate.
+
+2001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * aoutx.h (adjust_z_magic): Only pad the tesxt section if the data
+ section is going to follow it.
+
+2001-06-12 Catherine Moore <clm@redhat.com>
+
+ * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN
+ with the file_align entry from elf_backend_data.
+ (elf_gc_smash_unused_vtentry_relocs): Likewise.
+ (elf_gc_record_vtentry): Likewise.
+
+2001-06-10 Alan Modra <amodra@bigpond.net.au>
+
+ * elflink.h: Whitespace changes.
+ (elf_link_read_relocs_from_section): Use "unsigned int" iterator
+ rather than "unsigned char".
+ (elf_link_output_relocs): Likewise.
+ (elf_link_input_bfd): Likewise.
+ (elf_reloc_link_order): LIkewise.
+ * elf.c: s/CONST/const/. Whitespace changes.
+ * elf32-mips.c: Formatting fix.
+
+ * Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h.
+ * Makefile.in: Regenerate.
+ * po/Make-in: Remove trailing tab.
+
+2001-06-09 Philip Blundell <philb@gnu.org>
+
+ * elf32-arm.h (elf32_arm_plt0_entry): Correct error in last
+ change.
+ (elf32_arm_plt_entry): Likewise.
+
+2001-06-08 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (swap_out_syms): Keep names for global section symbols.
+
+2001-06-07 H.J. Lu <hjl@gnu.org>
+
+ * config.bfd: Put back ecoff for Linux/mips. Firmwares on some
+ MIPS-based machines need it.
+
+2001-06-07 H.J. Lu <hjl@gnu.org>
+
+ * elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
+ for SGI only.
+
+ * config.bfd: Remove ecoff from Linux/mips.
+
+2001-06-07 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an
+ assertion.
+ (elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an
+ alignment of 8 for .rela sections; handle further relocations.
+
+2001-06-06 Christian Groessler <cpg@aladdin.de>
+
+ * coff-z8k.c: Fix formatting.
+ Fix howtos: howto->size was always 1.
+
+2001-06-05 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * configure.host (mips64*-*-linux*): Define.
+
+2001-06-05 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-i386.c (elf_i386_discard_copies): Rename to
+ discard_copies, and use elf_link_hash_entry arg rather than
+ elf_i386_link_hash_entry.
+ (elf_i386_link_hash_traverse): Delete.
+ (elf_i386_size_dynamic_sections): Adjust call to discard_copies.
+ Tidy sizing of dynamic sections.
+ (elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count
+ possible .plt entries.
+ (elf_i386_gc_sweep_hook): Likewise.
+ (elf_i386_adjust_dynamic_symbol): Discard .plt entries for
+ everything with plt.refcount <= 0.
+
+ * elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and
+ .relgot space here.
+ (elf_i386_gc_sweep_hook): ..and no need to deallocate here..
+ (elf_i386_adjust_dynamic_symbol): ..and don't allocate .plt and
+ .rel.plt here..
+ (allocate_plt_and_got): ..instead do it all here. New function.
+ (elf_i386_size_dynamic_sections): Allocate local .got space and
+ call allocate_plt_and_got. No need to zap .relgot if not dynamic.
+ (bfd_elf32_bfd_final_link): Delete. (ie. use regular final link
+ rather than gc variety).
+ (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
+ (elf_i386_relocate_section): Use it here and correct handling of
+ R_386_GOT32. Provide section and offset for "unresolvable
+ relocation" error message.
+ (elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32.
+
+ * elf32-i386.c (struct elf_i386_link_hash_table): Add sgot,
+ sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields.
+ (elf_i386_link_hash_table_create): Init them.
+ (create_got_section): New function.
+ (elf_i386_create_dynamic_sections): New function.
+ (elf_backend_create_dynamic_sections): Set to above.
+ (elf_i386_check_relocs): Use shortcuts from hash table rather than
+ calling bfd_get_section_by_name.
+ (elf_i386_gc_sweep_hook): Likewise.
+ (elf_i386_adjust_dynamic_symbol): Likewise.
+ (elf_i386_size_dynamic_sections): Likewise.
+ (elf_i386_relocate_section): Likewise.
+ (elf_i386_finish_dynamic_sections): Likewise.
+
+ * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.
+
+2001-06-02 H.J. Lu <hjl@gnu.org>
+
+ * elf32-hppa.c (elf32_hppa_object_p): Check ELFOSABI_LINUX
+ and ELFOSABI_HPUX.
+ * elf64-hppa.c (elf64_hppa_object_p): Likewise.
+
+2001-06-02 H.J. Lu <hjl@gnu.org>
+
+ * aout-cris.c (MACHTYPE_OK): New. Defined.
+
+2001-06-02 Hans-Peter Nilsson <hp@axis.com>
+
+ * section.c (_bfd_strip_section_from_output): Handle NULL
+ output_section.
+
+2001-06-02 H.J. Lu <hjl@gnu.org>
+
+ * config.bfd (powerpc-*-aix*, powerpc-*-beos*, rs6000-*-*): Add
+ rs6000coff64_vec only if BFD64 is defined.
+ (powerpc64-*-aix*): Enable only if BFD64 is defined.
+
+2001-06-02 H.J. Lu <hjl@gnu.org>
+
+ * coff-ia64.c (ia64coff_object_p): Rewrite with
+ external_PEI_DOS_hdr and external_PEI_IMAGE_hdr.
+
+2001-06-01 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_relocate_section): Add PC8
+ relocation, small reformatting.
+
+2001-05-29 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_check_relocs): Handle R_X86_64_64.
+ (elf64_x86_64_relocate_section): Likewise.
+
+2001-05-30 Alan Modra <amodra@one.net.au>
+
+ * elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
+ millicode. Don't allocate .got and .rela.got space here..
+ (elf32_hppa_gc_sweep_hook): ..and no need to deallocate here..
+ (elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
+ .rela.plt here..
+ (hppa_handle_PIC_calls): ..nor here..
+ (allocate_plt_and_got): ..instead do it all here. New function.
+ (elf32_hppa_size_dynamic_sections): Allocate local .got space and
+ call allocate_plt_and_got. No need to zap .got if not dynamic.
+ (elf32_hppa_final_link): Call regular bfd_final_link instead of
+ gc_common_final_link.
+ (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
+ (elf32_hppa_relocate_section): Use it here.
+ (elf32_hppa_finish_dynamic_symbol): Remove superfluous test of
+ dynamic_sections_created.
+ (hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym.
+
+2001-05-28 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_86_64_size_info): Remove, we can use the
+ generic version since we want a hashsize of 4.
+ (elf_backend_size_info): Likewise.
+
+2001-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * elflink.h (elf_link_size_reloc_section): Use bfd_zmalloc instead of
+ a zeroing loop.
+ (elf_link_output_relocs): Handle MIPS ELF64 relocations correctly.
+ (elf_link_input_bfd): Likewise.
+ (elf_reloc_link_order): Likewise.
+ (elf_finish_pointer_linker_section): Typo. Handle MIPS ELF64
+ relocations correctly.
+
+2001-05-28 Nicolas Pitre <nico@cam.org>
+
+ * elf32-arm.h: fix PLT generation for big endian ARM
+
+2001-05-28 Alan Modra <amodra@one.net.au>
+
+ * elf32-hppa.c (elf32_hppa_relocate_section): Set up .plt entries
+ for symbols forced local that need plabels.
+ (elf32_hppa_adjust_dynamic_symbol): Don't allocate space in
+ .plt.rela for local syms if non-shared.
+ (hppa_build_one_stub): Mask lsb of plt.offset.
+ (elf32_hppa_finish_dynamic_symbol): Abort if lsb of plt.offset set.
+ (clobber_millicode_symbols): Correct comment.
+ (elf32_hppa_relocate_section): Likewise.
+ (elf32_hppa_finish_dynamic_symbol): Likewise.
+
+2001-05-28 Jeff Sturm <jsturm@one-point.com>
+
+ * reloc.c: Add BFD_RELOC_SPARC_UA16 and BFD_RELOC_SPARC_UA64.
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Regenerate.
+ * elf32-sparc.c: Enable BFD_RELOC_SPARC_UA16, BFD_RELOC_SPARC_UA32
+ and BFD_RELOC_SPARC_UA64 mapping
+ * elf64-sparc.c: Likewise.
+
+2001-05-25 H.J. Lu <hjl@gnu.org>
+
+ * Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
+ (BFD32_BACKENDS_CFILES): Remove coff-pmac.c.
+ (coff-rs6000.lo): Remove the old dependency.
+ * Makefile.in: Rebuild.
+
+ * configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with
+ coff-rs6000.lo.
+
+2001-05-25 H.J. Lu <hjl@gnu.org>
+
+ * coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,
+ rs6000coff_core_file_matches_executable_p,
+ rs6000coff_core_file_failing_command and
+ rs6000coff_core_file_failing_signal only if AIX_CORE is
+ defined.
+ (pmac_xcoff_vec): Likewise.
+ * coff64-rs6000.c (rs6000coff64_vec): Likewise.
+
+2001-05-25 Timothy Wall <twall@redhat.com>
+
+ * elfxx-ia64.c (allocate_dynrel_entries): Don't allocate an entry
+ for __GLOB_DATA_PTR on AIX5. Clean up some relocation bugs.
+
+2001-05-25 H.J. Lu <hjl@gnu.org>
+
+ * bfd-in2.h: Regenerated.
+ * libcoff.h: Likewise.
+
+2001-05-25 Alan Modra <amodra@one.net.au>
+
+ * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
+ undefined millicode syms in shared libs.
+ (hppa_build_one_stub): Turn BFD_ASSERTs into aborts.
+ (elf32_hppa_check_relocs): Likewise.
+ (elf32_hppa_adjust_dynamic_symbol): Likewise.
+ (elf32_hppa_size_dynamic_sections): Likewise.
+ (elf32_hppa_relocate_section): Likewise.
+ (elf32_hppa_finish_dynamic_symbol): Likewise.
+ (elf32_hppa_finish_dynamic_sections): Likewise.
+
+2001-05-24 Tom Rix <trix@redhat.com>
+
+ * Makefile.am coff-pmac bfd now defined in coff-rs6000.c
+ xcoff-target.h not used to define rs6000 or ppc bfd.
+ * Makefile.in same
+
+ * bfd-in.h : (struct lineno_cache_entry) promote element "offset"
+ to 64 bit.
+
+ * coff-rs6000.c : Many changes for 64 bit support. Move common
+ 32/64 code to xcofflink.c. Explictly define the rs6000coff_vec
+ and pmac_xcoff_vec
+
+ * coff64-rs6000.c : Many changes for 64 bit support. 64 bit
+ linker now supported. Explictly define the rs6000coff64_vec.
+
+ * coffcode.h : (coff_set_arch_mach_hook) xcoff 64 bit support
+ (coff_print_aux) same
+ (coff_write_object_contents) same
+ (coff_slurp_line_table) same
+
+ * coffgen.c : (coff_fix_symbol_name) formatting
+ (coff_mangle_symbols) xcoff 64 bit support
+ (coff_write_symbol) same
+ (coff_write_alien_symbol) same
+ (coff_write_native_symbol) same
+ (coff_write_symbols) same
+ (coff_get_symbol_info) same
+ (bfd_coff_get_syment) same
+ (coff_print_symbol) same
+
+ * config.bfd : add powerpc64-*-aix* target
+
+ * libcoff-in.h : formatting
+
+ * libcoff.h : move xcoff extern declarations to libxcoff.h
+
+ * libxcoff.h : New file
+
+ * xcofflink.c : Many changes for xcoff64 support. Move common
+ structures to include/coff/xcoff.h. Move specific structure to
+ backends coff-rs6000.c and coff64-rs6000.c. Use new backend
+ functions, defined in libxcoff.h, to isolate 32/64 dependencies.
+
+ (bfd_xcoff_size_dynamic_sections) : special __rtinit symbol for
+ aix4.2+ -binitfini.
+
+ (xcoff_build_ldsyms) : handle special __rtinit symbol.
+
+2001-05-23 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
+ s/ENTIRES/ENTRIES/.
+
+2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * reloc.c (bfd_reloc_code_real): Add MIPS ELF64 relocations.
+ * libbfd.h: Regenerate.
+ * bfd-in2.h: Regenerate.
+
+ * aoutx.h (aout_@var{size}_machine_type): Add MIPS r12k support.
+ * archures.c (bfd_mach_mips12000): Define.
+ * cpu-mips.c (arch_info_struct): Add MIPS r12k support.
+ * elf32-mips.c (_bfd_mips_elf_final_write_processing): Add MIPS r12k
+ support.
+ (_bfd_mips_elf_size_dynamic_sections): Use official bfd typedef.
+ * bfd-in2.h: Regenerate.
+ * elfxx-target.h: Do not redefine bfd_elfNN_bfd_make_debug_symbol.
+
+2001-05-23 kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry,
+ elf_sh_plt_entry_be, elf_sh_plt_entry, elf_sh_pic_plt_entry_be,
+ elf_sh_pic_plt_entry): New PLT code, that does not use r2, since
+ that is used by GCC.
+
+2001-05-23 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * elf-bfd.h (NUM_SHDR_ENTRIES): New macro: compute the number
+ of entries in a structured section.
+ * elf.c: Use new macro.
+ * elf32-i386.c: Use new macro.
+ * elf32-mips.c: Use new macro.
+ * elf64-alpha.c: Use new macro.
+ * elf64-sparc.c: Use new macro.
+ * elfcode.h: Use new macro.
+ * elflink.h: Use new macro.
+
+2001-05-23 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * bfdint.texi: Replace -oformat with --oformat.
+
+2001-05-21 Andreas Jaeger <aj@suse.de>
+
+ * dwarf2.c (decode_line_info): Fix error message.
+ (read_abbrevs): Fix test for offset as suggested by Alan Modra and
+ adjust error message.
+
+2001-05-18 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_link_add_object_symbols): Revert the last
+ change.
+
+2001-05-17 Alan Modra <amodra@one.net.au>
+
+ * elf32-hppa.c (clobber_millicode_symbols): Temporarily set
+ ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change.
+ (hppa_build_one_stub): Add an assert to check plt.offset.
+
+2001-05-17 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
+ version definition to basename of the output filename.
+
+2001-05-17 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to
+ basename of the bfd filename.
+
+2001-05-16 Alan Modra <amodra@one.net.au>
+
+ * section.c (asection): Add linker_has_input field.
+ (STD_SECTION): Adjust initialization to suit.
+ * ecoff.c (bfd_debug_section): Likewise.
+ * bfd-in2.h: Regenerate.
+
+2001-05-15 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf-m10300.c (mn10300_elf_relax_section): Don't relax
+ negative 32-bit operands to 16 operands when the operand is
+ going to be zero-extended by the modified opcode.
+
+2001-05-12 Peter Targett <peter.targett@arccores.com>
+
+ * cpu-arc.c (arch_info_struct): Add entry 'base' representing old
+ name for 'arc5' core versions.
+ (bfd_arc_arch): Make bfd_mach_arc_6 default.
+
+ * elf32-arc.c (arc_elf_object_p): Make E_ARC_MACH_ARC6 default
+ architecture.
+ (arc_elf_final_write_processing): Make bfd_mach_arc_6 default.
+
+2001-05-11 Jakub Jelinek <jakub@redhat.com>
+
+ * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
+ sections as well.
+ (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
+ to .gnu.linkonce.t.FOO text section.
+
+2001-05-11 Jakub Jelinek <jakub@redhat.com>
+
+ * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffix
+ fields, change sec into secinfo.
+ (struct sec_merge_info): Add chain, remove last fields.
+ (struct sec_merge_sec_info): Add next, sec, psecinfo fields.
+ (sec_merge_hash_lookup): If lookup could not use a string only
+ because it has bad alignment, mark the old string for deletion.
+ (sec_merge_add): Add secinfo argument. Don't compute entry's
+ position, instead record the section.
+ (sec_merge_emit): Update for the sec into secinfo change in
+ struct sec_merge_hash_entry.
+ (_bfd_merge_section): Only record the section for merging, defer
+ putting strings into the hash table.
+ (cmplengthentry, last4_eq, last_eq, record_section, merge_strings,
+ _bfd_merge_sections): New functions.
+ (_bfd_merged_section_offset): Update for the sec_merge_hash_entry
+ changes.
+ * libbfd-in.h (_bfd_merge_sections): Add prototype.
+ (_bfd_nolink_bfd_merge_sections): Define.
+ * libbfd.h: Likewise.
+ (bfd_generic_merge_sections): Add prototype.
+ * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections.
+ (struct bfd_target): Likewise.
+ * bfd.c (bfd_merge_sections): Define.
+ * bfd-in2.h: Rebuilt.
+ * elf.c (_bfd_elf_merge_sections): New function.
+ * elf-bfd.h (_bfd_elf_merge_sections): Add prototype.
+ * elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define.
+ * reloc.c (bfd_generic_merge_sections): New function.
+ * vms.c (vms_bfd_merge_sections): New function.
+ * aout-adobe.c (aout_32_bfd_merge_sections): Define.
+ * aout-target.h (MY_bfd_merge_sections): Define.
+ * aout-tic30.c (MY_bfd_merge_sections): Define.
+ * binary.c (binary_bfd_merge_sections): Define.
+ * bout.c (b_out_bfd_merge_sections): Define.
+ * coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define.
+ * coffcode.c (coff_bfd_merge_sections): Define.
+ * coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define.
+ * i386msdos.c (msdos_bfd_merge_sections): Define.
+ * i386os9k.c (os9k_bfd_merge_sections): Define.
+ * ieee.c (ieee_bfd_merge_sections): Define.
+ * ihex.c (ihex_bfd_merge_sections): Define.
+ * nlm-target.h (nlm_bfd_merge_sections): Define.
+ * oasys.c (oasys_bfd_merge_sections): Define.
+ * ppcboot.c (ppcboot_bfd_merge_sections): Define.
+ * som.c (som_bfd_merge_sections): Define.
+ * srec.c (srec_bfd_merge_sections): Define.
+ * tekhex.c (tekhex_bfd_merge_sections): Define.
+ * versados.c (versados_bfd_merge_sections): Define.
+ * xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define.
+
+2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * dwarf1.c (_bfd_dwarf1_find_nearest_line): Change type of 'addr'
+ to be unsigned long, in order to match its use.
+
+2001-05-10 H.J. Lu <hjl@gnu.org>
+
+ * linker.c (_bfd_generic_link_add_one_symbol): Check loop on
+ indirect symbols.
+
+2001-05-09 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_link_add_object_symbols): Fix a typo. Allocate
+ versymhdr->sh_size bytes for extversym instead of hdr->sh_size.
+ Remove the unused veriable `dynver'.
+
+2001-05-08 Ian Lance Taylor <ian@zembu.com>
+
+ * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is
+ NULL or is not COFF.
+ (coff_i386_rtype_to_howto): Don't dump core if output section
+ owner is not COFF.
+
+2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * ecoff.c (bfd_debug_section): Fix initialization.
+ * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
+ is always a positive integer. Cast away sign mismatch.
+ * elf32-mips.c: Fix misleading comment and typo.
+ (_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use
+ correct data type.
+ * elflink.c: Fix typo.
+ (_bfd_elf_create_dynamic_sections): Remove superfluous initialization.
+ * ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch.
+
+2001-05-04 Richard Henderson <rth@redhat.com>
+
+ * elf64-alpha.c (SREL16, SREL32, SREL64): Set pcrel_offset true.
+
+2001-05-04 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Set
+ EF_ARM_HASENTRY if the start address is set.
+
+2001-05-03 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * targets.c (_bfd_target_vector_entries): Compute value based on
+ the size of the _bfd_target_vector and not bfd_target_vector.
+
+2001-05-03 H.J. Lu <hjl@gnu.org>
+
+ * elfcode.h: Include "libiberty.h".
+
+ * elflink.h (elf_link_add_object_symbols): Set
+ elf_dt_name (abfd) to basename of the bfd filename.
+ (NAME(bfd_elf,size_dynamic_sections)): Set vn_file to basename
+ of the bfd filename.
+
+2001-05-03 Andreas Jaeger <aj@suse.de>
+
+ * elf64-gen.c (elf_generic_info_to_howto): Add unused attribute.
+ (elf_generic_info_to_howto_rel): Likewise.
+ * coff-alpha.c (reloc_nil): Likewise.
+ (alpha_ecoff_bad_format_hook): Likewise.
+ (alpha_adjust_reloc_out): Likewise.
+ (alpha_bfd_reloc_type_lookup): Likewise.
+ (alpha_convert_external_reloc): Likewise.
+ * elf64-alpha.c (elf64_alpha_reloc_nil): Likewise.
+ (elf64_alpha_reloc_bad): Likewise.
+ (elf64_alpha_reloc_gpdisp): Likewise.
+ (elf64_alpha_bfd_reloc_type_lookup): Likewise.
+ (elf64_alpha_info_to_howto): Likewise.
+ (elf64_alpha_add_symbol_hook): Likewise.
+ (elf64_alpha_create_got_section): Likewise.
+ (elf64_alpha_is_local_label_name): Likewise.
+ (elf64_alpha_merge_ind_symbols): Likewise.
+ * elf64-mips.c (mips_elf64_reloc_type_lookup): Likewise.
+ (mips_elf64_get_reloc_upper_bound): Likewise.
+ * nlm32-alpha.c (nlm_alpha_mangle_relocs): Likewise.
+ (nlm_alpha_get_public_offset): Likewise.
+
+2001-05-02 Johan Rydberg <jrydberg@opencores.org>
+
+ * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain
+ about overflow in R_OPENRISC_LO_16_IN_INSN and
+ R_OPENRISC_HI_16_IN_INSN.Index: bfd/elf32-openrisc.c
+
+2001-04-30 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1
+ only for ELF_LINK_FORCED_LOCAL.
+ * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
+ * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise.
+ * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise.
+
+ * elflink.h (elf_fix_symbol_flags): Set ELF_LINK_FORCED_LOCAL
+ if the symbol has hidden or internal visibility.
+
+2001-04-30 Alan Modra <amodra@one.net.au>
+
+ * elf32-hppa.c (final_link_relocate): Branch to .+8 for
+ calls to undefined weak symbols.
+
+2001-04-30 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_relocate_section): Correct test for
+ R_X86_64_GOTPCREL, don't use assignments instead of comparisons.
+
+2001-04-27 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Only swap
+ out handled entries.
+ (elf64_x86_64_finish_dynamic_symbol): Set up GOT entries.
+ (elf64_x86_64_relocate_section): Fix GOTPCREL calculation.
+ (elf64_x86_64_relocate_section): Merge entries for GOTPCREL and
+ GOT32.
+
+2001-04-27 Sean McNeil <sean@mcneil.com>
+
+ * config.bfd: Add arm-vxworks target.
+ * coff-arm (coff_arm_relocate_section): Add in symbol value to
+ addend (fro VXworks targets).
+
+2001-04-26 H.J. Lu <hjl@gnu.org>
+
+ * elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is
+ valid.
+
+2001-04-25 Frank Ch. Eigler <fche@redhat.com>
+
+ * bfd-in.h (bfd_cache_close): Declare newly exported function.
+ * bfd-in2.h: Regenerated.
+
+2001-04-24 Jakub Jelinek <jakub@redhat.com>
+
+ * merge.c (struct sec_merge_hash_entry): Add alignment field.
+ (struct sec_merge_hash): Remove alignment_power.
+ (sec_merge_hash_newfunc): Clear alignment.
+ (sec_merge_hash_lookup): Pass alignment as argument.
+ Use hashp->root.next, not hashp->next to walk the hash chain.
+ If a string already in the hashtable does not have required
+ alignment, create a new hashtable entry.
+ (sec_merge_init): Remove alignment_power argument.
+ (sec_merge_add): Add alignment argument.
+ (sec_merge_emit): Alignment is now a per-entity thing, not per
+ section.
+ (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
+ for proper alignment.
+ Pass alignment information to sec_merge_add.
+
+2001-04-24 Christian Groessler <cpg@aladdin.de>
+
+ * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR
+ and R_REL16 reloc types; accept odd values for R_REL16 type
+
+2001-04-24 Johan Rydberg <jrydberg@opencores.org>
+
+ * cpu-openrisc.c: New file.
+ * elf32-openrisc.c: Likewise.
+
+ * Makefile.am (ALL_MACHINES): Add cpu-openrisc.lo.
+ (ALL_MACHINES_CFILES): Add cpu-openrisc.c.
+ (BFD32_BACKENDS): Add elf32-openrisc.lo.
+ (BFD32_BACKENDS_CFILES): Add elf32-openrisc.c.
+ (cpu-openrisc.lo, elf32-openrisc.lo): New rules.
+ * Makefile.in: Regenerated.
+ * config.bfd: (openrisc-*-elf): New target.
+ * configure.in (bfd_elf32_openrisc_vec): New vector.
+ * configure: Regenerated.
+ * libbfd.h: Regenerated.
+ * bfd-in2.h: Regenerated.
+ * reloc.c: Add OpenRISC relocations.
+ * targets.c (bfd_elf32_openrisc_vec): Declare.
+ (bfd_target_vect): Add bfd_elf32_openrisc_vec.
+ * archures.c (enum bfd_architecture): Add bfd_arch_openrisc.
+ (bfd_openrisc_arch): Declare.
+ (bfd_archures_list): Add bfd_openrisc_arch.
+ * elf.c (prep_headers): Add bfd_arch_openrisc.
+
+2001-04-23 Bo Thorsen <bo@suse.de>
+
+ * elf64-x86-64.c: Add c++ vtable hack.
+ Small whitespace and comment changes.
+
+2001-04-19 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.
+ (elf64_x86_64_plt_entry): Likewise.
+ (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.
+ (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.
+
+2001-04-17 Hans-Peter Nilsson <hp@axis.com>
+
+ * elf32-cris.c: Tweak comments related to dynamic linking.
+ (cris_elf_relocate_section): When not creating shared object, fill
+ in the .got table for any symbol not in the dynamic symbol table.
+ (elf_cris_finish_dynamic_symbol): When not creating shared object,
+ only emit a .got.rela reloc if the symbol is in the dynamic symbol
+ table.
+ (cris_elf_check_relocs): Use variable r_type in all places rather
+ than the original expression. Add default case in switch for
+ reloc types.
+ (elf_cris_size_dynamic_sections): Iterate over
+ elf_cris_discard_excess_program_dynamics when not creating shared
+ library.
+ (elf_cris_discard_excess_dso_dynamics): Renamed from
+ elf_cris_discard_copies. Correct typo, s/Rel/Rela/.
+ (elf_cris_discard_excess_program_dynamics): New.
+
+2001-04-14 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * coffcode.h (coff_write_object_contents): Use
+ bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
+
+2001-04-14 H.J. Lu <hjl@gnu.org>
+
+ * bfd-in2.h: Regenerate.
+
+2001-04-14 Jakub Jelinek <jakub@redhat.com>
+
+ * section.c (STD_SECTION): Add entsize.
+
+2001-04-13 H.J. Lu <hjl@gnu.org>
+
+ * section.c (SEC_MERGE): Define new flag for merging.
+ (SEC_STRINGS): Likewise.
+ (entsize): New field.
+
+2001-04-13 Roger Sayle <roger@metaphorics.com>
+
+ * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
+ flag on pe-i386 targets.
+
+2001-04-13 Jakub Jelinek <jakub@redhat.com>
+
+ * libbfd-in.h (_bfd_merge_section): New.
+ (_bfd_write_merged_section): New.
+ (_bfd_merged_section_offset): New.
+ * libbfd.h: Rebuilt.
+ * linker.c (_bfd_generic_link_output_symbols): Handle
+ discard_sec_merge.
+ * aoutx.h (aout_link_write_symbols): Likewise.
+ * pdp11.c (aout_link_write_symbols): Likewise.
+ * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
+ (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
+ sections.
+ (elf_link_sec_merge_syms): New.
+ (elf_link_input_bfd): Call _bfd_merged_section_offset
+ and _bfd_write_merged_section.
+ Handle discard_sec_merge.
+ * elf-bfd.h (struct elf_link_hash_table): Add merge_info
+ field.
+ (struct bfd_elf_section_data): Likewise.
+ * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
+ SEC_STRINGS section flags and entsize from their ELF counterparts.
+ (_bfd_elf_link_hash_table_init): Initialize merge_info.
+ (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
+ from their BFD counterparts.
+ * merge.c: New file.
+ * Makefile.am: Add strtab.lo.
+ * Makefile.in: Rebuilt.
+
+2001-04-09 Hans-Peter Nilsson <hp@axis.com>
+
+ * elflink.h (elf_fix_symbol_flags): For non-default visibilities,
+ only hide symbols marked STV_INTERNAL or STV_HIDDEN.
+
+2001-04-05 Steven J. Hill <sjhill@cotw.com>
+
+ * config.bfd (mips*el*-*-linux-gnu*): Use traditional little
+ endian MIPS ELF target.
+ * config.bfd (mips*-*-linux-gnu*): Use traditional big endian
+ MIPS ELF target.
+
+ * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional
+ 64bit big endian MIPS ELF target.
+ (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
+ endian MIPS ELF target.
+ * configure: Regenerated.
+
+ * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and
+ little endian targets.
+ (mips_elf_sym_is_global): Handle traditional targets.
+
+ * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional
+ 64bit big endian MIPS ELF target.
+ (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
+ endian MIPS ELF target.
+
+ * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec
+ and bfd_elf64_tradlittlemips_vec.
+
+2001-04-05 David Mosberger <davidm@hpl.hp.com>
+
+ * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
+ ordinary "progbits" section.
+
+2001-04-04 Alan Modra <alan@linuxcare.com.au>
+
+ * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
+ when -Bsymbolic causes a symbol to no longer need a .plt entry.
+
+2001-04-03 David Mosberger <davidm@hpl.hp.com>
+
+ * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.
+
+2001-03-30 H.J. Lu <hjl@gnu.org>
+
+ * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ...
+ (PEI_DEFAULT_TARGET_SUBSYSTEM): This.
+
+2001-03-26 H.J. Lu <hjl@gnu.org>
+
+ * elf32-gen.c (elf32_generic_link_add_symbols): New. Check
+ if there are any relocations for generic ELF.
+ (bfd_elf32_bfd_link_add_symbols): Defined to
+ elf32_generic_link_add_symbols.
+ * elf64-gen.c (elf64_generic_link_add_symbols): New. Check
+ if there are any relocations for generic ELF.
+ (bfd_elf64_bfd_link_add_symbols): Defined to
+ elf64_generic_link_add_symbols.
+
+2001-03-23 Nick Clifton <nickc@redhat.com>
+
+ * Makefile.am (BUILD_CFILES): New variable: List of C source
+ files created in build directory.
+ (BUILD_HFILES): New variable: List of header files created in
+ build directory.
+ (POTFILES): Delete.
+ (po/POTFILES.in): Replace rule with empty entry.
+ (po/SRC-POTFILES.in): New rule: Create a list of source files
+ in the source directory.
+ (po/BLD-POTFILES.in): New rule: Create a list of source files
+ in the build directory.
+ (MOSTLYCLEAN): Do not delete source files created in build
+ directory.
+ * Makefile.in: Regenerate.
+ * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in
+ into po/Makefile.
+ * configure: Regenerate.
+
+ * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES
+ and BLD_POTFILES.
+ Add .. to the search path when building bfd.pot.
+ Delete POTFILES when performing distclean.
+ Add comment describing why distclean is broken in maintainer mode.
+ * po/POTFILES.in: Delete.
+ * po/SRC-POTFILES.in: New file.
+ * po/BLD-POTFILES.in: New file.
+ * po/bfd.pot: Regenerate.
+
+2001-03-22 Hans-Peter Nilsson <hp@axis.com>
+
+ * elf32-cris.c: Shlib and PIC support. PCREL tweaks.
+ (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got,
+ elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc,
+ elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol,
+ elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol,
+ elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New
+ functions.
+ (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL,
+ R_CRIS_32_PCREL>: Correct comments. Set pcrel_offset to false.
+ <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
+ R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
+ R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>:
+ New HOWTO members for new relocs.
+ (cris_reloc_map): Map new relocs.
+ (ELF_DYNAMIC_INTERPRETER): Define.
+ (PLT_ENTRY_SIZE): Define.
+ (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry,
+ elf_cris_pic_plt_entry): New, PLT templates.
+ (struct elf_cris_pcrel_relocs_copied, struct
+ elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New.
+ (elf_cris_link_hash_traverse, elf_cris_hash_table): Define.
+ (cris_final_link_relocate): Check that 16-bit GOT relocs have
+ positive values. Adjust PCREL relocs to be relative to location
+ after relocation.
+ (cris_elf_relocate_section): Handle relocations to dynamic
+ objects. Handle new relocations. Call error handler when seeing
+ non-PIC relocation for read-only sections while generating shared
+ object.
+ (cris_elf_check_relocs): Set reference counts for GOT and PLT
+ entries.
+ (bfd_elf32_bfd_link_hash_table_create,
+ elf_backend_adjust_dynamic_symbol,
+ elf_backend_size_dynamic_sections,
+ elf_backend_finish_dynamic_symbol,
+ elf_backend_finish_dynamic_sections,
+ elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link,
+ elf_backend_hide_symbol, elf_backend_want_got_plt,
+ elf_backend_plt_readonly, elf_backend_want_plt_sym,
+ elf_backend_got_header_size, elf_backend_plt_header_size):
+ Define.
+
+ * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT,
+ BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE,
+ BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT,
+ BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT,
+ BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL,
+ BFD_RELOC_CRIS_32_PLT_PCREL): New relocs.
+ * bfd-in2.h, libbfd.h: Regenerate.
+
+2001-03-21 Diego Novillo <dnovillo@redhat.com>
+
+ (_bfd_mips_elf_relocate_section): Give a better error message when
+ a relocation is not recognized.
+
+2001-03-21 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section
+ non-NULL before attempting to dereference.
+
+2001-03-20 H.J. Lu <hjl@gnu.org>
+
+ * configure.in: Remove the redundent AC_ARG_PROGRAM.
+ * configure: Rebuild.
+
+2001-03-20 Andreas Schwab <schwab@suse.de>
+
+ * elf32-m68k.c (elf_m68k_relocate_section): Don't need the
+ relocation value when resolving a reference from a debugging
+ section.
+
+2001-03-16 Scott Thomason <SThomaso@hii.com>
+
+ * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors.
+ (xcoff64_swap_sym_out): Fix syntax errors.
+
+2001-03-16 Richard Sandiford <rsandifo@redhat.com>
+
+ * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning.
+
+2001-03-15 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call.
+ (hppa_link_hash_newfunc): Init it.
+ (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller
+ section appears to be non-PIC.
+ (final_link_relocate): Likewise.
+ (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any
+ possible candidate function, and set pic_call for those that will
+ only have a .plt entry for the PIC call stub.
+ (hppa_handle_PIC_calls): Set maybe_pic_call.
+
+2001-03-12 DJ Delorie <dj@redhat.com>
+
+ * elf32-sh.c (sh_elf_relocate_section): Only relocation
+ R_SH_DIR8WP* relocs if they're against external symbols, else
+ they're just for relaxing. Validate the reloc values.
+
+2001-03-12 Stefan Geuken <mail@stefan-geuken.de>
+
+ * binary.c (bfd_external_binary_architecture): Declare.
+ (binary_object_p): If bfd_external_binary_architecture is defined,
+ set the architecture to this string.
+
+2001-03-11 Philip Blundell <philb@gnu.org>
+
+ * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT
+ entries that could serve as a definition for a weak symbol.
+
+2001-03-08 Nick Clifton <nickc@redhat.com>
+
+ * Most files: Update copyright notices using Perl script created
+ by Kevin Buettner <kevinb@redhat.com>.
+
+2001-03-07 Nick Clifton <nickc@redhat.com>
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise
+ prior patch on ! defined OLD_ARM_ABI.
+
+2001-03-07 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of
+ some relocation values.
+
+2001-03-06 Nick Clifton <nickc@redhat.com>
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero
+ of offset in BLX(1) instruction.
+ * coff-arm.c (coff_arm_relocate_section): Clear bit zero of
+ offset in BLX(1) instruction.
+ Fix formatting.
+
+2001-03-06 Nick Clifton <nickc@redhat.com>
+
+ * coff-arm.c (coff_arm_reloc_type_lookup): Add
+ BFD_RELOC_THUMB_PCREL_BLX.
+
+2001-03-06 Igor Shevlyakov <igor@windriver.com>
+
+ * archures.c (bfd_default_scan): Add Coldfire CPUs.
+ * bfd-in2.h: Regenerate.
+ * cpu-m68k.c: Add Coldfire CPUs for arch table.
+ * ieee.c (ieee_write_processor): Set proper id for
+ Coldfire CPUs.
+
+2001-03-01 D.J. Barrow <djbarrow@de.ibm.com,barrow_dj@yahoo.com>
+
+ * configure.in: Add s390 target.
+ * configure: Regenerate.
+
+2001-02-28 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation
+ to addend.
+
+2001-02-28 Philip Blundell <pb@futuretv.com>
+
+ * elf32-arm.h: Update mentions of renamed EF_xx constants.
+ (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2.
+
+2001-02-27 H.J. Lu <hjl@gnu.org>
+
+ * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if
+ abfd->tdata.aout_data == NULL.
+
+2001-02-27 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c: Correct field selector in stub comments.
+ (clobber_millicode_symbols): Formatting fix.
+
+ * configure.in: Bump version to 2.11.90.
+ * configure: Regenerate.
+ * Makefile.am (CFILES): Rename to SOURCE_CFILES.
+ (CFILES): $SOURCE_CFILES + generated C files.
+ (POTFILES): Include $HFILES not $SOURCE_HFILES.
+ Run "make dep-am"
+ * Makefile.in: Regenerate.
+ * doc/Makefile.in: This too.
+
+2001-02-26 Timothy Wall <twall@cygnus.com>
+
+ * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete
+ comments.
+
+2001-02-26 Nick Clifton <nickc@redhat.com>
+
+ * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy
+ up, replacing multiple if statements with a switch.
+ (handle_COMDAT): New function.
+
+2001-02-26 H.J. Lu <hjl@gnu.org>
+
+ * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue
+ a warning for section flags we do not handle instead of
+ aborting.
+
+2001-02-26 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.
+
+2001-02-22 Timothy Wall <twall@cygnus.com>
+
+ * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey).
+ * configure.in: Add objects for elf64_ia64_aix vectors.
+ * configure: Regenerated.
+ * configure.host: Recognize ia64-*-aix*.
+ * elfxx-ia64.c: Add hooks for ELF64 on AIX5. Define new vectors
+ for AIX. AIX5 requires most relocations to be dynamic (*all*
+ binaries are somewhat similar to shared libraries).
+ * targets.c: Add elf64_ia64_aix vectors.
+
+2001-02-21 David Mosberger <davidm@hpl.hp.com>
+
+ * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for
+ C8 said "1" instead of "8". Clarify error string for IMM22:
+ "signed integer" instead of just "integer".
+
+2001-02-20 Andreas Jaeger <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make
+ PLT entries that could serve as a definition for a weak symbol.
+
+2001-02-19 Jakub Jelinek <jakub@redhat.com>
+
+ * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT
+ entries that could serve as a definition for a weak symbol.
+ * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise.
+
+2001-02-18 David O'Brien <obrien@FreeBSD>
+
+ * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat
+ FreeBSD/i386-CURRENT differently until I can figure out the needed
+ corefile changes.
+ * configure: Regenerate.
+ * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm,
+ FreeBSD/PowerPC, and FreeBSD/sparc64.
+
+2001-02-18 lars brinkhoff <lars@nocrew.org>
+
+ * Makefile.am: Add PDP-11 a.out target.
+ * config.bfd: Likewise.
+ * configure.in: Likewise.
+ * targets.c: Likewise.
+ * archures.c: Likewise.
+ * bfd-in2.h: Likewise. Add PDP-11 relocations.
+ * libbfd.h: Add PDP-11 relocations.
+ * reloc.c: Likewise.
+ * cpu-pdp11.c: New file.
+ * pdp11.c: New file.
+
+ * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define.
+ (GET_SWORD) [ARCH_SIZE==16]: Likewise.
+ (GET_SWORD) [ARCH_SIZE==16]: Likewise.
+ (PUT_WORD) [ARCH_SIZE==16]: Likewise.
+ (GET_MAGIC): New macro.
+ (PUT_MAGIC): Likewise.
+ * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word.
+
+2001-02-18 Jim Kingdon <jkingdon@engr.sgi.com>
+
+ * irix-core.c (irix_core_core_file_p): Set the architecture (GDB
+ multiarch needs it).
+
+2001-02-18 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_link_input_bfd): Ignore invalid section symbol
+ index.
+
+2001-02-18 Kazu Hirata <kazu@hxi.com>
+
+ * vms-misc.c: Fix formatting.
+
+2001-02-16 Kazu Hirata <kazu@hxi.com>
+
+ * vms.c: Fix formatting.
+
+2001-02-14 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (elf_find_function): New function.
+ (_bfd_elf_find_nearest_line): Call elf_find_function () to find
+ the file name and function name.
+
+2001-02-14 Nick Clifton <nickc@redhat.com>
+
+ * ecoff.c (bfd_debug_section): Update to initialise new fields in
+ asection structure.
+
+ * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c
+ (BFD64_BACKENDS): Add pepigen.c
+ Add rules to create peigen.c and pepigen.c from peXXigen.c.
+
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * po/POTFILES.in: Regenerate.
+ * po/bfd.pot: Regenerate.
+
+2001-02-14 H.J. Lu <hjl@gnu.org>
+
+ * libcoff-in.h (pe_tdata): Add members target_subsystem and
+ force_minimum_alignment.
+
+2001-02-14 Bo Thorsen <bo@suse.de>
+
+ * elf64-x86-64.c: Small formatting fixes and rearrangements of code.
+ (elf64_86_64_size_info): Struct added to fix a problem
+ with the hashtable string entries.
+ (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt.
+ (elf64_x86_64_size_dynamic_sections): A FIXME removed.
+ (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and
+ remove the FIXME for this.
+ (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt
+ section. Also removed the FIXME for it.
+ (x86_64_elf_howto_table): Use bfd_elf_generic_reloc.
+ (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker.
+ (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.
+
+2001-02-13 Richard Henderson <rth@redhat.com>
+
+ * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required
+ and not user provided.
+
+2001-02-13 Kazu Hirata <kazu@hxi.com>
+
+ * vms.c (vms_print_symbol): Remove unreachable code.
+
+ * rs6000-core.c: Fix formatting.
+
+2001-02-13 David Mosberger <davidm@hpl.hp.com>
+
+ * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
+ as _bfd_XXi_only_swap_filehdr_out.
+ (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set
+ pe->force_minimum_alignment to TRUE.
+ (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to
+ PEI_TARGET_SUBSYSTEM.
+ (pe_print_private_bfd_data): Call
+ _bfd_XX_print_private_bfd_data_common() instead of
+ _bfd_pe_print_private_bfd_data_common().
+ (pe_bfd_copy_private_bfd_data): Call
+ _bfd_XX_bfd_copy_private_bfd_data_common() instead of
+ _bfd_pe_bfd_copy_private_bfd_data_common().
+ (coff_bfd_copy_private_section_data): Define as
+ _bfd_XX_bfd_copy_private_section_data instead of
+ _bfd_pe_bfd_copy_private_section_data.
+ (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead
+ of a _bfd_pe_get_symbol_info.
+
+ * peigen.c: Delete.
+
+ * peXXigen.c: Renamed from peigen.c.
+ (COFF_WITH_XX): Define this macro (will get expanded into
+ COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being
+ compiled as peigen.c or pepigen.c.
+ [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to
+ define the canonical PEP structures and definitions.
+ (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in
+ effect, enforce minimum file and section alignments. If
+ extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to
+ pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN,
+ so, by default, this is a no-op).
+
+ * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep.
+ (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map
+ _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to
+ _bfd_pefoo if it's not defined. Use these macros to define
+ coff swap macros.
+
+ * libcoff.h (pe_tdata): Add members target_subsystem and
+ force_minimum_alignment.
+
+ * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to
+ COFF_WITH_pep.
+ (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM.
+
+ * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of
+ peigen.lo.
+
+ * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep.
+ (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and
+ PEPAOUTHDR.
+
+ * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo.
+ (BFD64_BACKENDS_CFILES): Mention pepigen.c
+ (peigen.c): Add rule to generate from peXXigen.c.
+ (pepigen.c): Ditto.
+ (pepigen.lo): List dependencies for pepigen.lo.
+
+2001-02-13 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$. If
+ $global$ referenced but not defined, set its value here.
+
+2001-02-09 Bo Thorsen <bo@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section
+ alignment to 3.
+ (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry
+ and relocation.
+ (elf64_x86_64_relocate_section): Fix formatting.
+ (elf64_x86_64_relocate_section): Fix addend for relocation of
+ R_X86_64_(8|16|32|PC8|PC16|PC32).
+
+2001-02-12 Jan Hubicka <jh@suse.cz>
+
+ * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
+
+2001-02-11 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB
+ alignment.
+
+2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch
+ from 2000-10-13. Do not add the symbol's value for R_MIPS_REL32
+ relocations against dynsym symbols.
+
+ * elf32-mips.c (elf_mips_howto_table): Fix the comment on
+ the R_MIPS_26 relocation.
+ (mips_elf_calculate_relocation): Use (p + 4) instead of p for
+ the R_MIPS_26 relocation.
+ (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26
+ relocation.
+ * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on
+ the R_MIPS_26 relocation.
+ (mips_elf64_howto_table_rela): Likewise.
+
+ * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub
+ member to mark symbols that have non-CALL relocations against
+ them.
+ (mips_elf_link_hash_newfunc): Initialize no_fn_stub.
+ (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like
+ R_MIPS_GOT16.
+ (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a
+ non-CALL relocation against it is encountered.
+ (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well.
+ (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if
+ no_fn_stub is not set.
+
+ * elf32-mips.c (mips_elf_output_extsym): Get the output section
+ information from the real symbol for indirect ones.
+ Check no_fn_stub to find out if a symbol has a function stub
+ indeed.
+
+2001-02-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.
+ * Makefile.in: Regenerate.
+
+2001-02-09 David Mosberger <davidm@hpl.hp.com>
+
+ * elfxx-ia64.c (is_unwind_section_name): New function. Returns
+ true if section name is an unwind table section name.
+ (elfNN_ia64_additional_program_headers): Count each unwind section
+ separately.
+ (elfNN_ia64_modify_segment_map): Install one unwind program header
+ for each unwind separate section. Note: normally the linker
+ script merges the unwind sections that go into a single segment,
+ so this still generates at most one unwind program header per
+ segment.
+
+ * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section
+ name for SHT_IA_64_UNWIND, not just .IA_64.unwind.
+ (elfNN_ia64_fake_sections): Mark sections with names that start
+ with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64
+ unwind section.
+
+ * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function.
+ Use it to make sh_info in unwind section point to the text section
+ it applies to.
+
+2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * Makefile.am: Add linux target for S/390.
+ * archures.c: Likewise.
+ * bfd-in2.h: Likewise.
+ * config.bfd: Likewise.
+ * configure.in: Likewise.
+ * elf.c: Likewise.
+ * libbfd.h: Likewise.
+ * targets.c: Likewise.
+ * cpu-s390.c: New file.
+ * elf32-s390.c: New file.
+ * elf64-s390.c: New file.
+
+2001-02-09 Nick Clifton <nickc@redhat.com>
+
+ * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of
+ ImageBase. This has already been done by coff_swap_hdr_in.
+
+2001-02-09 Jakub Jelinek <jakub@redhat.com>
+
+ * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.
+
+2001-02-09 Jakub Jelinek <jakub@redhat.com>
+
+ * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
+ (sparc64_elf_relocate_section): Likewise.
+
+2001-02-09 Mark Kettenis <kettenis@gnu.org>
+
+ * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
+ similar to R_SPARC_32.
+ * elf64-sparc.c (sparc64_elf_howto_table): Likewise.
+
+2001-02-08 H.J. Lu <hjl@gnu.org>
+
+ * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32
+ relocation entries for weak definitions when building DSO with
+ -Bsymbolic.
+
+2001-02-08 Richard Henderson <rth@redhat.com>
+
+ * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
+ before visibility. Locally defined protected symbols are not
+ dynamic.
+
+2001-02-08 Geoffrey Keating <geoffk@redhat.com>
+
+ * config.bfd: Enable coff64 for rs6000-*. Patch from
+ <hzoli@austin.ibm.com>.
+
+2001-02-07 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * coffgen.c (coff_find_nearest_line): If stabs info is successfully
+ found, do not attempt to find dwarf2 info before returning.
+
+2001-02-07 Jakub Jelinek <jakub@redhat.com>
+
+ * elflink.h (is_global_symbol_definition): Rename to
+ is_global_data_symbol_definition and have it reject function
+ symbols.
+ (elf_link_is_defined_archive_symbol): Use renamed function.
+
+2001-02-07 Todd Vierling <tv@wasabisystems.com>
+
+ * libbfd-in.h (bfd_target_vector): Change extern array to pointer.
+ * libbfd.h (bfd_target_vector): Likewise.
+ * targets.c (bfd_target_vector): Rename to _bfd_target_vector and
+ make static; create pointer reference named bfd_target_vector.
+ (_bfd_target_vector_entries): Calculate this based on the array
+ typed _bfd_target_vector.
+
+2001-02-06 H.J. Lu <hjl@gnu.org>
+
+ * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and
+ internal symbols are not dynamic.
+ * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
+
+2001-02-06 Nick Clifton <nickc@redhat.com>
+
+ * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so
+ that it will not be pulled into the list of files that make up
+ po/POTFILES.in.
+ * Makefile.in: Regenerate.
+ * po/bfd.pot: Regenerate.
+
+2001-02-06 H.J. Lu <hjl@gnu.org>
+
+ * peicode.h (coff_swap_filehdr_in): Remove the e_magic
+ checking.
+ (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
+ external_PEI_IMAGE_hdr.
+
+2001-02-06 Kazu Hirata <kazu@hxi.com>
+
+ * elf-m10200.c: Fix formatting.
+
+2001-02-04 Nick Clifton <nickc@redhat.com>
+
+ * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC
+ rel, it will be handled later on.
+
+2001-02-02 Fred Fish <fnf@ninemoons.com>
+
+ * Makefile.in: Fix typo.
+
+2001-02-01 Kazu Hirata <kazu@hxi.com>
+
+ * elf-m10300.c: Fix formatting.
+
+2001-01-30 Alan Modra <alan@linuxcare.com.au>
+
+ * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function.
+ (elf_backend_get_symbol_type): Define.
+ (elf64_hppa_object_p): Set architecture and machine from elf
+ header flags.
+
+2001-01-30 Curtis L. Janssen <cljanss@ca.sandia.gov>
+
+ * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
+ before mdebug.
+
+2001-01-26 Richard Henderson <rth@redhat.com>
+
+ * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
+ for non-default visibility.
+ * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but
+ delete ugly macro and replace with pretty function.
+
+2001-01-25 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * coff-go32.c: Update copyright.
+ * coff-stgo32.c: Likewise.
+ * coff-go32.c (COFF_LONG_FILENAMES): Define.
+ * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise.
+ * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry.
+ * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
+
+2001-01-25 Kazu Hirata <kazu@hxi.com>
+
+ * bfd-in2.h: Rebuild.
+ * libbfd.h: Likewise.
+
+2001-01-23 H.J. Lu <hjl@gnu.org>
+
+ * bfd-in2.h: Rebuild.
+
+2001-01-23 H.J. Lu <hjl@gnu.org>
+
+ * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf)
+ is NULL or PRIV(vms_rec) is outside of the buffer.
+
+2001-01-23 Kazu Hirata <kazu@hxi.com>
+
+ * coff64-rs6000.c: Fix formatting.
+ * coff-arm.c: Likewise.
+ * coffgen.c: Likewise.
+ * cofflink.c: Likewise.
+ * coff-mcore.c: Likewise.
+ * coff-mips.c: Likewise.
+ * coff-pmac.c: Likewise.
+ * coff-ppc.c: Likewise.
+ * coff-rs6000.c: Likewise.
+ * elf32.c: Likewise.
+ * elf32-fr30.c: Likewise.
+ * elf32-i370.c: Likewise.
+ * elf32-i860.c: Likewise.
+ * elf32-m32r.c: Likewise.
+ * elf32-m68k.c: Likewise.
+ * elf32-mcore.c: Likewise.
+ * elf32-ppc.c: Likewise.
+ * elf32-sh.c: Likewise.
+ * elf32-v850.c: Likewise.
+ * elf64-alpha.c: Likewise.
+ * elf64-sparc.c: Likewise.
+ * elflink.c: Likewise.
+ * elflink.h: Likewise.
+ * elf-m10200.c: Likewise.
+ * elf-m10300.c: Likewise.
+ * elfxx-ia64.c: Likewise.
+
+ * aoutx.h: Fix formatting.
+ * bfd.c: Likewise.
+ * bfd-in2.h: Likewise.
+ * bfd-in.h: Likewise.
+ * cpu-i386.c: Likewise.
+ * cpu-m68hc11.c: Likewise.
+ * dwarf2.c: Likewise.
+ * elf64-x86-64.c: Likewise.
+ * format.c: Likewise.
+ * freebsd.h: Likewise.
+ * hash.c: Likewise.
+ * hp300hpux.c: Likewise.
+ * hppabsd-core.c: Likewise.
+ * hpux-core.c: Likewise.
+
+2001-01-22 Bo Thorsen <bo@suse.de>
+
+ * elf64-x86-64.c: Added PIC support for X86-64.
+ (elf64_x86_64_link_hash_newfunc): Function added.
+ (elf64_x86_64_link_hash_table_create): Likewise.
+ (elf64_x86_64_check_relocs): Likewise.
+ (elf64_x86_64_gc_mark_hook): Likewise.
+ (elf64_x86_64_gc_sweep_hook): Likewise.
+ (elf64_x86_64_adjust_dynamic_symbol): Likewise.
+ (elf64_x86_64_size_dynamic_sections): Likewise.
+ (elf64_x86_64_discard_copies): Likewise.
+ (elf64_x86_64_finish_dynamic_symbol): Likewise.
+ (elf64_x86_64_finish_dynamic_sections): Likewise.
+ (elf64_x86_64_relocate_section): Add relocation of PIC sections.
+
+2001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * Makefile.am (install-data-local): Make use of $(DESTDIR).
+ * Makefile.in: Regenerate.
+
+2001-01-21 Kazu Hirata <kazu@hxi.com>
+
+ * coff-a29k.c: Fix formatting.
+
+2001-01-19 H.J. Lu <hjl@gnu.org>
+
+ * elf32-i386.c (elf_i386_check_relocs): Report files with bad
+ relocation section names.
+ (elf_i386_relocate_section): Report files with bad relocation
+ section names and return false.
+
+2001-01-17 Bo Thorsen <bo@suse.de>
+
+ * targets.c: Alphabetize list of xvecs.
+
+2001-01-14 Alan Modra <alan@linuxcare.com.au>
+
+ * config.bfd: Add linux target variant for elfxx-hppa.
+ * configure.in: Recognize bfd_elf32_hppa_linux_vec and
+ bfd_elf64_hppa_linux_vec.
+ * configure: Regenerate.
+ * elf64-hppa.c: Include elf64-target.h again to support linux
+ target variant.
+ (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux.
+ * elf32-hppa.c: Include elf32-target.h again to support linux
+ target variant.
+ (elf32_hppa_post_process_headers): New function.
+ (elf_backend_post_process_headers): Define.
+ * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and
+ bfd_elf32_hppa_linux_vec.
+
+ * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base,
+ and data_segment_base fields.
+ (elf32_hppa_link_hash_table_create ): Init them.
+ (elf32_hppa_check_relocs): Update comments.
+ (hppa_record_segment_addr): New function.
+ (elf32_hppa_relocate_section): Call it.
+ (final_link_relocate): Handle R_PARISC_SEGREL32.
+ (elf32_hppa_final_link): New function.
+ (bfd_elf32_bfd_final_link): Define to call it.
+ (hppa_unwind_entry_compare): New function.
+ * cache.c (bfd_open_file): Create files in write+read mode.
+
+ * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for
+ SEGREL32 and numerous other relocs. Change duplicate
+ R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED.
+
+ * opncls.c (bfd_fdopenr): Add parens like the comment says around
+ O_ACCMODE.
+
+ * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create
+ .plt entries for DT_INIT and DT_FINI.
+ (elf32_hppa_finish_dynamic_sections): Remove special handling of
+ DT_INIT and DT_FINI.
+
+ * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit
+ offsets for stub .plt access if wide mode. Check offset in range.
+
+2001-01-13 Nick Clifton <nickc@redhat.com>
+
+ * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank
+ line.
+
+ * coffcode.h (coff_canonicalize_reloc): Remove spurious blank
+ line.
+
+2001-01-12 Alan Modra <alan@linuxcare.com.au>
+
+ * configure.in ([bfd_elf64_x86_64_vec]): Set target64.
+ * configure: Regenerate.
+
+2001-01-11 Peter Targett <peter.targett@arccores.com>
+
+ * bfd-in2.h (bfd_architecture): Add bfd_mach_arc_5,
+ bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8 for ARC variants.
+ * cpu-arc.c (arch_info_struct): Add entries for variants.
+ (bfd_arc_arch) Set default to bfd_mach_arc_5.
+ (arc_get_mach) Don't assume machine names prefixed arc- before
+ testing.
+ * elf32-arc.c (arc_elf_object_p): Set machine number based on new
+ selections.
+ (arc_elf_final_write_processing) Likewise.
+ (ELF_MACHINE_CODE) Use EM_ARC.
+
+2001-01-10 Nick Clifton <nickc@redhat.com>
+
+ * coff-arm.c (LOCAL_LABEL_PREFIX): Change definition to "".
+
+2001-01-07 Philip Blundell <philb@gnu.org>
+
+ * README: Replace `bug-gnu-utils@gnu.org' with
+ `bug-binutils@gnu.org'.
+
+2001-01-04 Kazu Hirata <kazu@hxi.com>
+
+ * som.c: Fix formatting.
+
+2001-01-03 Kazu Hirata <kazu@hxi.com>
+
+ * ecoffswap.h: Fix formatting.
+ * elf-bfd.h: Likewise.
+ * elfarm-nabi.c: Likewise.
+ * elfarm-oabi.c: Likewise.
+ * elfcode.h: Likewise.
+ * elfcore.h: Likewise.
+ * elflink.c: Likewise.
+ * elflink.h: Likewise.
+ * elfxx-ia64.c: Likewise.
+ * elfxx-target.h: Likewise.
+ * libbfd.c: Likewise
+ * linker.c: Likewise.
+ * lynx-core.c: Likewise.
+
+2001-01-02 Kazu Hirata <kazu@hxi.com>
+
+ * pc532-mach.c: Fix formatting.
+ * pe-arm.c: Likewise.
+ * pe-i386.c: Likewise.
+ * pe-mips.c: Likewise.
+ * pe-ppc.c: Likewise.
+ * pe-sh.c: Likewise.
+ * pei-mips.c: Likewise.
+ * pei-sh.c: Likewise.
+ * peicode.h: Likewise.
+ * ppcboot.c: Likewise.
+ * ptrace-core.c: Likewise.
+
+2001-01-01 Kazu Hirata <kazu@hxi.com>
+
+ * reloc.c: Fix formatting.
+ * riscix.c: Likewise.
+ * rs6000-core.c: Likewise.
+ * xcoff-target.h: Likewise.
+
+2000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * elfcode.h (elf_object_p): Also restore the bfd mach field on
+ error, by calling bfd_default_set_arch_mach with incoming
+ values.
+
+2000-12-26 Kazu Hirata <kazu@hxi.com>
+
+ * vaxnetbsd.c: Fix formatting.
+ * versados.c: Likewise.
+ * vms-gsd.c: Likewise.
+ * vms-hdr.c: Likewise.
+ * vms-misc.c: Likewise.
+
+2000-12-25 Alexandre Oliva <aoliva@redhat.com>
+
+ * archive.c (coff_write_armap): Don't write more than symbol_count
+ `archive_member_file_ptr's.
+
+2000-12-25 Kazu Hirata <kazu@hxi.com>
+
+ * vms-tir.c: Fix formatting.
+
+2000-12-23 Kazu Hirata <kazu@hxi.com>
+
+ * vms.c: Fix formatting.
+ * vms.h: Likewise.
+
+2000-12-21 Santeri Paavolainen <santtu@ssh.com>
+
+ * vms-hdr.c: Include alloca.h if HAVE_ALLOCA_H is defined.
+
+ * peicode.h (pe_ILF_object_p): Add const to import of TARGET_LITTLE_SYM.
+
+ * elf32-m32r.c (m32r_elf_generic_reloc): Add cast to avoid (void *)
+ arithmetic.
+
+ * elf32-fr30.c: Add casts to avoid (void *) arithmetic.
+
+ * coffcode.h (styp_to_sec_flags): Add empty statement after label.
+
+2000-12-21 Richard Sandiford <rsandifo@redhat.com>
+
+ * libbfd.c (bfd_get_bits): Added
+ (bfd_put_bits): Likewise
+ * bfd-in.h: Declared the above.
+ * bfd-in2.h: Regenerated.
+
+2000-12-20 Kazu Hirata <kazu@hxi.com>
+
+ * targets.c: Fix formatting.
+ * tekhex.c: Likewise.
+ * trad-core.c: Likewise.
+
+2000-12-19 Kazu Hirata <kazu@hxi.com>
+
+ * sco5-core.c: Fix formatting.
+ * section.c: Likewise.
+ * sparclinux.c: Likewise.
+ * sparclynx.c: Likewise.
+ * sparcnetbsd.c: Likewise.
+ * srec.c: Likewise.
+ * stabs.c: Likewise.
+ * stab-syms.c: Likewise.
+ * sunos.c: Likewise.
+ * syms.c: Likewise.
+ * sysdep.h: Likewise.
+
+2000-12-18 Nick Clifton <nickc@redhat.com>
+
+ * coff-arm.c (EXTRA_S_FLAGS): Only define if not already
+ defined.
+ * epoc-pe-arm.c (EXTRA_S_FLAGS): Define.
+ * epoc-pei-arm.c (EXTRA_S_FLAGS): Define.
+
+2000-12-18 Nick Clifton <nickc@redhat.com>
+
+ * vms-misc.c (_bfd_vms_get_record): Add default case to
+ file_format switch.
+
+2000-12-15 Miloslav Trmac <mitr@volny.cz>
+
+ * elfcore.h (elf_core_file_p): Move to the start of the program
+ headers before attempting to read them.
+
+2000-12-14 Kazu Hirata <kazu@hxi.com>
+
+ * peigen.c: Fix formatting.
+ * som.c: Likewise.
+ * som.h: Likewise.
+
+2000-12-13 Kazu Hirata <kazu@hxi.com>
+
+ * peigen.c: Fix formatting.
+
+2000-12-12 Jim Wilson <wilson@redhat.com>
+
+ * elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
+
+2000-12-08 Mark Salter <msalter@redhat.com>
+
+ * binary.c (binary_set_section_contents): Ignore sections
+ with zero size.
+
+2000-12-12 Kazu Hirata <kazu@hxi.com>
+
+ * m68klinux.c: Fix formatting.
+ * m68knetbsd.c: Likewise.
+ * mipsbsd.c: Likewise.
+ * netbsd-core.c: Likewise.
+ * netbsd.h: Likewise.
+ * newsos3.c: Likewise.
+ * nlm32-alpha.c: Likewise.
+ * nlm32-i386.c: Likewise.
+ * nlm32-ppc.c: Likewise.
+ * nlm32-sparc.c: Likewise.
+ * nlmcode.h: Likewise.
+ * nlmswap.h: Likewise.
+ * nlm-target.h: Likewise.
+ * ns32knetbsd.c: Likewise.
+
+2000-12-10 Fred Fish <fnf@be.com>
+
+ * elflink.h (elf_link_output_extsym): Don't complain about undefined
+ symbols in shared objects if allow_shlib_undefined is true.
+
+2000-12-12 Nick Clifton <nickc@redhat.com>
+
+ * cpu-sh.c: Fix formattng.
+ * elf.c: Fix formattng.
+ * elf32-mips.c: Fix formattng.
+ * elf32-sh.c: Fix formattng.
+ * elf64-alpha.c: Fix formattng.
+
+2000-12-09 Nick Clifton <nickc@redhat.com>
+
+ * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Pass
+ dwarf2_find_line_info as last parameter to invocation of
+ _bfd_dwarf2_find_nearest_line.
+ * elf32-arm.h (elf32_arm_find_nearest_line): Pass
+ dwarf2_find_line_info as last parameter to invocation of
+ _bfd_dwarf2_find_nearest_line.
+
+2000-12-08 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * Makefile.am (BFD32_BACKENDS): Move dwarf2.lo from here...
+ (BFD_LIBS): ...to here.
+ (BFD32_BACKENDS_CFILES): Move dwarf2.c from here...
+ (BFD_LIBS_CFILES): ...to here.
+ * Makefile.in: Regenerate.
+ * configure.in: Remove dwarf.lo from the elf shell variable.
+ * configure: Regenerate.
+ * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.
+ * libcoff.h: Regenerate.
+ * coffgen.c (coff_find_nearest_line): Call
+ _bfd_dwarf2_find_nearest_line.
+ * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update
+ accordingly.
+ (read_abbrevs): Likewise
+ (decode_line_info): Likewise.
+ (parse_comp_unit): Likewise.
+ (comp_unit_find_nearest_line): Likewise.
+ * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Update prototype.
+ * libbfd.h: Regenerate.
+ * elf.c (_bfd_elf_find_nearest_line): Update call.
+ * elf-bfd.h (elf_obj_tdata): Change dwarf2_find_line_info to type PTR.
+ * dwarf2.c (concat_filename): Use IS_ABSOLUTE_PATH.
+ * coffcode.h (STYP_XCOFF_DEBUG, STYP_DEBUG_INFO): New macros.
+ (sec_to_styp_flags): Use them. Handle DWARF2 sections.
+ (styp_to_sec_flags): Handle DWARF2 sections.
+ * elf32-arm.h (elf32_arm_find_nearest_line): Add parameter to call
+ to _bfd_find_nearest_line.
+ * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to
+ call to _bfd_find_nearest_line.
+
+2000-12-08 Kazu Hirata <kazu@hxi.com>
+
+ * coffgen.c: Fix formatting.
+ * elf-m10300.c: Likewise.
+ * elf32-i386.c: Likewise.
+ * elf32-i960.c: Likewise.
+ * elf32-m68k.c: Likewise.
+ * elf32-mcore.c: Likewise.
+ * elf32-ppc.c: Likewise.
+ * elf32-sh.c: Likewise.
+ * elf32-sparc.c: Likewise.
+ * elf32-v850.c: Likewise.
+ * elf64-alpha.c: Likewise.
+ * elf64-hppa.c: Likewise.
+ * elf64-mips.c: Likewise.
+ * elf64-sparc.c: Likewise.
+
+2000-12-07 Kazu Hirata <kazu@hxi.com>
+
+ * elf32-ppc.c: Fix formatting.
+ * elf64-x86-64.c: Likewise.
+
+2000-12-06 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ From Ralf Baechle <ralf@gnu.org>
+
+ * elf32-mips.c (elf32_mips_merge_private_bfd_data): Always permit
+ BFDs containing no sections or empty .text, .data or .bss sections
+ to be merged, regardless of their flags.
+
+2000-12-06 Kazu Hirata <kazu@hxi.com>
+
+ * elf32-m32r.c: Fix formatting.
+ * elf32-m68hc11.c: Likewise.
+ * elf32-m68hc12.c: Likewise.
+ * elf32-m68k.c: Likewise.
+ * elf32-mcore.c: Likewise.
+ * elf32-pj.c: Likewise.
+ * elf32-ppc.c: Likewise.
+
+2000-12-05 Kazu Hirata <kazu@hxi.com>
+
+ * elf32-fr30.c: Fix formatting.
+ * elf32-hppa.c: Likewise.
+ * elf32-i370.c: Likewise.
+ * elf32-i386.c: Likewise.
+ * elf32-i860.c: Likewise.
+ * elf32-i960.c: Likewise.
+
+2000-12-03 Kazu Hirata <kazu@hxi.com>
+
+ * elf32-arm.h: Fix formatting.
+ * elf32-avr.c: Likewise.
+ * elf32-cris.c: Likewise.
+ * elf32-d10v.c: Likewise.
+ * elf32-d30v.c: Likewise.
+ * elf-hppa.h: Likewise.
+ * elf-m10200.c: Likewise.
+ * elf-m10300.c: Likewise.
+
+2000-12-01 Chris Demetriou <cgd@sibyte.com>
+
+ * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
+ bfd_mach_mips32_4k. Update FIXME comment.
+ * archures.c (bfd_mach_mips32): New constant.
+ (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
+ the latter, renumber it.
+ * bfd-in2.h (bfd_mach_mips32): New constant.
+ (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
+ the latter, renumber it.
+ * cpu-mips.c (I_mips32): New constant.
+ (I_mips4K, I_mips32_4k): Rename the former to the latter.
+ (arch_info_struct): Add bfd_mach_mips32 entry, replace
+ bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
+ * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
+ (elf_mips_mach): Likewise. Also, replace E_MIPS_MACH_MIPS32
+ with E_MIPS_MACH_MIPS32_4K.
+ (_bfd_mips_elf_final_write_processing): Replace
+ bfd_mach_mips4K with bfd_mach_mips32_4k case, add
+ bfd_mach_mips32 case.
+ (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
+ comparison with support for MIPS32.
+ (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
+ MIPS32.
+
+ * aoutx.h (NAME(aout,machine_type)): Add cases for
+ bfd_mach_mips5 and bfd_mach_mips64.
+ * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
+ * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
+ * cpu_mips.c (I_mips5, I_mips64): New definitions.
+ (arch_info_struct): Add entries for bfd_mach_mips5 and
+ bfd_mach_mips64.
+ * elf32-mips.c (elf_mips_isa, elf_mips_mach,
+ _bfd_mips_elf_print_private_bfd_data): Add cases for
+ E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
+ (_bfd_mips_elf_final_write_processing): Add cases for
+ bfd_mach_mips5 and bfd_mach_mips64.
+
+ * aoutx.h (NAME(aout,machine_type)): Add a
+ bfd_mach_mips_sb1 case.
+ * archures.c (bfd_mach_mips_sb1): New constant.
+ * bfd-in2.h (bfd_mach_mips_sb1): New constant.
+ * cpu-mips.c (I_sb1): New constant.
+ (arch_info_struct): Add entry for bfd_mach_mips_sb1.
+ * elf32-mips.c (elf_mips_mach): Add case for
+ E_MIPS_MACH_SB1.
+ (_bfd_mips_elf_final_write_processing): Add case for
+ bfd_mach_mips_sb1.
+
+2000-12-01 Joel Sherrill <joel@OARcorp.com>
+
+ * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
+ (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
+ (sparc*-*-rtems*): Switched from a.out to ELF.
+
+2000-11-30 Jan Hubicka <jh@suse.cz>
+
+ * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
+ BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
+ (elf64-x86-64.lo): Add dependencies.
+ * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
+ bfd_mach_x86_64_intel_syntax.
+ * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
+ * config.bfd (x86_64): Add.
+ * configure.in: Add support for bfd_elf64_x86_64_vec.
+ * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
+ (bfd_i386_arch, i8086_ar): Link in.
+ * elf64-x86-64.c: New file.
+ * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
+ * targets.c (bfd_elf64_x86_64_vec): Add.
+ (bfd_target_vect): Add bfd_elf64_x86_64_vec.
+
+2000-11-30 Kazu Hirata <kazu@hxi.com>
+
+ * xcofflink.c: Fix formatting.
+
+2000-11-28 Kazu Hirata <kazu@hxi.com>
+
+ * aoutx.h: Fix formatting.
+ * bfd-in.h: Likewise.
+ * bfd-in2.h: Likewise.
+ * cache.c: Likewise.
+ * cisco-core.c: Likewise.
+ * coff64-rs6000.c: Likewise.
+ * coffcode.h: Likewise.
+ * coffswap.h: Likewise.
+ * corefile.c: Likewise.
+ * elf32-mips.c: Likewise.
+
+2000-11-27 Kazu Hirata <kazu@hxi.com>
+
+ * aout-adobe.c: Fix formatting.
+ * coff64-rs6000.c: Likewise.
+ * coffgen.c: Likewise.
+ * cofflink.c: Likewise.
+
+2000-11-27 Philip Blundell <pb@futuretv.com>
+
+ * libcoff-in.h (coff_tdata): Add `strings_written' flag.
+ (obj_coff_strings_written): New accessor macro for above.
+ * libcoff.h: Regenerate.
+ * cofflink.c (_bfd_coff_final_link): Say that we wrote the
+ strings.
+ * coffcode.h (coff_write_object_contents): No need to write out
+ the string table if it's already been done.
+
+2000-11-22 Philip Blundell <pb@futuretv.com>
+
+ * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
+ weak undefined symbols.
+
+2000-11-24 Nick Clifton <nickc@redhat.com>
+
+ * archures.c (bfd_mach_arm_5TE): Define.
+ (bfd_mach_arm+XScale): Define.
+ * bfd-in2.h: Regenerate.
+
+ * coff-arm.c (coff_arm_reloc_type_lookup): Accept
+ BFD_RELOC_ARM_PCREL_BLX.
+
+ * coffcode.h (coff_set_flags): Set flags for 5t, 5te and
+ XScale machine numbers.
+
+ * config.bfd (xscale-elf): Add target.
+ (xscale-coff): Add target.
+
+ * cpu-arm.c: Add xscale machine name.
+ Add v5t, v5te and XScale machine numbers.
+
+2000-11-23 Kazu Hirata <kazu@hxi.com>
+
+ * aix386-core.c: Fix formatting.
+
+2000-11-22 Jim Wilson <wilson@redhat.com>
+
+ * coff-ia64.c (howto_table): Use EMPTY_HOWTO.
+ (in_reloc_p): Add ATTRIBUTE_UNUSED to unused parameters.
+ * cpu-ia64-opc.c (ins_rsvd, ext_rsvd, ins_const, ext_const): Likewise.
+ (ins_imms_scaled): Initialize sign_bit at function entry.
+ (elf64_ia64_operands): Add missing initializers.
+ * elfxx-ia64.c (elfNN_ia64_reloc, elfNN_ia64_reloc_type_lookup,
+ elfNN_ia64_info_to_howto, elfNN_ia64_fake_sections,
+ elfNN_ia64_add_symbol_hook, elfNN_ia64_is_local_label_name,
+ elfNN_ia64_local_hash_table_init, get_fptr, get_pltoff,
+ elfNN_ia64_adjust_dynamic_symbol): Add ATTRIBUTE_UNUSED for unused
+ parameters.
+ (elfNN_ia64_info_to_howto): Initialize free_relocs, free_contents,
+ and free_extsyms at function entry.
+ (elfNN_add_symbol_hook): Add unsigned cast to bfd_get_gp_size result.
+ (elfNN_ia64_create_dynamic_sections): Delete unused local h.
+ (get_got): Delete unused local srel.
+ (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
+ (elfNN_ia64_relocate_section): Delete unused local dynindx.
+
+2000-11-21 Kazu Hirata <kazu@hxi.com>
+
+ * coff-a29k.c: Fix formatting.
+ * coff-h8500.c: Likewise.
+ * coff-i960.c: Likewise.
+ * coff-ppc.c: Likewise.
+ * coff-rs6000.c: Likewise.
+ * coff-stgo32.c: Likewise.
+ * coff-tic54x.c: Likewise.
+ * coff-w65.c: Likewise.
+ * cpu-h8500.c: Likewise.
+ * cpu-hppa.c: Likewise.
+ * cpu-ns32k.c: Likewise.
+ * ecoff.c: Likewise.
+ * ecofflink.c: Likewise.
+
+2000-11-21 Nick Clifton <nickc@redhat.com>
+
+ * elf32-sh.c (sh_elf_reloc_loop): Fix compile time warning, and
+ remove possibility of infinite loop.
+
+2000-11-20 Kazu Hirata <kazu@hxi.com>
+
+ * aix386-core.c: Fix formatting.
+ * aout-adobe.c: Likewise.
+ * aout-arm.c: Likewise.
+ * aout-encap.c: Likewise.
+ * aout-ns32k.c: Likewise.
+ * aout-target.h: Likewise.
+ * aout-tic30.c: Likewise.
+ * aoutf1.h: Likewise.
+ * aoutx.h: Likewise.
+ * archive.c: Likewise.
+ * bfd-in.h: Likewise.
+ * bfd-in2.h: Likewise.
+ * bfd.c: Likewise.
+ * bout.c: Likewise.
+
+2000-11-17 H.J. Lu <hjl@gnu.org>
+
+ * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
+ pltoff entries for DT_INIT and DT_FINI.
+ (elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
+ (elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
+ entries.
+
+2000-11-16 Richard Henderson <rth@redhat.com>
+
+ * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
+ (allocate_dynrel_entries): Likewise.
+ (elfNN_ia64_relocate_section): Likewise. Set REL addends correctly.
+ (set_pltoff_entry): Likewise.
+ (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
+ (elfNN_ia64_reloc_type_lookup): Likewise.
+ (elfNN_ia64_install_value): Likewise.
+ (elfNN_ia64_relocate_section): Likewise.
+ * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
+ (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.
+
+2000-11-16 Kazu Hirata <kazu@hxi.com>
+
+ * cpu-a29k.c: Fix formatting.
+ * cpu-alpha.c: Likewise.
+ * cpu-arm.c: Likewise.
+ * cpu-avr.c: Likewise.
+ * cpu-d10v.c: Likewise.
+ * cpu-h8500.c: Likewise.
+ * cpu-hppa.c: Likewise.
+ * cpu-i370.c: Likewise.
+ * cpu-i386.c: Likewise.
+ * cpu-i960.c: Likewise.
+ * cpu-ia64-opc.c: Likewise.
+ * cpu-ia64.c: Likewise.
+ * cpu-m32r.c: Likewise.
+ * cpu-m68hc11.c: Likewise.
+ * cpu-m68hc12.c: Likewise.
+ * cpu-m68k.c: Likewise.
+ * cpu-m88k.c: Likewise.
+ * cpu-mips.c: Likewise.
+ * cpu-ns32k.c: Likewise.
+ * cpu-pj.c: Likewise.
+ * cpu-powerpc.c: Likewise.
+ * cpu-sh.c: Likewise.
+ * cpu-sparc.c: Likewise.
+ * cpu-tic54x.c: Likewise.
+ * cpu-v850.c: Likewise.
+ * cpu-vax.c: Likewise.
+ * cpu-w65.c: Likewise.
+ * cpu-we32k.c: Likewise.
+ * cpu-z8k.c: Likewise.
+ * dwarf1.c: Likewise.
+ * dwarf2.c: Likewise.
+
+2000-11-15 Kazu Hirata <kazu@hxi.com>
+
+ * coff-arm.c: Fix formatting.
+ * coff-ppc.c: Likewise.
+ * coff-rs6000.c: Likewise.
+ * coff-sh.c: Likewise.
+ * coff-sparc.c: Likewise.
+ * coff-tic30.c: Likewise.
+ * coff-tic54x.c: Likewise.
+ * coff-tic80.c: Likewise.
+ * coff-w65.c: Likewise.
+ * coff-we32k.c: Likewise.
+ * coff-z8k.c: Likewise.
+
+2000-11-15 Richard Henderson <rth@redhat.com>
+
+ * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
+ section with the same ALLOC|LOAD flags as the source section.
+
+2000-11-14 Jakub Jelinek <jakub@redhat.com>
+
+ * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
+ by STO_ALPHA constants.
+
+2000-11-14 Kazu Hirata <kazu@hxi.com>
+
+ * coff-pmac.c: Fix formatting.
+ * coff-ppc.c: Likewise.
+
+2000-11-13 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_link_add_object_symbols): Also add indirect
+ symbols for common symbols with the default version.
+
+2000-11-09 Philip Blundell <pb@futuretv.com>
+
+ * section.c (STD_SECTION): Set gc_mark flag.
+
+2000-11-11 Kazu Hirata <kazu@hxi.com>
+
+ * coff-i960.c: Likewise.
+ * coff-m68k.c: Likewise.
+ * coff-m88k.c: Likewise.
+ * coff-mcore.c: Likewise.
+ * coff-mips.c: Likewise.
+
+2000-11-11 Bernd Schmidt <bernds@cygnus.co.uk>
+
+ * elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
+
+2000-11-10 Kazu Hirata <kazu@hxi.com>
+
+ * coff-h8300.c: Fix formatting.
+ * coff-h8500.c: Likewise.
+ * coff-i386.c: Likewise.
+ * coff-i860.c: Likewise.
+ * coff-i960.c: Likewise.
+ * coff-ia64.c: Likewise.
+
+2000-11-09 Kazu Hirata <kazu@hxi.com>
+
+ * archive.c: Fix formatting.
+ * archures.c: Likewise.
+
+2000-11-07 Richard Henderson <rth@redhat.com>
+
+ * elfxx-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
+ Set it before bfd_elf64_bfd_final_link call. Use it after the call.
+ * section.c (bfd_set_section_contents): Call memcpy if
+ section->contents set and location not equal to contents plus offset.
+
+2000-11-08 Kazu Hirata <kazu@hxi.com>
+
+ * bfd-in.h: Fix formatting.
+ * bfd-in2.h: Likewise.
+ * bfd.c: Likewise.
+ * binary.c: Likewise.
+ * bout.c: Likewise.
+ * coff-a29k.c: Likewise.
+ * coff-alpha.c: Likewise.
+ * coff-apollo.c: Likewise.
+ * coff-aux.c: Likewise.
+
+2000-11-07 Kazu Hirata <kazu@hxi.com>
+
+ * aix386-core.c: Fix formatting.
+ * aoutf1.h: Likewise.
+ * aoutx.h: Likewise.
+ * archures.c: Likewise.
+ * armnetbsd.c: Likewise.
+
+2000-11-07 Alan Modra <alan@linuxcare.com.au>
+
+ * coff-h8300.c (special): Adjust reloc address.
+
+2000-11-06 Steve Ellcey <sje@cup.hp.com>
+
+ * archures.c (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32): Add defines
+ to differentiate elf32 and elf64 on ia64.
+ * bfd-in2.h: Regenerate.
+ * config.bfd: Add target for "ia64*-*-hpux*".
+ * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
+ * configure: Regenerate.
+ * cpu-ia64.c (bfd_ia64_elf32_arch): Add elf32 arch info structure.
+ * targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
+
+ * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
+ from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo.
+ * Makefile.in: Regnerate.
+ * elf64-ia64.c: Deleted.
+ * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
+
+2000-11-06 Kazu Hirata <kazu@hxi.com>
+
+ * aout-adobe.c: Fix formatting.
+ * aout-arm.c: Likewise.
+ * aout-cris.c: Likewise.
+ * aout-encap.c: Likewise.
+ * aout-ns32k.c: Likewise.
+ * aout-target.h: Likewise.
+ * aout-tic30.c: Likewise.
+
+2000-11-05 Philip Blundell <philb@gnu.org>
+
+ * elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
+ BFDs containing no sections to be merged, regardless of their flags.
+
+2000-11-04 Philip Blundell <philb@gnu.org>
+
+ * elf32-arm.h (elf32_arm_relocate_section): Suppress error message
+ if a relocation for an undefined symbol also results in an
+ overflow.
+
+2000-11-06 Christopher Faylor <cgf@cygnus.com>
+
+ * config.bfd: Add support for Sun Chorus.
+
+2000-11-05 David O'Brien <obrien@FreeBSD.org>
+
+ * configure.in: Recognize alpha-*-freebsd*.
+ * configure: Regenerate.
+
+2000-11-02 Luciano Gemme <ishitawa@yahoo.com>
+
+ * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
+ (Chunk): New global variable set by a parameter in objcopy.c.
+ (S3Forced): New global variable set by a parameter in
+ objcopy.c.
+ (srec_set_section_contents): If S3Forced is true, always generate
+ S3 records.
+ (srec_write_section): Use 'Chunk' to limit maximum length of S
+ records.
+
+2000-11-02 Per Lundberg <plundis@chaosdev.org>
+
+ * config.bfd: Add support for i[3456]86-chaosdev-storm-chaos.
+ * Makefile.in: Regenerate.
+ * bfd-in2.h: Regenerate.
+ * po/bfd.pot: Regenerate.
+
+2000-10-31 Philip Blundell <philb@gnu.org>
+
+ * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
+ EF_SOFT_FLOAT if it is defined.
+
+2000-10-27 Philip Blundell <philb@gnu.org>
+
+ * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
+ attempts to mix PIC code with non-PIC, just mark the output as
+ being position dependent.
+ (elf32_arm_merge_private_bfd_data): Likewise. Print an error
+ message for EF_SOFT_FLOAT mismatches. Display diagnostics for
+ all mismatches, not just the first one.
+
+2000-10-25 Chris Demetriou <cgd@sibyte.com>
+
+ * ieee.c (ieee_archive_p): Plug one of many possible
+ memory leaks in error handling.
+
+2000-10-20 Jakub Jelinek <jakub@redhat.com>
+
+ * elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
+ elf32_sparc_object_p, elf32_sparc_final_write_processing):
+ Support v8plusb.
+ * elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
+ sparc64_elf_object_p): Support v9b.
+ * archures.c: Declare v8plusb and v9b machines.
+ * bfd-in2.h: Ditto.
+ * cpu-sparc.c: Ditto.
+
+2000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
+
+ * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
+ of a GOT reloc.
+
+ * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
+ (SYMBOL_CALLS_LOCAL): New macro.
+ (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
+ (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
+ (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
+ (ppc_elf_relocate_section): Use flag variable to determine
+ whether the relocation refers to a local symbol.
+ Test whether a PLTREL24 reloc will produce a reloc by looking
+ to see whether a PLT entry was made.
+
+2000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
+
+ * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
+ entries that could serve as a definition for a weak symbol.
+
+2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ From Ralf Baechle <ralf@gnu.org>
+
+ * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
+ local_p. Add symbol value only for non-R_MIPS_REL32 relocations
+ against local symbols.
+ (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
+
+2000-10-12 Alan Modra <alan@linuxcare.com.au>
+
+ * section.c (struct sec): Add kept_section.
+ (struct bfd_comdat_info): Remove sec, we can use above.
+ (STD_SECTION): Add initializer.
+ (bfd_make_section_anyway): Init here too.
+
+ * bfd-in2.h: Regenerate.
+
+ * elflink.h (elf_link_add_object_symbols): Remove unnecessary
+ zeroing of `flags'.
+ (elf_link_input_bfd): Set all asection->symbol->value's here, and
+ fudge values for discarded link-once section symbols.
+
+ * elf64-hppa.c: Include alloca-conf.h
+
+2000-10-11 Alan Modra <alan@linuxcare.com.au>
+
+ * elf.c (swap_out_syms): Revert 2000-10-07 changes.
+
+ * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
+
+2000-10-10 Alan Modra <alan@linuxcare.com.au>
+
+ * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
+
+2000-10-10 Tom Rix <trix@redhat.com>
+
+ * section.c (bfd_make_section_anyway): Release newsect ptr when
+ newsect->symbol fails to alloc. Use bfd_release instead of free.
+
+2000-10-09 Richard Henderson <rth@cygnus.com
+
+ * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
+ (elf64_ia64_unwind_entry_compare): New.
+ (elf64_ia64_final_link): Sort the .IA_64.unwind section.
+
+2000-10-07 Alan Modra <alan@linuxcare.com.au>
+
+ * elflink.h (size_dynamic_sections): Don't create various tags if
+ .dynstr is excluded from the link. Don't set first dynsym entry
+ if dynsymcount is zero.
+ (elf_bfd_final_link): Don't try to swap out dynamic syms if
+ .dynsym excluded from the link. Don't try to write any dynamic
+ sections excluded from the link.
+
+ * elf.c (swap_out_syms): Handle global section symbols.
+
+2000-10-05 DJ Delorie <dj@redhat.com>
+
+ * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
+ * coffcode.h (coff_set_alignment_hook): read extended reloc count
+ (coff_write_relocs): write extended reloc count
+ (coff_write_object_contents): account for extended relocs
+
+2000-10-05 Jim Wilson <wilson@cygnus.com>
+
+ * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
+ field.
+ * elf.c (_bfd_elf_make_section_from_shdr): Call the
+ elf_backend_section_flags function.
+ * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
+ code.
+ (elf64_ia64_section_flags): New function containing flag conversion
+ code.
+ (elf_backend_section_flags): Define to elf64_ia64_section_flags.
+ * elfxx-target.h (elf_backend_section_flags): Define.
+ (elfNN_bed): Initialize elf_backend_section_flags field.
+
+2000-10-02 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
+ _bfd_elf32_gc_record_vtable. Correct a comment.
+
+2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ From Ralf Baechle <ralf@gnu.org>
+
+ * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
+ produces binaries with got[1] = 0x80000001 to differenciate them
+ for the dynamic linker from the broken binaries produced by old
+ versions.
+
+2000-09-30 Petr Sorfa <petrs@sco.com>
+
+ * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
+ (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
+ * configure.in: Add check for pxstatus_t and lwpxstatus_t.
+ * configure: Regenerate.
+
+2000-09-27 Hans-Peter Nilsson <hp@axis.com>
+
+ Define two bfd_targets for absence and presence of leading
+ underscore on symbols. Make sure to only link same kind.
+ * elf32-cris.c (cris_elf_object_p,
+ cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
+ cris_elf_merge_private_bfd_data): New.
+ (elf_backend_object_p, elf_backend_final_write_processing,
+ bfd_elf32_bfd_print_private_bfd_data,
+ bfd_elf32_bfd_merge_private_bfd_data): Define.
+ <Target vector definition>: Include elf32-target.h twice with
+ different macro settings:
+ (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
+ bfd_elf32_us_cris_vec.
+ (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
+ (elf_symbol_leading_char): First as 0, then '_'.
+ (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
+ * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
+ * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
+ * configure: Regenerate.
+ * targets.c: Declare bfd_elf32_us_cris_vec.
+ * po/bfd.pot: Regenerate.
+
+2000-09-29 Momchil Velikov <velco@fadata.bg>
+
+ * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
+ R_ARM_THM_PC22 relocations.
+
+2000-09-29 NIIBE Yutaka <gniibe@chroot.org>
+
+ * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
+
+2000-09-29 Momchil Velikov <velco@fadata.bg>
+
+ * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
+ is has the SEC_HAS_CONTENTS flag set.
+
+2000-09-28 \81Örjan Friberg <orjanf@axis.com>
+ Hans-Peter Nilsson <hp@axis.com>
+
+ * aout-cris.c (N_TXTADDR): Define.
+
+2000-09-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * som.c: Include alloca-conf.h.
+ * Makefile.am: "make dep-am"
+ * Makefile.in: Regenerate.
+
+2000-09-27 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (plt_stub): New.
+ (PLT_STUB_ENTRY): Define.
+ (elf32_hppa_link_hash_table): Change multi_subspace to packed
+ boolean. Add need_plt_stub, has_12bit_branch and has_17bit_branch.
+ (elf32_hppa_link_hash_table_create): Init to suit.
+ (elf32_hppa_check_relocs): Set has_12bit_branch and
+ has_17bit_branch as appropriate.
+ (elf32_hppa_adjust_dynamic_symbol): Set need_plt_stub for
+ non-local functions.
+ (elf32_hppa_size_dynamic_sections): Correct setting of reltext.
+ Add space for plt_stub as needed.
+ (elf32_hppa_finish_dynamic_symbol): Point .plt entries for global
+ functions at plt_stub.
+ (elf32_hppa_finish_dynamic_sections): Write plt_stub.
+ (elf32_hppa_create_dynamic_sections): Leave .plt executable.
+
+ * elf32-hppa.h (elf32_hppa_size_stubs): Add group_size param.
+ * elf32-hppa.c (elf32_hppa_size_stubs): Likewise. Use it instead
+ of fixed size, and if negative, disable handling of input sections
+ before stub section. Set up default stub group size depending
+ on detected branch relocs.
+ (hppa_build_one_stub): Use lrsel and rrsel for import stubs to
+ ensure different offsets from sym_value aren't rounded to
+ different 2k blocks. Use lrsel and rrsel for other stubs too for
+ consistency rather than necessity.
+ (elf32_hppa_check_relocs): Handle R_PARISC_DIR14F.
+ (final_link_relocate): Likewise.
+ (elf32_hppa_relocate_section): Likewise.
+
+ * elf-hppa.h (elf_hppa_howto_table): Add R_PARISC_DIR14F reloc.
+ (_bfd_elf_hppa_gen_reloc_type): Generate them.
+ (elf_hppa_final_link_relocate): Handle them.
+ (elf_hppa_relocate_insn): Likewise.
+ (_bfd_elf_hppa_gen_reloc_type): Add missing e_ldsel and e_rdsel cases.
+
+2000-09-26 Hans-Peter Nilsson <hp@axis.com>
+
+ * elfcode.h (elf_object_p): Preserve and clear abfd section
+ information. Restore at error.
+
+2000-09-26 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
+
+ * peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectory
+ is empty, make sure that its rva also 0. NT loader dislikes
+ having otherwise.
+
+2000-09-26 Steve Ellcey <sje@cup.hp.com>
+
+ * som.c (som_bfd_derive_misc_symbol_info): Make weak symbols
+ global by default.
+
+2000-09-21 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (elf32_hppa_check_relocs): Fix weak sym handling in
+ currently unused RELATIVE_DYNAMIC_RELOCS code.
+ (hppa_discard_copies): Likewise.
+ (elf32_hppa_size_stubs): Size `input_list' array correctly. Correct
+ comments. Don't check non-code output sections for stub grouping.
+
+2000-09-20 Alan Modra <alan@linuxcare.com.au>
+
+ * section.c (bfd_get_unique_section_name): Return NULL if
+ bfd_malloc fails.
+
+2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * elf32-m68k.c (elf_cpu32_plt0_entry): Change the PLT entry 0
+ instruction sequence to actually work.
+ (elf_m68k_finish_dynamic_sections): Change the patch-in offset
+ accordingly.
+
+2000-09-18 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-sh.c (sh_elf_relocate_section): Use
+ _bfd_final_link_relocate to apply the relocation against a section
+ symbol, when doing relocatable links.
+
+2000-09-18 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (elf32_hppa_stub_hash_entry): Rename input_section
+ to id_sec.
+ (stub_hash_newfunc): Here too.
+ (hppa_add_stub): And here.
+ (elf32_hppa_link_hash_table): Remove stub_section_created,
+ reloc_section_created, first_init_sec and first_fini_sec. Add
+ stub_group.
+ (elf32_hppa_link_hash_table_create): Init to suit.
+ (hppa_get_stub_entry): Add support for grouping stub sections.
+ (hppa_add_stub): Likewise. Remove sec_count param and init/fini
+ section code. Index stub vars by section->id.
+ (elf32_hppa_size_stubs): Likewise. Remove duplicated function
+ exit paths. Zap allocation of above removed vars. Refine
+ link-once test.
+
+ * elf32-hppa.h (elf32_hppa_size_stubs): Add output_bfd param.
+ * elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
+ (hppa_get_stub_entry): Pass in pointer to elf32_hppa_link_hash_table
+ rather than pointer to bfd_link_info.
+ (hppa_add_stub): Likewise.
+ (final_link_relocate): Likewise.
+
+2000-09-17 David Huggins-Daines <dhd@linuxcare.com>
+
+ (elf32_hppa_size_stubs): Don't try to build stubs for discarded
+ link-once sections.
+
+2000-09-16 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-sh.c (ELF_MAXPAGESIZE): Define to 128, to match
+ ld/emulparams/shelf.sh.
+
+2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): New function.
+ * bfd-in.h (bfd_m68k_elf32_create_embedded_relocs): Add declaration.
+ * bfd-in2.h: Regenerate.
+
+2000-09-15 Kenneth Block <Kenneth.Block@compaq.com>
+
+ * elf64-alpha.c (elf64_alpha_relax_with_lituse): ld performs
+ LITUSE relocations incorrectly if -relax is specified on the ld
+ command line and the displacement field of the load or store
+ instruction is non-zero. (Patch by paul.winalski@compaq.com)
+
+2000-09-15 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (hppa_add_stub): Dont set first_init_sec and
+ first_fini_sec here.
+ (elf32_hppa_size_stubs): Instead correctly find the first .init
+ and .fini section here.
+
+2000-09-15 David Huggins-Daines <dhd@linuxcare.com>
+
+ * elf32-hppa.c (clobber_millicode_symbols): New function.
+ (elf32_hppa_size_dynamic_sections): Call it.
+
+2000-09-14 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.c (elf32_hppa_link_hash_entry): Make pic_call
+ packed. Add plabel, plt_abs packed booleans.
+ (hppa_link_hash_newfunc): Init new fields.
+ (PLABEL_PLT_ENTRY_SIZE): Define.
+ (hppa_stub_name): Use size_t len vars.
+ (hppa_add_stub): Likewise.
+ (elf32_hppa_build_stubs): Likewise.
+ (hppa_build_one_stub): Kill some compiler warnings.
+ (elf32_hppa_check_relocs): Always generate a plt entry for PLABELs
+ if dynamic linking. Munge the local plt offsets into
+ local_got_refcounts. Set h->plabel for all global PLABELs. Use
+ size_t len vars. Add assert for plabel addend.
+ (elf32_hppa_gc_sweep_hook): Sweep local plt entries too.
+ (elf32_hppa_hide_symbol): New function.
+ (elf_backend_hide_symbol): Define.
+ (elf32_hppa_adjust_dynamic_symbol): Don't throw away plt entries
+ with h->plabel set. Don't make plt entries to have dynamic syms
+ when they have been forced local. If plt entry is used by a
+ plabel, make it PLABEL_PLT_ENTRY_SIZE.
+ (elf32_hppa_size_dynamic_sections): Set plt_abs for init fns.
+ Set up .plt offsets for local syms.
+ (elf32_hppa_relocate_section): Initialise plt entries for local
+ syms. Leave weak undefined plabels zero. Make global plabel
+ relocs against function symbol, and leave the addend zero.
+ Use *ABS* DIR32 relocs instead of SEGREL32 for dynamic got relocs.
+ (elf32_hppa_finish_dynamic_symbol): Set up IPLT relocs for
+ non-dynamic syms. Init extra plt for plabels. Use *ABS* DIR32
+ relocs instead of SEGREL32 for dynamic got relocs.
+ (elf32_hppa_finish_dynamic_sections): Reserve one more .got entry.
+ (elf_backend_got_header_size): Adjust.
+ (elf32_hppa_set_gp): Calculate an "ideal" LTP.
+
+ * elf32-hppa.c (LONG_BRANCH_VIA_PLT): Define.
+ (hppa_type_of_stub): Use it instead of #if 0
+ (hppa_discard_copies): Use it here too.
+ (elf32_hppa_size_dynamic_sections): And here.
+
+ * elf32-hppa.c (elf32_hppa_link_hash_table): Remove `offset' field.
+ (elf32_hppa_link_hash_table_create): And here.
+ (hppa_build_one_stub): And here. Instead keep track of stub
+ offset using _raw_size.
+ (elf32_hppa_size_stubs): Likewise.
+ (elf32_hppa_build_stubs): Likewise.
+ (hppa_size_one_stub): Likewise. Resize reloc section too.
+
+ * elf32-hppa.c (hppa_add_stub): Correct first_init_sec and
+ first_fini_sec handling. Don't search for reloc section or set
+ hplink->reloc_section_created here.
+ (elf32_hppa_size_stubs): Instead search for reloc sections, and
+ set reloc_section_created here.
+ (hppa_handle_PIC_calls): Set ELF_LINK_HASH_NEEDS_PLT.
+ (elf32_hppa_size_dynamic_sections): Make a .plt entry for DT_INIT
+ and DT_FINI.
+ (elf32_hppa_finish_dynamic_sections): Set DT_INIT and DT_FINI.
+
+ * elf32-hppa.c (hppa_build_one_stub): Replace `elf_hash_table (info)'
+ with `hplink->root.'.
+ (elf32_hppa_check_relocs): Likewise.
+ (elf32_hppa_gc_sweep_hook): Likewise.
+ (elf32_hppa_adjust_dynamic_symbol): Likewise.
+ (hppa_handle_PIC_calls): Likewise.
+ (elf32_hppa_size_dynamic_sections): Likewise.
+ (elf32_hppa_set_gp): Likewise.
+ (elf32_hppa_relocate_section): Likewise.
+ (elf32_hppa_finish_dynamic_symbol): Likewise.
+ (elf32_hppa_finish_dynamic_sections): Likewise.
+
+ From David Huggins-Daines <dhd@linuxcare.com>
+ * elf32-hppa.c (hppa_type_of_stub): Generate import stubs for
+ defined weak symbols in shared links.
+ (final_link_relocate): Calls to defined weak symbols in shared
+ objects must go via import stubs, as the target might not be known
+ at link time.
+
+2000-09-14 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-sh.c (sh_elf_howto_table): Moved R_SH_GOT32, R_SH_PLT32,
+ R_SH_COPY, R_SH_GLOB_DAT, R_SH_JMP_SLOT, R_SH_RELATIVE,
+ R_SH_GOTOFF, R_SH_GOTPC) to the range from 160 to 167. Replaced
+ the original entries with EMPTY_HOWTOs, and added new ones to fill
+ in the gap.
+ (sh_elf_info_to_howto): Make sure the new gap isn't used.
+ (sh_elf_relocate_section): Likewise.
+
+2000-09-13 Anders Norlander <anorland@acc.umu.se>
+
+ * cpu-mips.c (arch_info_struct): Add mips:4K
+ * bfd-in2.h (bfd_mach_mips4K): New define.
+ * archures.c: Add bfd_mach_mips4K to comment.
+ * elf32-mips.c (_bfd_mips_elf_final_write_processing): Return
+ E_MIPS_ARCH_2 for bfd_mach_mips4K.
+
+2000-09-13 Marco Franzen <marcof@thyron.com>
+
+ * som.c (som_write_symbol_strings): Do not used fixed buffers,
+ use size_t as a counter.
+ (som_write_space_strings): Similarly.
+
+2000-09-12 Jason Eckhardt <jle@cygnus.com>
+
+ * elf32-i860.c (elf32_i860_relocate_pc26): New function
+ and prototype.
+ (elf32_i860_relocate_section): Invoke new function from here.
+
+2000-09-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * elf.c (_bfd_elf_make_section_from_shdr): Make debug_sec_names
+ static.
+
+2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Emit 8 NULs for
+ target section name instead of dumping core when the target symbol is
+ undefined.
+
+2000-09-09 Kazu Hirata <kazu@hxi.com>
+
+ * riscix.c: Remove DEFUN.
+
+2000-09-08 Nick Clifton <nickc@redhat.com>
+
+ * elf32-arm.h (elf32_arm_merge_private_bfd_data): Do not
+ initialise flags in output bfd if the input bfd is the default
+ architecture with the default flags.
+
+2000-09-08 Kazu Hirata <kazu@hxi.com>
+
+ * archive.c: Fix formatting.
+ * coff-arm.c: Likewise.
+ * doc/chew.c: Likewise.
+
+2000-09-08 Alan Modra <alan@linuxcare.com.au>
+
+ * section.c (bfd_get_unique_section_name): Put a dot before the
+ numeric suffix.
+
+2000-09-07 Kazu Hirata <kazu@hxi.com>
+
+ * doc/chew.c: Remove all uses of DEFUN and DEFUN_VOID.
+ * elf.c: Fix formatting.
+
+2000-09-07 Alexandre Oliva <aoliva@redhat.com>
+
+ * config.bfd (sh-*-linux*): Added.
+ * configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New.
+ * targets.c: Declare them.
+ * elf32-sh-lin.c: New file.
+ * Makefile.am: Compile it.
+ * elf32-sh.c: Don't override defines from elf32-sh-lin.c.
+ * configure, Makefile.in: Rebuilt.
+
+2000-09-06 Geoffrey Keating <geoffk@cygnus.com>
+
+ * xcofflink.c (xcoff_link_input_bfd): Include the .tocbss
+ pseduo-section when determining where the TOC ends.
+
+ * coff-rs6000.c (_bfd_xcoff_swap_aux_out): Use bfd_h_put_16 to
+ output x_tvndx as it is only two bytes wide.
+
+ * coff-rs6000.c (xcoff_howto_table): A modifiable branch-absolute
+ reloc is 26 or 32 bits wide.
+
+ * coff-rs6000.c (_bfd_xcoff_rtype2howto): The bitsize is irrelevant
+ for relocs that don't change anything. Also look at the full
+ 6 bits of bitsize.
+
+2000-09-06 Philip Blundell <philb@gnu.org>
+
+ * config.bfd (arm*-*-uclinux*): New target.
+
+2000-09-06 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure: Rebuilt with new libtool.m4.
+
+2000-09-06 Alan Modra <alan@linuxcare.com.au>
+
+ * section.c (bfd_get_unique_section_name): Avoid c++ reserved
+ word for variable name.
+ * bfd-in2.h: Regenerate.
+
+2000-09-05 Nick Clifton <nickc@redhat.com>
+
+ * config.in: Regenerate.
+ * libbfd.h: Regenerate.
+ * po/bfd.pot: Regenerate.
+ * doc/bfdint.texi: Remove CVS date string - it foils compares with
+ local versions.
+
+2000-09-05 Steven Johnson <sbjohnson@ozemail.com.au>
+
+ * cpu-powerpc.c (arch_info_struct): Added MPC860 Family entry.
+
+2000-09-05 Alan Modra <alan@linuxcare.com.au>
+
+ Shared library and PIC support.
+ * elf32-hppa.c (PLT_ENTRY_SIZE): New.
+ (GOT_ENTRY_SIZE): New.
+ (ELF_DYNAMIC_INTERPRETER): New.
+ (STUB_SUFFIX): Define.
+ (LONG_BRANCH_PIC_IN_SHLIB): Define.
+ (RELATIVE_DYNAMIC_RELOCS): Define.
+ (enum elf32_hppa_stub_type): New.
+ (struct elf32_hppa_stub_hash_entry): Rename offset to
+ stub_offset. Add a number of new fields.
+ (struct elf32_hppa_link_hash_entry): New.
+ (struct elf32_hppa_link_hash_table): Add numerous fields. Remove
+ global_value.
+ (elf32_hppa_hash_table): Rename to hppa_link_hash_table.
+ (elf32_hppa_stub_hash_lookup): Rename to hppa_stub_hash_lookup.
+ (elf32_hppa_stub_hash_newfunc): Rename to stub_hash_newfunc. Init
+ new fields.
+ (hppa_link_hash_newfunc): New function.
+ (elf32_hppa_link_hash_table_create): Use above function. Init new
+ fields.
+ (elf32_hppa_stub_name): Rename to hppa_stub_name. Pass in reloc
+ instead of addend, and remove sym_name from args. Don't use
+ symbol name for local syms, instead use sym index.
+ (elf32_hppa_size_of_stub): Rename to hppa_type_of_stub, and return
+ stub type rather than size. Pass in hash and handle import stub
+ case. Also pass in reloc instead of offset so we can calculate
+ PCREL22F and PCREL12F branches properly.
+ (elf32_hppa_build_one_stub): Rename to hppa_build_one_stub. Build
+ import and export stubs too.
+ (elf32_hppa_size_one_stub): Rename to hppa_size_one_stub. Handle
+ import and export stub sizing.
+ (elf32_hppa_check_relocs): New function.
+ (elf32_hppa_adjust_dynamic_symbol): New function.
+ (hppa_discard_copies): New function.
+ (elf32_hppa_size_dynamic_sections): New function.
+ (elf_backend_size_dynamic_sections): Define.
+ (elf32_hppa_finish_dynamic_symbol): New function.
+ (elf_backend_finish_dynamic_symbol): Define.
+ (elf32_hppa_size_stubs): Stash params in link hash table, and move
+ some local vars into the link hash table too. For shared links,
+ trundle over function syms, generating export stubs. Handle
+ PCREL22F branches. Break out stub creation code from here..
+ (hppa_add_stub): .. to here. New function.
+ (elf32_hppa_final_link): Rename to elf32_hppa_set_gp, and don't
+ call the bfd linker. Use elf_gp to record global pointer.
+ Calculate a value from sections if $global$ is missing.
+ (bfd_elf32_bfd_final_link): Define as _bfd_elf32_gc_common_final_link.
+ (elf32_hppa_gc_mark_hook): New function.
+ (elf_backend_gc_mark_hook): Define.
+ (elf32_hppa_gc_sweep_hook): New function.
+ (elf_backend_gc_sweep_hook): Define.
+ (elf32_hppa_bfd_final_link_relocate): Rename to final_link_relocate.
+ Add rel to args, and remove howto, input_bfd, offset, addend,
+ sym_name as we can recalculate these locally. Handle calls to
+ dynamic objects, extra PIC relocs, PCREL22F branches. Change
+ handling of undefined weak syms. Check that stubs are in range.
+ Only look for import stubs on PCREL17F and PCREL22F relocs. Add
+ message on hitting a DPREL21L reloc that needs fixing. Subtract
+ off PC for PCREL14F. Break out code that does a stub lookup from
+ here..
+ (hppa_get_stub_entry): ..to here. New function.
+ (elf32_hppa_relocate_insn): Merge into final_link_relocate.
+ (elf32_hppa_relocate_section): Handle got and plt relocs, dynamic
+ relocs, etc. etc.
+ (elf32_hppa_finish_dynamic_sections): New function.
+ (elf_backend_finish_dynamic_sections): Define.
+ (elf_backend_final_write_processing) Define.
+ (hppa_handle_PIC_calls): New function.
+ (elf32_hppa_build_stubs): Call it. Pass link_info to
+ hppa_build_one_stub.
+ (elf32_hppa_create_dynamic_sections): New function
+ to create .plt and .got then set .plt flags correctly.
+ (elf_backend_create_dynamic_sections): Define.
+ (elf32_hppa_object_p): New function.
+ (elf_backend_object_p): Define.
+ (elf32_hppa_elf_get_symbol_type): New function.
+ (elf_backend_get_symbol_type): Define.
+ (elf_backend_can_gc_sections): Define.
+ (elf_backend_want_got_plt): Define.
+ (elf_backend_plt_alignment): Set to 2.
+ (elf_backend_plt_readonly): Define.
+ (elf_backend_want_plt_sym): Define.
+ (elf_backend_got_header_size): Reserve one entry.
+
+ * elf32-hppa.h (elf32_hppa_build_stubs): Don't pass stub bfd.
+ (elf32_hppa_size_stubs): Pass in multi_subspace.
+ (elf32_hppa_set_gp): Declare.
+
+ * section.c (SEC_HAS_GOT_REF): Define new flag for asection.
+ (bfd_get_unique_section_name): New function.
+ * bfd-in2.h: Regenerate.
+
+ * elf64-hppa.c (elf64_hppa_check_relocs): Handle R_PARISC_PCREL12F.
+ (elf64_hppa_size_dynamic_sections): Remove the FIXME at bfd_zalloc
+ comment.
+
+ From David Huggins-Daines <dhd@linuxcare.com>
+ * elf64-hppa.c (elf64_hppa_check_relocs): Fix a warning.
+ (elf64_hppa_mark_exported_functions): Set dyn_h->st_shndx.
+ (elf64_hppa_link_output_symbol_hook): Test dyn_h->st_shndx has
+ been updated in finish_dynamic_symbol before modifying function
+ symbol.
+
+ * elf-hppa.h (elf_hppa_howto_table): Restructure into groups of
+ eight entries. Replace NULL with bfd_elf_generic_reloc. Add
+ R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT and R_PARISC_PCREL12F.
+ (_bfd_elf_hppa_gen_reloc_type): Handle R_PARISC_GNU_VT*. Add some
+ comments. Handle format == 12 for R_HPPA_PCREL_CALL.
+ (elf_hppa_final_link_relocate): Handle R_PARISC_PCREL12F.
+ (elf_hppa_relocate_insn): Likewise. Reformat some comments.
+ (elf_hppa_final_write_processing): Expose it for ARCH_SIZE == 32.
+
+ From David Huggins-Daines <dhd@linuxcare.com>
+ * elf-hppa.h (elf_hppa_is_local_label_name): Accept the SysV/ELF
+ style of local labels as well.
+
+2000-09-03 Philip Blundell <philb@gnu.org>
+
+ * elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate
+ references to undefined symbols in debugging sections.
+
+2000-09-02 H.J. Lu <hjl@gnu.org>
+
+ * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
+ BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE,
+ BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH
+ section.
+
+2000-09-02 Jason Eckhardt <jle@cygnus.com>
+
+ * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro.
+ (elf32_i860_is_local_label_name): New function and prototype.
+
+2000-09-02 Nick Clifton <nickc@redhat.com>
+
+ * configure.in: Increase version number to 2.10.91.
+ * configure: Regenerate.
+ * aclocal.m4: Regenerate.
+ * config.in: Regenerate.
+ * po/bfd.pot: Regenerate.
+
+2000-09-02 Daniel Berlin <dberlin@redhat.com>
+
+ * elf.c (_bfd_elf_make_section_from_shdr): Add
+ .gnu.linkobce.wi. to the list of debug section names.
+
+2000-09-02 Nick Clifton <nickc@redhat.com>
+
+ * dwarf2.c (find_debug_info): New function: Locate a section
+ containing dwarf2 debug information.
+ (bfd_dwarf2_find_nearest_line): Find all sections containing
+ debug information and include them in the stash.
+
+2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
+ R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New.
+ (sh_reloc_map): Add new relocs.
+ (sh_elf_check_relocs, sh_elf_link_hash_newfunc,
+ sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol,
+ sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol,
+ sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New
+ functions.
+ (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define.
+ (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
+ elf_sh_plt_entry_be, elf_sh_plt_entry_le,
+ elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
+ New array constants.
+ (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry):
+ New variables.
+ (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
+ elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset,
+ elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset,
+ elf_sh_plt_reloc_offset): Define.
+ (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry,
+ elf_sh_link_hash_table): New structs.
+ (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros.
+ (sh_elf_relocate_section, sh_elf_check_relocs): Handle new
+ relocation types.
+ (elf_backend_create_dynamic_sections,
+ bfd_elf32_bfd_link_hash_table_create,
+ elf_backend_adjust_dynamic_symbol,
+ elf_backend_size_dynamic_sections,
+ elf_backend_finish_dynamic_symbol,
+ elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
+ elf_backend_plt_readonly, elf_backend_want_plt_sym,
+ elf_backend_got_header_size, elf_backend_plt_header_size):
+ Define.
+ * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
+ BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC):
+ New relocs.
+ * bfd-in2.h, libbfd.h: Rebuilt.
+
+2000-09-01 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27
+ change.
+
+2000-08-31 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
+ not initialized, set them to indicate the SH1 instruction set.
+
+2000-08-31 Alexandre Oliva <aoliva@redhat.com>
+
+ * acinclude.m4: Include libtool and gettext macros from the
+ top level.
+ * aclocal.m4, configure: Rebuilt.
+
+2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
+
+ * elf.c: Eliminate references to __sparcv9 macro; replace with
+ autoconf variables HAVE_PSINFO32_T etc.
+ * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
+ HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
+ * config.in: Ditto.
+ * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
+ detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
+ * aclocal.m4: Ditto.
+ * configure: Regenerate.
+
+2000-08-27 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-i386.c (elf_i386_check_relocs): Keep info on relocs copied
+ for any shared link, not just shared -Bsymbolic.
+ (elf_i386_size_dynamic_sections): Call elf_i386_discard_copies on
+ any shared link, and pass link info to it.
+ (elf_i386_size_dynamic_sections): Update comment.
+ (elf_i386_discard_copies): Modify to discard relocs for symbols
+ that have been forced local.
+ (elf_i386_finish_dynamic_symbol): Don't copy relocs for symbols
+ that have been forced local.
+
+2000-08-24 Denis Chertykov <denisc@overta.ru> & Nick Clifton <nickc@redhat.com>
+
+ * elflink.h (elf_link_add_object_symbols): Allow common
+ symbols to have an alignment of 1 if explicitly requested, and
+ not overridden by other definitions.
+
+2000-08-22 Doug Kwan <dkwan@transmeta.com>
+
+ * coff-w65.c (CREATE_LITTLE_COFF_TARGET): Fix typo.
+ * coffcode.h (coff_set_flags): Add detection of w65 architecture.
+
+2000-08-22 H.J. Lu <hjl@gnu.org>
+
+ * elf-bfd.h (elf_link_hash_table): Add runpath.
+
+ * bfd-in.h (bfd_elf_get_runpath_list): New prototype.
+ * bfd-in2.h: Rebuilt.
+
+ * elf.c (_bfd_elf_link_hash_table_init): Initialize the
+ "runpath" field to NULL.
+ (bfd_elf_get_runpath_list): New function.
+
+ * elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
+ DT_RUNPATH entries.
+
+2000-08-22 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
+ R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them
+ explicitly. Improve validation of r_type.
+
+2000-08-21 H.J. Lu <hjl@gnu.org>
+
+ * elf32-i386.c (elf_i386_size_dynamic_sections): Zero out the
+ dynamic allocated content space. Add a comment to remind us that
+ one day this ought to be fixed.
+ * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+ * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
+ * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
+
+2000-08-21 Jason Eckhardt <jle@cygnus.com>
+
+ * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate
+ field with the newly relocated value instead of adding it to the
+ existing immediate field.
+ (elf32_i860_relocate_splitn): Likewise.
+ (elf32_i860_relocate_highadj): Likewise.
+
+2000-08-16 Jason Eckhardt <jle@cygnus.com>
+
+ * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it
+ was previously just a stub).
+
+2000-08-16 Alexandre Oliva <aoliva@redhat.com>
+
+ * elflink.c (_bfd_elf_create_got_section): Don't abort().
+ Formatting fixes.
+ (_bfd_elf_create_dynamic_sections): Likewise.
+
+2000-08-16 Andrew Macleod <amacleod@cygnus.com>
+
+ * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
+ for undefined symbols to be the beginning of the section.
+
+ * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
+ four extra entries at the beginning of the .rela.plt section.
+ (sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
+ section to account for the four reserved entries in the .plt section.
+
+2000-08-15 Geoffrey Keating <geoffk@cygnus.com>
+
+ * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
+ to the list of NOPs we recognize after a branch-and-link.
+ Use the ori NOP when one is needed.
+
+ * coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation
+ for large archives.
+
+2000-08-14 Jim Wilson <wilson@cygnus.com>
+
+ * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle
+ EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.
+ (elf64_ia64_print_private_bfd_data): Likewise. Also handle
+ EF_IA_64_ABSOLUTE.
+
+2000-08-11 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.
+
+2000-08-10 Jason Eckhardt <jle@cygnus.com>
+
+ * elf32-i860.c (elf32_i860_relocate_section): New function.
+ (i860_final_link_relocate): New function.
+ (elf32_i860_relocate_splitn): New function.
+ (elf32_i860_relocate_pc16): New function.
+ (elf32_i860_relocate_highadj): New function.
+ (elf32_i860_howto): Minor adjustments to some relocations.
+ (elf_info_to_howto_rel): Define.
+ (elf_backend_relocate_section): Define.
+
+2000-08-10 Nick Clifton <nickc@cygnus.com>
+
+ * elf32-arm.h: Fix formatting.
+
+2000-08-10 Bernd Schmidt <bernds@cygnus.co.uk>
+
+ * elf32-sh.c (sh_elf_reloc_loop): Make LAST_SYMBOL_SECTION static.
+
+2000-08-08 Jason Eckhardt <jle@cygnus.com>
+
+ * elf32-i860.c (elf32_i860_howto_table): Updated some fields.
+
+2000-08-07 Kazu Hirata <kazu@hxi.com>
+
+ * ieee.c (ieee_write_debug_part): Rewrite a comment.
+ * elf64-ia64.c: Fix a typo.
+
+2000-08-05 Jason Eckhardt <jle@cygnus.com>
+
+ * elf32-i860.c (elf32_i860_howto_table): New structure.
+ (lookup_howto): New function.
+ (elf32_i860_reloc_type_lookup): New function.
+ (elf32_i860_info_to_howto_rela): New function.
+ (elf_code_to_howto_index): New structure.
+ (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.
+ (bfd_elf32_bfd_reloc_type_lookup): Re-define as
+ elf32_i860_reloc_type_lookup.
+
+2000-08-04 Rodney Brown <RodneyBrown@pmsc.com>
+
+ * som.c (struct fixup_format): Constify `format'.
+ (som_hppa_howto_table): Use SOM_HOWTO macro.
+ (try_prev_fixup, hppa_som_reloc): Decorate unused parameter.
+ (som_bfd_reloc_type_lookup): Likewise.
+ (compare_subspaces): Remove unused `count1', `count2'.
+ (som_begin_writing): Remove unused `total_reloc_size'.
+ (som_bfd_derive_misc_symbol_info): Decorate unused parameter.
+ (som_print_symbol, som_bfd_is_local_label_name): Likewise.
+ (som_set_reloc_info): Constify `cp'. Remove unused `addend'.
+ (som_find_nearest_line): Decorate unused parameter(s).
+ (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise.
+ (som_bfd_link_split_section): Likewise.
+
+2000-08-03 Nick Clifton <nickc@cygnus.com>
+
+ * section.c: Restore backed out code.
+ * elf.c: Restore backed out code.
+ (copy_private_bfd_data): Fix bug preventing stipped dynamic
+ binaries from working.
+ * bfd-in2.h: Regenerate.
+
+2000-08-03 H.J. Lu <hjl@gnu.org>
+
+ * section.c: Back out the change made by Nick Clifton
+ <nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic
+ binaries.
+ * bfd-in2.h: Likewise.
+ * elf.c: Likewise.
+
+2000-08-03 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-sh.c (sh_elf_reloc_loop): Warning removal.
+
+2000-07-31 Jason Eckhardt <jle@cygnus.com>
+
+ * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860.
+ * bfd-in2.h, libbfd.h: Regenerate.
+
+2000-07-31 Nick Clifton <nickc@cygnus.com>
+
+ * section.c (struct sec): Add new boolean field 'segment_mark'.
+ (STD_SECTION): Initialise new field to zero.
+
+ * bfd-in2.h: Regenerate.
+
+ * elf.c (copy_private_bfd_data): Reorganise section to segment
+ mapping to cope with moved sections requiring new segments,
+ and overlapping segments.
+ (SEGMENT_END): New macro: Return the end address of a segment.
+ (IS_CONTAINED_BY_VMA): New macro: Determine if a segment
+ contains a section by comparing their VMA addresses.
+ (IS_CONTAINED_BY_LMA): New macro: Determine if a segment
+ contains a section by comparing their LMA addresses.
+ (INCLUDE_SECTION_IN_SEGMENT): New macro: Determine if a
+ section should be included in a segment.
+ (SEGMENT_AFTER_SEGMENT): New macro: Determine if one segment
+ follows another in memory.
+ (SEGMENT_OVERLAPS_SEGMENT): New macro: Determine if two
+ segments overlap.
+
+2000-07-22 Jason Eckhardt <jle@cygnus.com>
+
+ * cpu-i860.c: Added comments.
+
+ * elf32-i860.c (TARGET_LITTLE_SYM): Defined to
+ bfd_elf32_i860_little_vec.
+ (TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
+ (ELF_MAXPAGESIZE): Changed to 4096.
+
+ * targets.c (bfd_elf32_i860_little_vec): Declaration of
+ new target.
+ (bfd_target_vector): Added bfd_elf32_i860_little_vec.
+
+ * config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
+ config for little endian elf32 i860.
+ (targ_defvec): Define for the new config above
+ as "bfd_elf32_i860_little_vec".
+ (targ_selvecs): Define for the new config above
+ as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"
+
+ * configure.in (bfd_elf32_i860_little_vec): Added recognition
+ of new target vec.
+
+ * configure: Regenerated.
+
+2000-07-27 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_merge_symbol): Take one more argument,
+ dt_needed, to indicate if the symbol comes from a DT_NEEDED
+ entry. Don't overide the existing weak definition if dt_needed
+ is true.
+ (elf_link_add_object_symbols): Pass dt_needed to
+ elf_merge_symbol ().
+
+2000-07-27 Nick Clifton <nickc@cygnus.com>
+
+ * elflink.h (elf_link_size_reloc_section): Zeroes the section's
+ allocated contents.
+
+2000-07-25 Geoffrey Keating <geoffk@cygnus.com>
+
+ * configure.host (*-*-aix*): AIX has 'long long' always.
+
+ * coff-rs6000.c (xcoff_write_one_armap_big): New procedure.
+ (xcoff_write_armap_big): Write both 32-bit and 64-bit armaps.
+ (xcoff_write_archive_contents_big): Don't update the offset
+ of the symbol table, xcoff_write_armap will do it.
+
+2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ * elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead
+ of dynobj for SGI_COMPAT checks.
+
+2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): New function.
+ * bfd-in.h (bfd_m68k_coff_create_embedded_relocs): Add declaration.
+ * bfd-in2.h: Regenerate.
+
+2000-07-21 Nick Clifton <nickc@cygnus.com>
+
+ * elf32-mips.c (_bfd_mips_elf_check_relocs): Detect out of
+ range symbol indices in relocs and issue an error message.
+
+2000-07-20 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
+ info->new_dtags when setting DT_FLAGS_1. It will only be set
+ by the new linker options. It shouldn't break anything.
+
+2000-07-20 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
+ only if info->new_dtags is true.
+
+2000-07-20 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set
+ DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.
+
+2000-07-20 Hans-Peter Nilsson <hp@axis.com>
+
+ * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
+ (ALL_MACHINES_CFILES): Add cpu-cris.c.
+ (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.
+ (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.
+ (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.
+ * Makefile.in: Rebuild.
+ * aclocal.m4: Rebuild.
+ * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.
+ * archures.c (enum bfd_architecture): Add bfd_arch_cris.
+ (bfd_cris_arch): Declare.
+ (bfd_archures_list): Add bfd_cris_arch.
+ * bfd-in2.h: Rebuild.
+ * config.bfd: (cris-*-*): New target.
+ * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.
+ * configure: Rebuild.
+ * elf.c (prep_headers): Add bfd_arch_cris.
+ * libbfd.h: Rebuild.
+ * libaout.h (enum machine_type): Add M_CRIS.
+ * reloc.c: Add CRIS relocations.
+ * targets.c (bfd_elf32_cris_vec, cris_aout_vec): Declare.
+ (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.
+ * cpu-cris.c, aout-cris.c, elf32-cris.c: New files.
+ * po/POTFILES.in, po/bfd.pot: Regenerate.
+
+2000-07-19 H.J. Lu <hjl@gnu.org>
+
+ * elf32-arm.h (elf32_arm_size_dynamic_sections): Also set
+ DF_TEXTREL if DT_TEXTREL is set.
+ * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
+ * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
+ * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+ * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
+ * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
+ * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
+ * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
+ * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
+ * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise.
+ * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
+
+ * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also
+ set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if
+ DT_RPATH is set.
+ Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.
+
+2000-07-19 H.J. Lu <hjl@gnu.org>
+
+ * bfd-in.h (bfd_elf_set_dt_needed_soname): New.
+ * bfd-in2.h: Rebuild.
+
+ * elf-bfd.h (elf_obj_tdata): Add dt_soname.
+ (elf_dt_soname): New.
+
+ * elf.c (bfd_elf_set_dt_needed_soname): New.
+
+ * elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED
+ entry if the shared object loaded by DT_NEEDED is used to
+ resolve the reference in a regular object.
+
+2000-07-19 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG,
+ DT_DEPAUDIT and DT_AUDIT as strings.
+
+2000-07-19 Nick Clifton <nickc@cygnus.com>
+
+ * format.c: Fix formatting.
+
+2000-07-19 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.
+
+2000-07-19 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW,
+ DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ,
+ DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ,
+ DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1,
+ DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT,
+ DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT,
+ DT_FLAGS_1, DT_USED and DT_CHECKSUM.
+
+2000-07-18 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * elf.c (bfd_elf_get_sign_extend_vma, bfd_elf_get_arch_size): Move
+ renamed functions from here...
+ (assign_section_numbers): Use renamed functions.
+ (prep_headers): Use renamed functions.
+
+ * bfd.c (bfd_get_sign_extend_vma, bfd_get_arch_size): ...To here.
+ * bfd-in.h (bfd_get_sign_extend_vma, bfd_get_arch_size): Update.
+ * bfd-in2.h: Regenerate.
+
+2000-07-18 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add
+ parenthesis in if statement.
+
+2000-07-17 Koundinya K <kk@ddeorg.soft.net>
+
+ Enable the support for Traditional MIPS.
+ * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand
+ return ict_none appropriately for traditional mips targets.
+ (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips.
+ (STUB_MOVE): Conditionalize for traditonal mips.
+ (STUB_LI16): Likewise.
+ (_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making
+ room for RTPROC header.
+ (_bfd_mips_elf_modify_segment_map): For a normal mips executable set
+ the permission for the PT_DYNAMIC as read, write and execute.
+ (mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING
+ for traditonal mips.
+ (_bfd_mips_elf_create_dynamic_sections): Add the symbol
+ _DYNAMIC_LINKING for traditonal mips.
+ (_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP
+ in case of traditonal mips.
+ (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT
+ entry is required. For a function if PLT is not required then set the
+ corresponding hash table entry to 0.
+ (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for
+ traditonal mips.
+ (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a
+ shared object set the value to 0.
+ (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol
+ _DYNAMIC_LINKING for traditonal mips.
+ (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP
+ for traditonal mips.
+
+2000-07-15 H.J. Lu <hjl@gnu.org>
+
+ * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.
+
+2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
+
+ * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
+ out a structure that is BFD_IN_MEMORY.
+
+2000-07-11 Alan Modra <alan@linuxcare.com.au>
+
+ * elf64-hppa.c (get_dyn_name): Pass in section pointer instead of
+ bfd pointer. Print section id instead of bfd pointer for local
+ syms. Prefix addend with `+' for global syms as well as local.
+ Correct calculation of name component lengths.
+ (elf64_hppa_check_relocs): Update call to get_dyn_name.
+
+ From David Huggins-Daines <dhd@linuxcare.com>
+ * elf-hppa.h (elf_hppa_relocate_section): Update calls here too.
+ * elf64-hppa.c (elf64_hppa_check_relocs): Fix some warnings.
+ (elf64_hppa_modify_segment_map): Likewise.
+
+2000-07-11 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * elf.c (bfd_elf_get_sign_extend_vma): Return tendency of VMA
+ addresses to be "naturally" sign extended. Return -1 if unknown.
+ * bfd-in.h (bfd_elf_get_sign_extend_vma): Add declaration.
+ * bfd-in2.h: Regenerate.
+
+2000-07-11 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * ecoffswap.h (ecoff_get_off, ecoff_put_off): Add ECOFF_SIGNED_32
+ and ECOF_SIGNED_64 to list ways to extract an offset.
+ (ecoff_swap_fdr_in, ecoff_swap_fdr_out, ecoff_swap_pdr_in,
+ ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out):
+ Update.
+ * elf64-mips.c (ECOFF_SIGNED_64): Define instead of ECOFF_64.
+ * elf32-mips.c (ECOFF_SIGNED_32): Define instead of ECOFF_32.
+
+2000-07-11 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * elfcode.h (elf_object_p): Use bfd_set_start_address and not
+ bfd_get_start_address.
+ (elf_swap_ehdr_in): Sign extend e_entry when applicable.
+ (elf_swap_ehdr_out): Ditto.
+
+2000-07-10 Alexander Aganichev <AAganichev@hypercom.com>
+
+ * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for
+ compatibility with older binutils.
+
+2000-07-10 Alan Modra <alan@linuxcare.com.au>
+
+ * section.c (bfd_make_section_anyway): Start section_id at 0x10.
+ (STD_SECTION): Avoid negative ids, instead use 0 to 3.
+
+ From Ryan Bradetich <rbradetich@uswest.net>
+ * dwarf1.c (parse_die): Cure signed/unsigned char warnings.
+ (parse_line_table): Ditto.
+ (_bfd_dwarf1_find_nearest_line): Ditto.
+ * syms.c (cmpindexentry): Remove extra `*' from params.
+
+2000-07-09 Koundinya K <kk@ddeorg.soft.net>
+
+ * elf32-mips.c (sort_dynamic_relocs): New Function.
+ (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs
+ via qsort to sort the dynamic relocations in increasing r_symndx
+ value.
+
+2000-07-09 Alan Modra <alan@linuxcare.com.au>
+
+ * elf64-hppa.c (elf64_hppa_dyn_hash_table_init): Add
+ ATTRIBUTE_UNUSED to unused args.
+ (get_opd): Likewise.
+ (get_plt): Likewise.
+ (get_dlt): Likewise.
+ (get_stub): Likewise.
+ (elf64_hppa_adjust_dynamic_symbol): Likewise.
+ (elf64_hppa_link_output_symbol_hook): Likewise.
+ (elf64_hppa_check_relocs): Delete unused var.
+ (elf64_hppa_size_dynamic_sections): Likewise.
+ (elf64_hppa_finalize_opd): Likewise.
+ (elf64_hppa_finalize_dynreloc): Likewise.
+ (elf64_hppa_modify_segment_map): Likewise.
+ (elf64_hppa_finish_dynamic_sections): Likewise.
+
+ * elf-hppa.h (elf_hppa_final_write_processing): Add
+ ATTRIBUTE_UNUSED to unused args.
+ (elf_hppa_final_link_relocate): Likewise.
+ (elf_hppa_record_segment_addrs): Add paretheses.
+ (elf_hppa_relocate_section): Constify dyn_name.
+
+ From David Huggins-Daines <dhd@linuxcare.com>
+ * config.bfd: Add hppa*64*-*-linux-gnu 64-bit target, and
+ rearrange case statement so that it gets preferred to 32-bit ones.
+
+ * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Use
+ asection->id instead of address of asection structure.
+ (elf32_hppa_size_stubs): Likewise.
+
+ * elf32-hppa.c (elf32_hppa_size_stubs): Use just one stub section
+ for .init* and .fini*.
+
+ * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Mask pointers
+ and addends used in stub names to 32 bits.
+ (elf32_hppa_size_stubs): Likewise.
+
+ * elf-hppa.h (elf_hppa_final_link_relocate): Don't sum addend
+ twice for R_PARISC_GPREL64. Use bfd_put_32 for R_PARISC_PCREL32,
+ not bfd_put_64. Fix minor comment typo and formatting.
+
+ Changes to create multiple linker stubs, positioned immediately
+ before the section where they are required.
+ * elf32-hppa.c: Don't include hppa_stubs.h.
+ (elf32_hppa_stub_hash_entry): Add a pointer to the stub section.
+ (elf32_hppa_stub_hash_table): Delete.
+ (elf32_hppa_link_hash_entry): Delete.
+ (elf32_hppa_link_hash_table): Use plain bfd_hash_table for
+ stub_hash_table, and store the struct here rather than a pointer.
+ Delete output_symbol_count. Add offset array. Change
+ global_value to a bfd_vma.
+ (elf32_hppa_stub_hash_lookup): Use table instead of table->root.
+ (elf32_hppa_stub_hash_traverse): Delete.
+ (elf32_hppa_name_of_stub): Delete.
+ (elf32_hppa_link_hash_lookup): Delete.
+ (elf32_hppa_link_hash_traverse): Delete.
+ (elf32_hppa_stub_hash_table_init): Delete.
+ (elf32_hppa_size_of_stub): Pass input section and offset rather
+ than location and calculate location here. Don't pass name as all
+ stubs are now the same size.
+ (elf32_hppa_stub_hash_newfunc): Init new fields.
+ (elf32_hppa_link_hash_table_create): Likewise, and stub_hash_table
+ too.
+ (elf32_hppa_bfd_final_link_relocate): Cast enums to int before
+ comparing against ints. Rewrite stub handling code.
+ (elf32_hppa_relocate_section): Make r_type and r_symndx unsigned.
+ Case enums to int before comparing against ints. Remove
+ bfd_reloc_dangerous case.
+ (elf32_hppa_build_one_stub): Rewrite.
+ (elf32_hppa_size_one_stub): New function.
+ (elf32_hppa_build_stubs): Rewrite.
+ (elf32_hppa_size_stubs): Pass in linker call-back functions.
+ Rewrite stub-handling specific code.
+
+ * elf32-hppa.h (elf32_hppa_size_stubs): Update prototype.
+
+ * elf64-hppa.c (elf64_hppa_dyn_hash_entry): Fix a comment typo.
+
+ * hppa_stubs.h: Delete.
+ * Makefile.am (SOURCE_HFILES): Remove hppa_stubs.h
+ (elf32-hppa.lo): Remove hppa_stubs.h from dependencies.
+ * Makefile.in: Regenerate.
+
+ * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle e_nlsel and
+ e_nlrsel.
+
+ * libhppa.h (hppa_field_adjust): Correct e_nsel case.
+
+ * elf32-hppa.c (elf32_hppa_relocate_section): Mention the offset
+ and section name for bfd_reloc_notsupported error message.
+ (elf32_hppa_bfd_final_link_relocate): Print reasons for returning
+ bfd_reloc_notsupported.
+ (elf32_hppa_relocate_section): Add ATTRIBUTE_UNUSED to output_bfd.
+
+ * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Handle
+ undefined weak symbols for all relocs.
+ (elf32_hppa_size_of_stub): Adjust calculation by 8 since branch
+ offsets are relative to one past the delay slot.
+ (elf32_hppa_size_stubs): Account for reloc addend when calculating
+ branch destination. Put addend into stub name too.
+ (elf32_hppa_bfd_final_link_relocate): Account for reloc addend and
+ adjust by 8 when deciding whether a linker stub is needed. Put
+ addend into stub name as for above.
+
+ * elf32-hppa.c (hppa_elf_relocate_insn): Change signed/unsigned on
+ various args and vars.
+ (elf32_hppa_bfd_final_link_relocate): Here too.
+ (elf32_hppa_size_stubs): Rename index -> indx. Use e_indx for
+ inner block var to avoid shadowing.
+
+ * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type): Make `field' arg
+ unsigned.
+ * elf64-hppa.h (_bfd_elf64_hppa_gen_reloc_type): Ditto.
+ * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Ditto.
+ (elf_hppa_fake_sections): Rename local var to avoid shadowing.
+
+ * libhppa.h: Change practically all unsigned ints to plain ints.
+ Remove tests on gcc version. Instead use ATTRIBUTE_UNUSED for
+ prototypes.
+
+ From Ryan Bradetich <rbradetich@uswest.net>
+ * libhppa.h (hppa_opcode_type): New enum to replace #define's.
+ * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Modify to
+ suit above.
+ From David Huggins-Daines <dhd@linuxcare.com>
+ * elf-hppa.h (elf_hppa_relocate_insn): Update the opcode constants
+ to the new OP_* ones.
+
+ * elf32-hppa.c (elf32_hppa_size_stubs): Consolidate freeing on
+ error exit. Bail out earlier on plabel relocs that we aren't
+ interested in. Don't tell elf32_hppa_stub_hash_lookup to copy
+ string, and then don't free our copy.
+ (elf32_hppa_build_one_stub): Make insn unsigned int.
+
+ * libhppa.h (bfd_hppa_insn2fmt): 22 bit branches are only
+ available with BL, not BE and BLE.
+
+ * elf32-hppa.c (hppa_elf_relocate_insn): Add some more example
+ code for elf arg relocs.
+ (elf32_hppa_bfd_final_link_relocate): Replace boolean is_local
+ argument with elf_link_hash_entry h. Handle undefined weak
+ symbols. Move $global$ lookup from here...
+ (elf32_hppa_relocate_section): ...to here. Return correct error
+ message for non-handled relocs.
+ (elf32_hppa_size_of_stub): Correctly test branch range. Previous
+ wrong test was -0x3ffff to +0x40000.
+
+ * elf-hppa.h (elf_hppa_final_link_relocate): R_PARISC_DIR17R,
+ R_PARISC_DIR17F, and R_PARISC_DIR21L are for absolute branches;
+ Handle them as such.
+ (elf_hppa_relocate_insn): Fix a typo.
+
+ * libhppa.h (GET_FIELD, GET_BIT, MASK, CATENATE, ELEVEN): Delete.
+ (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a,
+ assemble_17, assemble_21): Delete.
+ Supply defines for all 64 possible opcodes.
+ (bfd_hppa_insn2fmt): Add bfd argument, and use to select wide mode
+ formats. Handle COMICLR.
+ (hppa_rebuild_insn): Delete bfd argument. Handle formats 10, -11,
+ -10, -16, 16, 22.
+
+ * elf32-hppa.c (hppa_elf_relocate_insn): Complete rewrite.
+ (elf32_hppa_bfd_final_link_relocate): Major rewrite.
+ (elf32_hppa_build_one_stub): Modify hppa_elf_relocate_insn calls
+ to suit.
+ (elf32_hppa_size_stubs): Don't free stub_name twice. Read in all
+ the local syms - did this code get deleted accidentally? Ignore
+ undefined and undefweak syms.
+
+ * elf-hppa.h (elf_hppa_final_link): Move hppa_info to outermost
+ block. Use it instead of elf64_hppa_hash_table (info).
+ (elf_hppa_final_link_relocate): Use hppa_info instead of
+ elf64_hppa_hash_table (info).
+
+ * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
+ re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
+ (hppa_rebuild_insn): Mask immediate bits here instead.
+ * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
+
+2000-07-08 Alan Modra <alan@linuxcare.com.au>
+
+ * section.c (struct sec): Add id field. Tidy comment formatting.
+ (bfd_make_section_anyway): Set id.
+ (STD_SECTION): Init id too.
+ Change CONST to const throughout.
+ * archures.c (bfd_arch_info): Tidy comment.
+ (bfd_arch_list): Change a CONST to const.
+ * libbfd-in.h: Tidy comments and replace CONST with const.
+ * elf-bfd.h: Likewise.
+ * libbfd.h: Regenerate.
+ * bfd-in2.h: Regenerate.
+ * libcoff.h: Regenerate.
+
+2000-07-07 DJ Delorie <dj@redhat.com>
+
+ * archive.c (_bfd_write_archive_contents): Add an informative
+ comment.
+
+2000-07-06 Kazu Hirata <kazu@hxi.com>
+
+ * srec.c: Fix formatting.
+
+2000-06-05 DJ Delorie <dj@redhat.com>
+
+ * MAINTAINERS: new
+
+2000-07-04 Alexandre Oliva <aoliva@redhat.com>
+
+ * coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol
+ value of PC-relative offsets.
+
+2000-07-03 Jim Wilson <wilson@cygnus.com>
+
+ * elf64-alpha.c (alpha_elf_size_info): New.
+ (elf_backend_size_info): Define to alpha_elf_size_info.
+ * elfcode.h (elf_size_info): Change hash bucket size to 4.
+
+2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ * elf32-mips.c: Include elf32-target.h again for the traditional
+ MIPS targets.
+
+2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
+
+ * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup):
+ Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings.
+ (avr_info_to_howto_rela): Likewise.
+ (elf32_avr_gc_mark_hook): Likewise.
+ (elf32_avr_gc_sweep_hook): Likewise.
+ (elf32_avr_relocate_section): Likewise.
+
+2000-07-03 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into
+ an external symbol for a non-shared, non-relocatable link.
+
+2000-07-03 Nick Clifton <nickc@redhat.com>
+
+ * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol
+ is an external symbol.
+ (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak
+ external symbol.
+
+2000-07-03 Kazu Hirata <kazu@hxi.com>
+
+ * reloc16.c: Fix formatting.
+
+2000-07-01 Koundinya K <kk@ddeorg.soft.net>
+
+ * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4*
+ to add a new target for traditional mips i.e
+ bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec.
+ * configure.in: Likewise.
+ * configure: Rebuild.
+ * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in
+ bfd_target_vector.
+ (bfd_elf32_tradlittlemips_vec): Likewise.
+ * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test
+ to see that elfNN_bed does not get redefined even if the target file
+ is included twice for a chip. See elf32-mips.c.
+
+2000-07-01 Alan Modra <alan@linuxcare.com.au>
+
+ * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
+ (CLEANFILES): Add DEPA.
+ * Makefile.in: Regenerate.
+
+2000-06-30 DJ Delorie <dj@cygnus.com>
+
+ * peicode.h (coff_swap_filehdr_in): can't use e_magic because we
+ can't assume the PE header is at 0x80.
+
+2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH.
+
+2000-06-28 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * go32stub.h: Update stub.
+
+2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
+
+ * archures.c (bfd_mach_avr5): Define.
+ * bfd-in2.h (bfd_mach_avr5): Define.
+ * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to
+ bfd_mach_avr5, add bfd_mach_avr4. Update comments.
+ (compatible): Update comment. Add missing test.
+ * elf32-avr.c (avr_final_link_relocate): Support 8K wrap
+ for avr2 and avr4. Simplify 8K wrap code.
+ (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5.
+ (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5.
+
+2000-06-26 Kazu Hirata <kazu@hxi.com>
+
+ * coff-h8300.c: Fix formatting.
+ * cpu-h8300.c: Likewise.
+
+2000-06-24 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'
+ for local symbols whose names are unknown.
+
+2000-06-22 Alan Modra <alan@linuxcare.com.au>
+
+ * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
+ find one.
+ * Makefile.in: Regenerate.
+ * doc/Makefile.in: Regenerate.
+
+2000-06-20 H.J. Lu <hjl@gnu.org>
+
+ * Makefile.am: Rebuild dependency.
+ * Makefile.in: Rebuild.
+
+2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function.
+ (elf_backend_copy_indirect_symbol): Map to the new function.
+
+2000-06-20 Alan Modra <alan@linuxcare.com.au>
+
+ * archive.c (normalize): Correct pointer comparison when checking
+ for backslashes.
+ (bfd_bsd_truncate_arname): Likewise.
+ (bfd_gnu_truncate_arname): Likewise.
+
+2000-06-20 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual
+ sections elf_{text,data}_{section,symbol}.
+ * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove.
+ (_bfd_mips_elf_hide_symbol): New function.
+ (elf_backend_hide_symbol): Map to the new function.
+ (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD
+ definitions of mips_elf_{text,data}_{section,symbol}.
+ (mips_elf_local_relocation_p): Try to find the direct symbol
+ based on new check_forced argument.
+ (mips_elf_calculate_relocation): Use new version of
+ mips_elf_local_relocation_p.
+ (mips_elf_relocate_section): Likewise.
+ (_bfd_mips_elf_relocate_section): Likewise.
+ (mips_elf_sort_hash_table): Only assert that have enough GOT
+ space.
+ (mips_elf_got16_entry): Match all 32 bits to the existing GOT
+ entry if the relocation based on the new external argument.
+ (mips_elf_create_dynamic_relocation): Assert that we have a
+ section contents allocated where we can swap out the dynamic
+ relocations.
+ (mips_elf_calculate_relocation): Find the real hash-table entry
+ correctly by using h->root.root.type. Only create a dynamic
+ relocation entry if the symbol is defined in a shared library.
+ Create an external GOT entry for the GOT16 relocation if the
+ symbol was forced local.
+ (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a
+ dynamic index if the symbol was forced local.
+
+2000-06-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * elf32-mips.c: Fix typos in comments.
+
+2000-06-19 Mark Kettenis <kettenis@gnu.org>
+
+ * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
+ CORE_VERSION_1.
+
+2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
+
+ * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild.
+ * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS,
+ BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files.
+ * configure.in (bfd_elf32_m68hc12_vec): Recognize.
+ (bfd_elf32_m68hc11_vec): Likewise.
+ * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11.
+ Supports 68hc11 & 68hc12 at the same time.
+ * targets.c (bfd_elf32_m68hc12_vec): Declare and put in
+ bfd_target_vector.
+ (bfd_elf32_m68hc11_vec): Likewise.
+ * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11.
+ * archures.c (bfd_m68hc12_arch): Define and register in global list
+ (bfd_m68hc11_arch): Likewise.
+ * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8,
+ BFD_RELOC_M68HC11_3B): Define.
+ * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support.
+ * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support.
+
+2000-06-18 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ * elf_bfd.h (struct elf_backend_data): Add info argument to
+ elf_backend_hide_symbol.
+ (_bfd_elf_link_hash_hide_symbol): Likewise.
+ * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
+ * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
+ * elflink.h (elf_link_add_object_symbols): Likewise.
+ (elf_link_assign_sym_version): Likewise.
+
+2000-06-18 H.J. Lu <hjl@gnu.org>
+
+ * coff-i386.c (coff_i386_reloc): Don't return in case of
+ output_bfd == (bfd *) NULL if COFF_WITH_PE is defined.
+ Compensate PE relocations when linking with non-PE object
+ files to generate a non-PE executable.
+
+2000-06-17 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write
+ GOT entries if we're doing a static link or -Bsymbolic link.
+
+2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
+
+ * elflink.h (elf_link_adjust_relocs): Check for and call backend
+ specifific swap_reloc_{in,out} and swap_reloca_{in,out} if
+ available.
+ (elf_link_output_relocs): Likewise.
+ (elf_reloc_link_order): Likewise.
+
+2000-06-16 Nicholas Duffek <nsd@redhat.com>
+
+ * archures.c (enum bfd_architecture): #define constants for
+ PowerPc and RS6000 machine numbers.
+ * bfd-in2.h: Regenerate.
+ * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
+ to bfd_arch_powerpc instead of bfd_arch_rs6000. Refer to PowerPc
+ and RS6000 machine numbers using #defined constants from
+ archures.c.
+ * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
+ machine numbers using #defined constants from archures.c. Add
+ entries for EC603e, 630, A35, RS64II, RS64III, 7400. Specify
+ 64-bit words in 620 entry.
+ * cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
+ RSC, and RS2.
+ (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).
+
+2000-06-16 Nicholas Duffek <nsd@cygnus.com>
+
+ * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
+ * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.
+ * libcoff.h (struct xcoff_tdata): Define xcoff64 field.
+
+2000-06-16 Nicholas Duffek <nsd@redhat.com>
+
+ * bfd-in.h (bfd_family_coff): Define.
+ * bfd-in2.h: Regenerate.
+ * coffgen.c (coff_count_linenumbers, coff_symbol_from,
+ coff_find_nearest_line): Check COFFness using bfd_family_coff()
+ instead of bfd_target_coff_flavour.
+ * cofflink.c (_bfd_coff_final_link): Likewise.
+ * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
+ exclude XCOFF files.
+ * reloc.c (bfd_perform_relocation, bfd_install_relocation):
+ Likewise.
+ * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
+ * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
+ * xcofflink.c (XCOFF_XVECP): Delete.
+ (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
+ bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
+ bfd_xcoff_record_link_assignment,
+ bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
+ check for bfd_target_xcoff_flavour.
+
+2000-06-16 Nicholas Duffek <nsd@redhat.com>
+
+ * rs6000-core.c: Support 64-bit core files, support pre-4.3 core
+ files on AIX 4.3.
+ (read_hdr): New function.
+ (rs6000coff_core_p): Store mstsave or __context64 struct instead
+ of trying to extract individual registers. Set abfd->arch_info
+ to match the architecture that created the core file.
+ (rs6000coff_get_section_contents): Delete.
+ * xcoff-target.h (rs6000coff_get_section_contents): Delete.
+
+2000-06-14 H.J. Lu <hjl@gnu.org>
+
+ * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
+ is NULL.
+
+2000-06-13 H.J. Lu <hjl@gnu.org>
+
+ * configure: Regenerate.
+
+2000-06-13 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of
+ armpei_little_vec.
+
+2000-06-08 David O'Brien <obrien@FreeBSD.org>
+
+ * configure.in (VERSION): Update to show this is the CVS mainline.
+
+2000-06-07 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-d10v.c: Include elf/d10v.h
+ (enum reloc_type): Delete.
+ * elf32-d30v.c: Include elf/d30v.h
+ (enum reloc_type): Delete.
+
+ * Makefile.am: Run "make dep-am" to regenerate dependencies.
+ * Makefile.in: Regenerate.
+
+ * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs.
+ (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
+ move HOWTOs into elf_howto_table.
+ (R_386_standard, R_386_ext_offset): Define.
+ (R_386_ext, R_386_vt_offset, R_386_vt): Define.
+ (elf_i386_reloc_type_lookup): Modify calculation of index into
+ elf_howto_table since we've removed the padding.
+ (elf_i386_info_to_howto_rel): Likewise.
+ (elf_i386_relocate_section): Likewise.
+
+2000-06-06 Michael Snyder <msnyder@seadog.cygnus.com>
+
+ * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.
+
+2000-06-05 H.J. Lu <hjl@gnu.org>
+
+ * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag
+ an error when seeing an undefined symbol with hidden/internal
+ attribute. It is handled in *_relocate_section ().
+
+2000-06-05 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_fix_symbol_flags): Follow the link for the
+ indirect symbol for the ELF_LINK_NON_ELF bit.
+ (elf_link_output_extsym): Don't output the indirect symbol even
+ if the ELF_LINK_NON_ELF bit is set.
+
+2000-06-01 J.T. Conklin <jtc@redback.com>
+
+ * config.bfd (i[3456]86-*-netbsdelf*): New target.
+ (i[3456]86-*-netbsdaout*): New target.
+ (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.
+ (i[3456]86-*-openbsd*): Likewise.
+
+2000-05-30 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * trad-core.c: From hpux-core.c, include <dirent.h> or
+ <sys/ndir.h> when possible.
+
+2000-05-31 Ulrich Drepper <drepper@redhat.com>
+
+ * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version
+ definitions. We must not assume they are sorted in the file
+ according to their index numbers.
+
+2000-05-31 Alan Modra <alan@linuxcare.com.au>
+
+ * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field
+ selector for R_PARISC_PCREL17R. R_PARISC_DIR17R and
+ R_PARISC_DIR17F are for absolute branches; Handle them as such.
+
+2000-05-30 Nick Clifton <nickc@cygnus.com>
+
+ * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB,
+ 80960CA, 80960MC as valid machine names.
+
+2000-05-30 H.J. Lu <hjl@gnu.org>
+
+ * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the
+ visibility bits if the symbol is undefined. Correctly handle
+ weak undefined symbols with hidden and internal attributes.
+
+ * elflink.h (elf_link_add_object_symbols): Always turn the
+ symbol into local if it has the hidden or internal attribute.
+
+2000-05-29 Philip Blundell <philb@gnu.org>
+
+ * ppcboot.c: Add packed attribute if compiling with GCC.
+
+2000-05-29 Anatoly Vorobey <mellon@pobox.com>
+
+ * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.
+
+2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
+
+ * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus,
+ elfcore_grok_psinfo): Add code to allow debugging a 32-bit
+ corefile on a 64-bit (Sparc Solaris) host. Also clean up
+ a few old comments.
+
+2000-05-26 Alan Modra <alan@linuxcare.com.au>
+
+ * Makefile.am: Update dependencies with "make dep-am"
+ * Makefile.in: Regenerate.
+
+ * sysdep.h (gettext, dgettext, dcgettext, textdomain,
+ bindtextdomain): Replace defines with those from intl/libgettext.h
+ to quieten gcc warnings.
+
+2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH.
+
+ * archive.c (normalize, bfd_bsd_truncate_arname,
+ bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support
+ file names with backslashes.
+
+ * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file
+ before opening it.
+
+ * sysdep.h: Include filenames.h.
+
+2000-05-26 Alan Modra <alan@linuxcare.com.au>
+
+ * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.
+
+2000-05-26 Jakub Jelinek <jakub@redhat.com>
+
+ * elf64-sparc.c (sparc64_elf_relax_section): New.
+ (sparc64_elf_relocate_section): Optimize tail call into branch always
+ if possible.
+ * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+ (elf32_sparc_relax_section): New.
+
+2000-05-26 Jakub Jelinek <jakub@redhat.com>
+
+ * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
+ Remove unusued variables.
+ (sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
+ (sparc64_elf_merge_private_bfd_data): Fix shared library case from
+ previous fix, so that shared libs really don't influence targets
+ extension mask and memory model.
+
+2000-05-23 H.J. Lu <hjl@gnu.org>
+
+ * elf64-alpha.c (elf64_alpha_relocate_section): Check
+ h->root.other not h->other.
+ * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
+
+ * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
+
+2000-05-23 H.J. Lu <hjl@gnu.org>
+
+ * elf32-i386.c (elf_i386_relocate_section): Don't allow the
+ undefined symbol with the non-default visibility attributes.
+ * elf-hppa.h (elf_hppa_relocate_section): Likewise.
+ * elf32-arm.h (elf32_arm_relocate_section): Likewise.
+ * elf32-i370.c (i370_elf_relocate_section): Likewise.
+ * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+ * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
+ * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
+ * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+ * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+ * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+ * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
+ * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+
+2000-05-22 Richard Henderson <rth@cygnus.com>
+
+ * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
+ PCREL22, PCREL64I. Zero size of special relocs.
+ (elf64_ia64_reloc_type_lookup): Likewise.
+ (USE_BRL, oor_brl, oor_ip): New.
+ (elf64_ia64_relax_section): New.
+ (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
+ (elf64_ia64_install_value): Likewise, plus PCREL21BI.
+ (elf64_ia64_relocate_section): Likewise.
+ (bfd_elf64_bfd_relax_section): New.
+ * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
+ (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
+ * bfd-in2.h, libbfd.h: Regenerate.
+
+2000-05-22 Nick Clifton <nickc@cygnus.com>
+
+ * configure.in : Add peigen.lo to MIPS PE targets.
+ * configure: Regenerate.
+
+2000-05-22 Momchil Velikov <velco@fadata.bg>
+
+ * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess
+ only if it is known for both input and output bfds. Separate
+ error message strings as in some languages, it may be necessary
+ to change more than one place in the string to change between
+ 'big' and 'little'.
+
+ * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline
+ endianess checks, call _bfd_generic_verify_endian_match() instead.
+
+ * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.
+
+ * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
+
+ * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify
+ endianess before checking bfd flavours.
+
+2000-05-22 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_link_output_extsym): Clear the visibility
+ field for symbols not defined locally.
+
+2000-05-18 Alan Modra <alan@linuxcare.com.au>
+
+ * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
+ re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
+ (hppa_rebuild_insn): Mask immediate bits here instead.
+ * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
+
+2000-05-18 Momchil Velikov <velco@fadata.bg>
+
+ * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting
+ relocs for an executable, ensure that they are virtual addresses.
+
+2000-05-18 Jeffrey A Law (law@cygnus.com)
+
+ * config.bfd (hppa*64*-*-hpux11*): New target triplet.
+
+2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
+ Rick Gorton <gorton@scrugs.lkg.dec.com>
+
+ * elflink.h: Add emitrelocations support: when enabled, relocation
+ information and relocation sections are put into final output
+ executables. If the emitrelocations flag is set, do the following:
+ (elf_bfd_final_link): Emit relocation sections.
+ (elf_link_input_bfd): Compute relocation section contents.
+ (elf_gc_sections): Don't clean relocation sections.
+
+2000-05-16 Catherine Moore <clm@cygnus.com>
+
+ * som.c (som_decode_symclass): Recognize weak symbols.
+
+2000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com>
+
+ * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
+ read idata section only from dataoff.
+ (pe_print_edata): Correctly check for valid eat_member.
+
+2000-05-16 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
+
+2000-05-14 Philip Blundell <philb@gnu.org>
+
+ * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.
+
+2000-05-12 Alan Modra <alan@linuxcare.com.au>
+
+ * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
+
+ * peigen.c (pe_print_idata): Look for .idata section and print
+ info even if data directory has zero entries. Read idata section
+ starting from dataoff, and adjust all data offsets to suit. Cast
+ all bfd_vma vars to unsigned long before passing to fprintf.
+ * peigen.c (pe_print_edata): Similarly, look for .edata section
+ and print info even if data directory has zero entries. Cast
+ all bfd_vma vars to unsigned long before passing to fprintf.
+
+ From Szabolcs Szakacsits <szaka@F-Secure.com>
+ * peigen.c (pe_print_idata): Use bfd_section_size rather than data
+ directory size which may be bogus.
+ * peigen.c (pe_print_edata): Similarly.
+
+2000-05-09 Alan Modra <alan@linuxcare.com.au>
+
+ * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela
+ section is empty.
+ (copy_private_bfd_data): Allow for space possibly taken up by elf
+ headers when calculating segment physical address from lma.
+
+2000-05-08 Alan Modra <alan@linuxcare.com.au>
+
+ * versados.c (versados_scan): Init stringlen and pass_2_done.
+
+ * trad-core.c (trad_unix_core_file_p): Return
+ bfd_error_wrong_format rather than bfd_error_file_truncated.
+
+ * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
+ add_data_entry. DataDirectory virtual address is relative.
+ (pe_print_idata): Account for relative DataDirectory virtual
+ addresses. Don't trash datasize inside POWERPC_LE_PE code.
+ (pe_print_edata): Similarly.
+
+ From Szabolcs Szakacsits <szaka@F-Secure.com>
+ * peigen.c (dir_names): Add Delay Import Directory.
+ (pe_print_idata): Always search for bfd section containing
+ idata address rather than looking up section name. Print this
+ section name rather than .idata.
+ (pe_print_edata): Similarly. Also print some fields as %08lx.
+ (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
+ Win32Version.
+
+2000-05-05 Clinton Popetz <cpopetz@cygnus.com>
+
+ * xcoff.h: Rename to xcoff-target.h
+ * Makefile.am: Change all instances of xcoff.h to xcoff-target.h
+ * coff-rs6000.c: Ditto.
+ * coff64-rs6000.c: Ditto.
+ * coff-pmac.c: Ditto.
+ * Makefile.in: Regenerate.
+
+2000-05-05 Clinton Popetz <cpopetz@cygnus.com>
+
+ * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
+ Change U802TOC64MAGIC to U803XTOCMAGIC.
+
+2000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
+
+ * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
+ * bfd-in.h: Prototype bfd_elf_get_arch_size.
+ * bfd-in2.h: Prototype bfd_elf_get_arch_size.
+
+2000-05-04 Alan Modra <alan@linuxcare.com.au>
+
+ * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
+
+2000-05-03 Martin v. L\81öwis <loewis@informatik.hu-berlin.de>
+
+ * elflink.h (elf_link_add_object_symbols): Reset dynindx for
+ hidden and internal symbols.
+ (elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with
+ visibility.
+ * elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not
+ assign a PLT or GOT entry to symbols with hidden and
+ internal visibility.
+
+2000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add entry for
+ the .bss section.
+ * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
+
+2000-05-02 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (prep_headers): Use ELFOSABI_NONE instead of
+ ELFOSABI_SYSV.
+
+2000-05-02 Alan Modra <alan@linuxcare.com.au>
+
+ * targets.c (bfd_target_vector): Restore bfd_elf32_hppa_vec.
+ * Makefile.am (BFD32_BACKENDS): Restore elf32-hppa.lo. Regenerate
+ dependencies.
+ * Makefile.in: Regenerate.
+
+2000-05-01 Jim Wilson <wilson@cygnus.com>
+
+ * Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo.
+ (BFD32_BACKENDS_CFILES): Add efi-app-ia32.c.
+ (BFD64_BACKENDS): Delete coff-ia64.lo. Add efi-app-ia64.lo.
+ (BFD64_BACKENDS_CFILES): Delete coff-ia64.c. Add efi-app-ia64.c.
+ * Makefile.in: Rebuild.
+
+2000-05-02 Alan Modra <alan@linuxcare.com.au>
+
+ * config.bfd: Re-enable elf32-hppa. It now compiles, even if it
+ doesn't work very well.
+
+ * elf-hppa.h (elf_hppa_internal_shdr): Define.
+ (elf_hppa_fake_sections): hdr is elf_hppa_internal_shdr.
+ Set hdr->s_type to 1 if ARCH_SIZE == 32.
+ (_bfd_elf_hppa_gen_reloc_type): Add prototype.
+ (elf_hppa_info_to_howto): Likewise.
+ (elf_hppa_info_to_howto_rel): Likewise.
+ (elf_hppa_reloc_type_lookup): Likewise.
+ (elf_hppa_is_local_label_name): Likewise.
+ (elf_hppa_fake_sections): Likewise.
+ (elf_hppa_final_write_processing): Likewise.
+ (elf_hppa_howto_table): Fully initialise all entries.
+ (_bfd_elf_hppa_gen_reloc_type): Add ATTRIBUTE_UNUSED to args.
+ (elf_hppa_info_to_howto): Likewise.
+ (elf_hppa_info_to_howto_rel): Likewise.
+ (elf_hppa_reloc_type_lookup): Likewise.
+ (elf_hppa_final_write_processing, elf_hppa_add_symbol_hook,
+ elf_hppa_unmark_useless_dynamic_symbols,
+ elf_hppa_remark_useless_dynamic_symbols,
+ elf_hppa_record_segment_addrs, elf_hppa_final_link,
+ elf_hppa_relocate_section, elf_hppa_final_link_relocate,
+ elf_hppa_relocate_insn): Compile only if ARCH_SIZE == 64 until
+ elf32-hppa.c mess is cleaned up.
+ (elf_hppa_final_link_relocate): Make insn and r_type unsigned
+ int. Delete r_field. In case R_PARISC_PCREL21L, don't set
+ r_field then call hppa_field_adjust inline func with variable
+ r_field arg, instead call hppa_field_adjust with fixed arg.
+ In case R_PARISC_PCREL22F, don't set r_field.
+ (elf_hppa_relocate_insn): Change args and return type to unsigned
+ int. Call re_assemble_* funcs to do the work.
+
+ * elf32-hppa.c (hppa_elf_relocate_insn): Don't assume 32 bit when
+ sign extending.
+
+ * libhppa.h (HPPA_R_CONSTANT): Don't assume 32 bit when sign
+ extending.
+ (sign_extend): Mask first before sign extending.
+ (low_sign_extend): Rewrite without condition expression.
+ (ones, dis_assemble_3, dis_assemble_12, dis_assemble_16,
+ dis_assemble_17, dis_assemble_21, dis_assemble_22): Delete.
+ (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a,
+ assemble_17, assemble_21, sign_unext, low_sign_unext): Return
+ result as function return value rather than through pointer arg.
+ Accept unsigned int args, and return unsigned int.
+ (re_assemble_3): New. Combines function of dis_assemble_3 with
+ re-assembly of opcode and immediate.
+ (re_assemble_12): Likewise.
+ (re_assemble_16): Likewise.
+ (re_assemble_17): Likewise.
+ (re_assemble_21): Likewise.
+ (re_assemble_22): Likewise.
+ (hppa_field_adjust): Rewrite and document, paying attention to
+ size of types and signed/unsigned issues.
+ (get_opcode): Shift before masking.
+ (FDLW): Rename to FLDW.
+ (bfd_hppa_insn2fmt): Change arg to unsigned int. Delete fmt.
+ (hppa_rebuild_insn): Change args and return value to unsigned
+ int. Make use of re_assemble_*. Correct case 11.
+
+ * dep-in.sed: Handle ../opcodes/.
+ * Makefile.am (SOURCE_HFILES): Add elf-hppa.h, elf32-hppa.h,
+ elf64-hppa.h, hppa_stubs.h, xcoff.h.
+ (BFD32_BACKENDS_CFILES): Restore elf32-hppa.c.
+ Remove elf64-hppa.lo, cpu-ia64.lo, elf64-ia64.lo, elfarm-oabi.lo,
+ elfarm-nabi.lo dependencies outside of auto-dependency area.
+ Regenerate dependencies.
+ * Makefile.in: Regenerate.
+
+ * configure.in (TRAD_HEADER): Test non-null before
+ AC_DEFINE_UNQUOTED.
+ * configure: Regenerate.
+
+ * reloc.c: Fix mis-spelling in comment.
+
+2000-05-01 Alan Modra <alan@linuxcare.com.au>
+
+ * coff-sh.c (bfd_coff_small_swap_table): Fix Fri Apr 28 change.
+ * vms.c (vms_openr_next_archived_file): Return NULL.
+
+2000-04-28 Clinton Popetz <cpopetz@cygnus.com>
+
+ * coffcode.h Copy changes mistakenly done to libcoff.h in
+ 4/24/2000 patch.
+
+2000-04-29 Andreas Jaeger <aj@suse.de>
+
+ * libbfd-in.h: Correctly check GCC version.
+ * bfd-in.h: Likewise.
+ * libhppa.h: Likewise.
+ * libbfd.h: Regenerate.
+ * bfd-in2.h: Regenerate.
+
+2000-04-28 Clinton Popetz <cpopetz@cygnus.com>
+
+ * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add
+ coffdu-rs6000.{lo,c}.
+ (coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency
+ on xcoff.h
+ * Makefile.in: Regenerate.
+ * xcoff.h: New file.
+ * coff-pmac.c: Use xcoff.h instead of coff-rs6000.c.
+ * coff-rs6000.c: Move all declarations and defines that are
+ common to the xcoff backends into xcoff.h
+ * coff64-rs6000.c: Ditto,
+
+2000-04-28 Clinton Popetz <cpopetz@cygnus.com>
+
+ * coff-mips.c (mips_ecoff_backend_data): Add initialization of
+ _bfd_coff_force_symnames in strings and
+ _bfd_coff_debug_string_prefix_length to their default values.
+ * coff-sh.c: (bfd_coff_small_swap_table): Ditto.
+
+2000-04-28 Clinton Popetz <cpopetz@cygnus.com>
+
+ * coff-alpha.c (alpha_ecoff_backend_data): Add initialization of
+ _bfd_coff_force_symnames in strings and
+ _bfd_coff_debug_string_prefix_length to their default values.
+
+2000-04-27 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return if dynobj NULL.
+ Check local_got_refcounts before dereferencing.
+
+ * elf32-ppc.c (ppc_elf_relocate_section): Check splt != NULL
+ before deciding we don't need R_PPC_PLT32 relocation.
+ (ppc_elf_gc_sweep_hook): Check local_got_refcounts before
+ dereferencing.
+
+ * elflink.h (elf_gc_common_finalize_got_offsets): Fix comment.
+
+ * elf32-i386.c (elf_i386_check_relocs): Reference count .got and
+ .plt entries.
+ (elf_i386_gc_sweep_hook): Garbage collect .got and .plt entries.
+ (elf_i386_adjust_dynamic_symbol): Recognize unused .plt entries.
+ (elf_i386_relocate_section): Allow for .plt to go missing.
+ (elf_i386_finish_dynamic_symbol): Use same test to decide if we
+ can use a relative reloc for got as elf_i386_relocate_section.
+ (bfd_elf32_bfd_final_link): Define to use gc form of final link.
+
+2000-04-26 Clinton Popetz <cpopetz@cygnus.com>
+
+ * config.bfd: Remove extraneous bfd_powerpc_64_arch.
+
+2000-04-24 Clinton Popetz <cpopetz@cygnus.com>
+
+ * Makefile.am (coff64-rs6000.lo): New rule.
+ * Makefile.in: Regenerate.
+ * coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,
+ xcoff_is_local_label_name, xcoff_rtype2howto,
+ xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,
+ xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,
+ xcoff_write_archive_contents): No longer static, and prefix with _bfd_.
+ (NO_COFF_SYMBOLS): Define.
+ (xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,
+ xcoff64_swap_aux_out): New functions; handle xcoff symbol tables
+ internally.
+ (MINUS_ONE): New macro.
+ (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS
+ relocation.
+ (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in,
+ coff_SWAP_aux_out): Map to the new functions.
+ * coff64-rs6000.c: New file.
+ * libcoff.h (bfd_coff_backend_data): Add new fields
+ _bfd_coff_force_symnames_in_strings and
+ _bfd_coff_debug_string_prefix_length.
+ (bfd_coff_force_symnames_in_strings,
+ bfd_coff_debug_string_prefix_length): New macros for above fields.
+ * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.
+ Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead
+ of using coff_swap_sym_in directly.
+ (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.
+ (coff_set_flags) Set magic for XCOFF64.
+ (coff_compute_section_file_positions): Add symbol name length to
+ string section length if bfd_coff_debug_string_prefix_length is
+ true.
+ (coff_write_object_contents): Don't do reloc overflow for XCOFF64.
+ (coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of
+ using coff_swap_lineno_in directly.
+ (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings
+ and _bfd_coff_debug_string_prefix_length fields.
+ * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force
+ symbol names into strings table when
+ bfd_coff_force_symnames_in_strings is true.
+ * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,
+ SET_RELOC_VADDR): New macros.
+ (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.
+ (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C
+ code.
+ (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64
+ changes within RS6000COFF_C specific code.
+ (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC,
+ MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.
+ * reloc.c (bfd_perform_relocation, bfd_install_relocation):
+ Extend existing hack on target name.
+ * xcofflink.c (XCOFF_XVECP): Extend existing hack on
+ target name.
+ * coff-tic54x.c (ticof): Keep up to date with new fields
+ in bfd_coff_backend_data.
+ * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
+ targ_selvecs to include rs6000coff64_vec for rs6000.
+ * configure.in: Add rs6000coff64_vec case.
+ * cpu-powerpc.c: New bfd_arch_info_type.
+
+2000-04-24 Jeffrey A Law (law@cygnus.com)
+
+ * config.bfd: Only disable elf32-hppa vectors, not all of the
+ BSD and OSF configuration support. Provide (disabled) clauses
+ for PA64 support.
+ * configure.in: Add clause for PA64 support.
+ * configure: Rebuilt.
+
+ * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
+ (bfd_elf64_hppa_vec): Declare.
+
+ * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
+ (BFD64_BACKENDS_CFILES): Add elf64-hppa.c
+ (elf64-hppa.lo): Add dependencies.
+ * Makefile.in: Rebuilt.
+
+ * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.
+
+2000-04-24 Jason Eckhardt <jle@cygnus.com>
+
+ * libhppa.h (dis_assemble_16): New function.
+ (pa_arch): Added pa20w element.
+
+2000-04-24 Ulrich Drepper <drepper@cygnus.com>
+
+ * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
+ bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and
+ bfd_elf64_slurp_reloc_table.
+
+ * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New
+ definitions to get external names.
+ (elf_write_relocs): Renamed from write_relocs and make global.
+ (elf_slurp_reloc_table): Make global.
+ (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.
+
+ * archive.c (hpux_uid_gid_encode): New function.
+ (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is
+ defined and the ID is greater than 99999.
+ (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode
+ special uid/gid fields into 32 bit values.
+
+2000-04-21 Matthew Green <mrg@cygnus.com>
+
+ * config.bfd: Add NetBSD/sparc64 support.
+
+Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
+ David Mosberger <davidm@hpl.hp.com>
+ Timothy Wall <twall@cygnus.com>
+ Jim Wilson <wilson@cygnus.com>
+
+ * Makefile.am (ALL_MACHINES): Add cpu-ia64.lo.
+ (ALL_MACHINES_CFILES): Add cpu-ia64.c.
+ (BFD64_BACKENDS): Add elf64-ia64.lo.
+ (BFD64_BACKENDS_CFILES): Add elf64-ia64.c.
+ (cpu-ia64.lo, elf64-ia64.lo): New rules.
+ * Makefile.in: Rebuild.
+ * archures.c (enum bfd_architecture): Add bfd_arch_ia64.
+ (bfd_ia64_arch): Declare.
+ (bfd_archures_list): Add bfd_ia64_arch.
+ * bfd-in2.h: Rebuild.
+ * config.bfd: (ia64*-*-linux-gnu*, ia64*-*-elf*): New targets.
+ * configure: Rebuild.
+ * configure.host: (ia64-*-linux*): New host.
+ * configure.in (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec,
+ bfd_efi_app_ia64_vec, bfd_efi_app_ia64_vec): New vectors.
+ * elf.c (prep_headers): Add bfd_arch_ia64.
+ * libbfd.h: Rebuild.
+ * reloc.c: Add IA-64 relocations.
+ * targets.c (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec):
+ Declare.
+ (bfd_target_vect): Add bfd_elf64_ia64_little_vec.
+ * cpu-ia64-opc.c, cpu-ia64.c, elf64-ia64.c: New files.
+
+2000-04-21 Richard Henderson <rth@cygnus.com>
+
+ * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section
+ contents when performing a partial link.
+ (bfd_elf_d30v_reloc_21): Likewise.
+
+2000-04-20 H.J. Lu <hjl@gnu.org>
+
+ * elf32-i386.c (elf_i386_relocate_section): Restrict 1998-12-10
+ patch to symbols defined by a shared object.
+ * elf32-ppc.c (ppc_elf_relocate_section): Similarly.
+
+2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ K&R compiler fixes.
+ * dwarf2.c (concat_filename): Avoid string literal concatenation.
+ * ieee.c (ieee_get_symtab): Don't initialise union in struct.
+
+Mon Apr 17 19:14:36 2000 David Mosberger <davidm@hpl.hp.com>
+
+ * Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo.
+ (BFD64_BACKENDS_CFILES): Mention coff-ia64.c
+ (coff-ia64.lo): Add dependency.
+ * Makefile.in: Regenerate.
+ * coff-ia64.c: New file.
+ * efi-app-ia32.c: Ditto.
+ * efi-app-ia64.c: Ditto.
+ * coffcode.h (coff_set_arch_mach_hook): Handle IA64MAGIC.
+ (coff_set_flags): Ditto.
+ (coff_write_object_contents) [IA64]: Set magic number to ZMAGIC.
+ * config.bfd (i[3456]86-*-linux-gnu*): Mention bfd_efi_app_ia32_vec.
+ * configure.in (elf): Handle bfd_efi_app_ia32 and bfd_efi_app_ia64_vec.
+ * configure: Regenerate.
+ * libpei.h (GET_OPTHDR_IMAGE_BASE): New macro.
+ (PUT_OPTHDR_IMAGE_BASE): Ditto.
+ (GET_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto.
+ (PUT_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto.
+ (GET_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto.
+ (PUT_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto.
+ (GET_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto.
+ (PUT_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto.
+ (GET_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto.
+ (PUT_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto.
+ (GET_PDATA_ENTRY): Ditto.
+ * peigen.c (_bfd_pei_swap_aouthdr_in) [COFF_WITH_PEP64]: Don't read
+ data_start. Use above macros to read fields that are 64 bit wide for
+ COFF_WITH_PEP64. Don't truncate entry and text_start to 32 bits.
+ (_bfd_pei_swap_aouthdr_out) [PEI_FORCE_MINIMUM_ALIGNMENT]: Force
+ FileAlignment and SectionAlignment to minimum alignment if they
+ are zero.
+ (_bfd_pei_swap_aouthdr_out) [PEI_DEFAULT_TARGET_SUBSYSTEM]: Set
+ Subsystem to default PEI_DEFAULT_TARGET_SUBSYSTEM.
+ (_bfd_pei_swap_aouthdr_out) [COFF_WITH_PEP64]: Don't set data_start.
+ Use above macros to write fields that are 64 bit wide for
+ COFF_WITH_PEP64.
+ (pe_print_pdata): Set PDATA_ROW_SIZE to 3*8 for COFF_WITH_PEP64,
+ 5*4 otherwise. This should be right for IA-32 and IA-64, but may
+ be wrong for platforms. Use PDATA_ROW_SIZE instead of hardcoded
+ value of 20 bytes. Modify printing for COFF_WITH_PEP64 to print
+ begin address, end address, and unwind info address only. Use
+ GET_PDATA_ENTRY() to read .pdata entries. Use fprintf_vma() to
+ print addresses.
+ (tbl): Add SECTION, REL32, RESERVED1, MIPS_JMPADDR16, DIR64, and
+ HIGH3ADJ relocation names.
+ (_bfd_pe_print_private_bfd_data): Print Subsystem name in legible form.
+ * targets.c: Declare bfd_efi_app_ia32_vec and
+ bfd_efi_app_ia64_vec.
+ (bfd_target_vector): Mention bfd_efi_app_ia32_vec and
+ bfd_efi_app_ia64_vec.
+
+2000-04-17 Timothy Wall <twall@cygnus.com>
+
+ * bfd-in2.h: Add prototypes for tic54x load page access.
+ * bfd-in.h: Regenerate.
+ * coff-tic54x.c: Add load page functions; allow bfd_arch_unknown
+ in customized _set_arch_mach function.
+ * coffcode.h (coff_set_alignment_hook): Set section load page if
+ the appropriate macro is defined.
+ (write_object_contents): Read section load page.
+
+2000-04-13 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-hppa.h: Update copyright date.
+
+ * elf32-fr30.c (fr30_elf_i20_reloc): Don't use U suffix.
+ * elf32-mips.c (_bfd_mips_elf_relocate_section): And here.
+
+ * elf32-d30v.c (MAX32): Don't use LL suffix.
+ (MIN32): Define in terms of MAX32.
+ (bfd_elf_d30v_reloc): Make relocation a bfd_signed_vma.
+
+ * coff-a29k.c (SIGN_EXTEND_HWORD): Replace with more concise
+ expression.
+
+ * peicode.h (pe_ILF_build_a_bfd): Remove UL from hex constants.
+
+2000-04-12 Alan Modra <alan@linuxcare.com.au>
+
+ * dep-in.sed: Match space before file name, not after.
+ * Makefile.am: Regenerate dependencies.
+ * Makefile.in: Regenerate.
+
+ * reloc.c (_bfd_relocate_contents): In complain_overflow_bitfield
+ case, allow address wrap-around stupidly removed 2000-03-17. Sign
+ extend without an if statement.
+
+2000-04-11 Alan Modra <alan@linuxcare.com.au>
+
+ * coff-mips.c (mips_gprel_reloc): Test for 16 bit range using
+ signed quantites.
+ * elf32-mips.c (gprel16_with_gp): Likewise.
+ * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Test range
+ here using -0x40000, not (int)0xfffc0000.
+ (elf32_hppa_size_of_stub): Likewise.
+
+2000-04-11 Timothy Wall <twall@cygnus.com>
+
+ * coff-tic54x.c: Now builds with all targets.
+ * Makefile.am: Add coff/tic54x.h to coff-tic54x.o dependencies.
+ * Makefile.in: Regenerate.
+ * coffcode.h (coff_set_arch_mach_hook): Eliminate warning on
+ unitialized variable.
+
+Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
+ --enable-build-warnings option.
+ * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
+ * Makefile.in, configure: Re-generate.
+
+2000-04-07 Nick Clifton <nickc@cygnus.com>
+
+ * reloc.c: Add BFD_RELOC_ARM_PCREL_BLX and
+ BFD_RELOC_THUMB_PCREL_BLX.
+
+ * elf32-arm.h (elf32_arm_final_link_relocate): Handle
+ R_ARM_XPC25 and R_ARM_THM_PC22.
+
+ * elfarm-nabi.c (elf32_arm_howto_): Fix definitions of
+ R_ARM_XPC25 and R_ARM_THM_XPC22.
+ (elf32_arm_reloc_map): Make BFD_RELOC_{ARM|THUMB}_PCREL_BLX to
+ R_ARM_[XPC25|THM_XPC22].
+
+ * elfarm-oabi.c: Define OLD_ARM_ABI and change include from
+ elf/arm-oabi.h to elf/arm.h
+
+ * Makefile.am: Fix dependency for elfarm-oabi.c
+ * Makefile.in: Regenerate.
+
+ * bfd-in2.h: Regenerate.
+ * libbfd.h: Regenerate.
+
+2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>
+
+ * elfcore.h (elf_core_file_p): preserve value of tdata at entry,
+ and restore it on failure. Release newly allocated tdata on
+ failure.
+
+Fri Apr 7 11:33:47 2000 Jim Wilson <wilson@cygnus.com>
+
+ * dwarf2.c (struct dwarf2_debug): New field dwarf_line_size.
+ (decode_line_info): Set it. Report error if unit->line_offset is
+ equal to or larger than it.
+
+2000-04-07 Timothy Wall <twall@cygnus.com>
+
+ * targets.c: Added vecs for tic54x.
+ * reloc.c: Added relocs for tic54x.
+ * libbfd.h: Regenerated.
+ * configure: Add TI COFF vecs for tic54x.
+ * configure.in: Ditto.
+ * config.bfd (targ_cpu): Recognize new tic54x target.
+ * coffcode.h (coff_slurp_symbol_table): Additions for TI COFF handling.
+ * bfd-in2.h: Add tic54x target and relocations.
+ * Makefile.am, Makefile.in: Add tic54x target.
+ * archures.c (bfd_archures_list): Add tic54x target.
+ * coff-tic54x.c: New.
+ * cpu-tic54x.c: New.
+
+2000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>
+
+ * elfcore.h (elf_core_file_p): call backend_object_p which
+ thereby gets an opportunity to update the arch/machine type.
+
+2000-04-06 Timothy Wall <twall@cygnus.com>
+
+ * coffcode.h (coff_slurp_symbol_table): Handle C_STATLAB storage
+ class. Handle SEC_CLINK and SEC_BLOCK flags.
+ * section.c: Add SEC_CLINK and SEC_BLOCK flags.
+ * bfd-in2.h: Add SEC_CLINK and SEC_BLOCK flags.
+
+2000-04-06 Nick Clifton <nickc@cygnus.com>
+
+ * elf32-arm.h (elf32_arm_set_private_flags): Only check for
+ EF_INTERWORK if this is an unknown EABI.
+ (elf32_arm_merge_private_bfd_data): Check EABI version
+ numbers. Only check EF_xxx flags if the EABI version number
+ is unknown.
+ (elf32_arm_check_private_bfd_data): Only check EF_xxx flags
+ if the EABI version number is unknown.
+ (elf32_arm_print_private_bfd_data): Only decode EF_xxx flags
+ if the EABI version number is unknown.
+
+Wed Apr 5 22:04:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
+ BFD_RELOC_SH_LOOP_END.
+ * elf32-sh.c (sh_elf_howto_tab): Change special_func to
+ sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
+ Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
+ (sh_elf_reloc_loop): New function.
+ (sh_elf_reloc): No need to test for always-to-be-ignored relocs
+ any more.
+ (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
+ (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
+ * bfd-in2.h, libbfd.h: Regenerate.
+
+2000-04-04 Alan Modra <alan@linuxcare.com.au>
+
+ * po/bfd.pot: Regenerate.
+
+ * Makefile.am: Remove extraneous mkdep comment.
+ (MKDEP): Use gcc -MM rather than mkdep.
+ (DEP): Quote when passing vars to sub-make. Add warning
+ message to end.
+ (DEP1): Rewrite for "gcc -MM".
+ (CLEANFILES): Add DEP2.
+ Update dependencies.
+ * Makefile.in: Regenerate.
+
+2000-04-03 Kevin Buettner <kevinb@redhat.com>
+
+ * configure.in: Added corefile support for AIX 4.3. In particular,
+ AIX_CORE_DUMPX_CORE will be defined in addition to AIX_CORE when
+ compiling rs6000-core.c.
+ * configure: Regenerated.
+
+2000-04-03 H.J. Lu <hjl@gnu.org>
+
+ * cache.c (bfd_open_file): Unlink the output file only if
+ it has non-zero size.
+
+2000-04-01 Ken Block USG <block@zk3.dec.com>
+
+ * elf64-alpha.c (elf64_alpha_relocate_section): Don't emit
+ relative relocations for non-loaded sections in shared objects.
+ (elf64_alpha_check_relocs): Similarly.
+
+Mon Apr 3 13:37:15 2000 Hans-Peter Nilsson <hp@axis.com>
+
+ * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
+ BFD_RELOC_16 to switch for extended relocs.
+ (MY_swap_ext_reloc_in): New.
+ (MY_swap_ext_reloc_out): New.
+ (NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather
+ than NAME(aout,swap_ext_reloc_in) for extended relocs.
+ (NAME(aout,squirt_out_relocs)): Similarly use
+ MY_swap_ext_reloc_out.
+ (aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.
+
+2000-04-03 Kazu Hirata <kazu@hxi.com>
+
+ * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
+ the R_PCRWORD_B case.
+
+2000-03-31 Thomas de Lellis <tdel@wrs.com>
+
+ * srec.c : Set CHUNK size to 16 bytes to prevent download failures
+ on some targets.
+ * ihex.c : Ditto.
+
+Wed Mar 30 15:28:00 2000 Donald Lindsay <dlindsay@cygnus.com>
+
+ * elf32-m32r.c (m32r_elf_generic_reloc): new function. All
+ HOWTO references to bfd_elf_generic_reloc, that have
+ partial_inplace == true, now use the new function. The function
+ is based on the recent rewrite of m32r_elf_lo16_reloc(), and
+ extends its fixes to the R_M32R_{16,24,32} relocs.
+ The new logic in m32r_elf_lo16_reloc() has been removed, and
+ it instead calls the new routine to obtain that functionality.
+
+2000-03-27 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-avr.c (elf32_avr_gc_mark_hook, elf32_avr_gc_sweep_hook,
+ elf32_avr_check_relocs, avr_final_link_relocate,
+ elf32_avr_relocate_section, bfd_elf_avr_final_write_processing,
+ elf32_avr_object_p): Add prototypes.
+ (elf32_avr_gc_mark_hook): Add default for h->root.type.
+ (bfd_elf_avr_final_write_processing): Make static.
+
+2000-03-27 Denis Chertykov <denisc@overta.ru>
+
+ * cpu-avr.c: New file. BFD support routines for AVR architecture.
+ * archures.c (bfd_architecture): Add AVR architecture.
+ (bfd_archures_list): Add reference to AVR architecture info.
+ * elf.c (prep_headers): Handle bfd_arch_avr.
+ * reloc.c: Add various AVR relocation enums.
+ * targets.c (bfd_elf32_avr_vec): Declare and add to target vector
+ list.
+ * Makefile.am: Add support for AVR elf.
+ * configure.in: Likewise.
+ * config.bfd: Likewise.
+ * Makefile.in: Regenerate.
+ * configure: This too.
+ * bfd-in2.h: And this.
+ * libbfd.h: And this.
+
+2000-03-24 H.J. Lu <hjl@gnu.org>
+
+ * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Add prototype.
+ (elf64_alpha_find_reloc_at_ofs): Likewise.
+
+2000-03-17 Alan Modra <alan@linuxcare.com.au>
+
+ * reloc.c (bfd_check_overflow): In case complain_overflow_bitfield,
+ flag an overflow if the bitfield is outside -2**n to 2**n-1. The
+ allowable range used to be -2**(n-1) to 2**n-1.
+ * reloc.c (_bfd_relocate_contents): Same here. Also replace
+ "boolean overflow" with "bfd_reloc_status_type flag".
+
+2000-03-14 Doug Evans <dje@casey.transmeta.com>
+
+ * elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite.
+
+2000-03-14 Kazu Hirata <kazu@hxi.com>
+
+ * reloc16.c (bfd_coff_reloc16_relax_section): Count the total number
+ of shrinks properly, including the last reloc.
+
+2000-03-13 Kazu Hirata <kazu@hxi.com>
+
+ * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity
+ check for R_MOVL2.
+
+2000-03-11 Alan Modra <alan@linuxcare.com.au>
+
+ * ieee.c (ieee_archive_p): Return bfd_error_wrong_format on
+ a format mismatch rather than an "error" from bfd_read such as
+ bfd_error_file_truncated.
+
+2000-03-10 Geoff Keating <geoffk@cygnus.com>
+
+ * elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper
+ sign-extension and big-endian compensation for
+ R_MIPS_64 even in ld -r.
+
+2000-03-10 Geoffrey Keating <geoffk@cygnus.com>
+
+ * elf32-mips.c (mips_elf_next_relocation): Rename from
+ mips_elf_next_lo16_relocation, and generalize to look
+ for any relocation type.
+ (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
+ (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
+ (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
+ (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
+ (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
+ (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
+ (bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
+ (mips_rtype_to_howto): Likewise.
+ (mips_elf_calculate_relocation): Handle new relocs.
+ (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
+ are paired. The addend for R_MIPS_GNU_REL16_S2
+ is shifted right two bits.
+
+2000-03-10 Alan Modra <alan@linuxcare.com.au>
+
+ * reloc.c (bfd_perform_relocation): Undo emacs formatting of
+ comment, and ensure it doesn't happen again.
+ (bfd_install_relocation): Same here.
+ (_bfd_relocate_contents): Don't bother assigning unused signmask
+ shift result. Fix typos in comments.
+ Remove trailing whitespace throughout file.
+
+2000-03-07 Doug Evans <dje@casey.transmeta.com>
+
+ * reloc.c (reloc_howto_struct): Fix partial_inplace comment.
+ * bfd-in2.h: Rebuild.
+
+2000-03-06 Nick Clifton <nickc@cygnus.com>
+
+ * peicode.h (struct pe_ILF_vars): Add sym_ptr_table and
+ sym_ptr_ptr fields.
+ (SIZEOF_ILF_SYM_PTR_TABLE): Define.
+ (SIZEOF_ILF_STRINGS): Redefine.
+ (pe_ILF_make_a_symbol-reloc): New function. Creates a symbol
+ relative reloc, as opposed to a section relative reloc.
+ (pe_ILF_make_a_symbol): Set the class of local symbols to C_STAT
+ not C_LABEL.
+ Add length of symbol's prefix to string pointer.
+ Store a pointer to the symbol in the symbol pointer table.
+ (pe_ILF_build_a_bfd): Do not build .idata$2 or .idata$7.
+ Initialise the symbol pointer table.
+ Store the hint in the Hint/Name table.
+ Make the jump reloc be symbol realtive, not section relative.
+ Create an import symbol for imported code.
+
+2000-03-06 Catherine Moore <clm@cygnus.com>
+
+ * elf.c (swap_out_syms): Check for null type_ptr.
+
+2000-03-01 Hans-Peter Nilsson <hp@axis.com>
+
+ * aout-target.h (MY(write_object_contents)): Remove unused
+ and unusable "#if CHOOSE_RELOC_SIZE".
+ * pc532-mach.c (MY(write_object_contents)): Ditto.
+ * netbsd.h (MY(write_object_contents)): Ditto.
+ * hp300hpux.c (MY(write_object_contents)): Ditto.
+ * freebsd.h (MY(write_object_contents)): Ditto.
+ * aout-tic30.c (tic30_aout_write_object_contents): Ditto.
+
+2000-02-29 H.J. Lu <hjl@gnu.org>
+
+ * peicode.h (jtab): Make it static.
+
+ * coff-sh.c (sh_align_load_span): Declared if COFF_WITH_PE is
+ defined and COFF_IMAGE_WITH_PE is not defined.
+ (_bfd_sh_align_load_span): Defined as sh_align_load_span if
+ COFF_WITH_PE is defined and COFF_IMAGE_WITH_PE is not defined.
+
+2000-03-01 Nick Clifton <nickc@cygnus.com>
+
+ * coff-arm.c (bfd_arm_process_before_allocation): Make
+ 'symndx' signed to prevent compile time warning.
+
+ * coff-mcore.c: Remove unused prototype for pe_object_p.
+
+ * coff-sh.c: Add "#ifndef COFF_IMAGE_WITH_PE" around static
+ functions that are not used when COFF_IMAGE_WITH_PE is
+ defined.
+ (struct sh_opcode): Change type of 'flags' field to unsigned
+ long so that it can hold the USESAS flag.
+
+ * coffcode.h (styp_to_sec_flags): Initialise 'target_name'.
+
+ * elf-m10300.c (mn10300_elf_relax_section): Initialise
+ 'sym_sec'.
+
+ * elf32-i370.c: Add ATTRIBUTE_UNUSED to unused function
+ parameters.
+ Remove unusued variables and code.
+ (elf_backend_add_symbol_hook): Fix prototype.
+
+ * elf32-m68k.c (elf_m68k_gc_sweep_hook): Initialise 'sgot' and
+ 'srelgot'.
+
+ * elf32-mcore.c (mcore_elf_relocate_section): Initialise
+ 'oldinst'.
+
+ * elf32-mips.c: Add ATTRIBUTE_UNUSED to unused function
+ parameters.
+ Remove unusued variables and code.
+ (elf_backend_add_symbol_hook): Fix prototype.
+
+ * elf32-sh.c (sh_elf_set_mach_from_flags): Use 'flags'.
+
+ * elflink.h (elf_bfd_link_add_symbols): Add ATTRIBUTE_UNUSED
+ to unused function parameter.
+
+ * pe-mips.c: Add ATTRIBUTE_UNUSED to unused function
+ parameters.
+ Use EMPTY_HOWTO to initialise empty howto slots.
+ Remove unused variables.
+
+ * peicode.h (pe_ILF_build_a_bfd): Initialise id6.
+
+2000-03-01 H.J. Lu <hjl@gnu.org>
+
+ * aoutx.h (aout_link_input_section_std): Pass "true" to
+ the undefined_symbol callback.
+ (aout_link_input_section_ext): Likewise.
+ * bout.c (get_value): Likewise.
+ * coff-a29k.c (coff_a29k_relocate_section): Likewise.
+ * coff-alpha.c (alpha_ecoff_get_relocated_section_conten):
+ Likewise.
+ (alpha_relocate_section): Likewise.
+ * coff-arm.c (coff_arm_relocate_section): Likewise.
+ * coff-i960.c (coff_i960_relocate_section): Likewise.
+ * coff-mcore.c (coff_mcore_relocate_section): Likewise.
+ * coff-mips.c (mips_relocate_section): Likewise.
+ * coff-ppc.c (coff_ppc_relocate_section): Likewise.
+ * coff-sh.c (sh_relocate_section): Likewise.
+ * coff-tic80.c (coff_tic80_relocate_section): Likewise.
+ * cofflink.c (_bfd_coff_generic_relocate_section): Likewise.
+ * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
+ * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
+ * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
+ * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
+ * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+ * elf32-i370.c (i370_elf_relocate_section): Likewise.
+ * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
+ * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
+ * elf32-sh.c (sh_elf_relocate_section): Likewise.
+ * elf32-v850.c (v850_elf_relocate_section): Likewise.
+ * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
+ * elflink.h (elf_link_output_extsym): Likewise.
+ * pe-mips.c (coff_pe_mips_relocate_section): Likewise.
+ * reloc.c (bfd_generic_get_relocated_section_conten): Likewise.
+ * reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise.
+
+ * elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the
+ undefined_symbol callback when building shared library with
+ -Bsymbolic and undefined symbols are allowed. Otherwise, pass
+ "true".
+ * elf32-arm.h (elf32_arm_relocate_section): Likewise.
+ * elf32-i386.c (elf_i386_relocate_section): Likewise.
+ * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+ * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
+ (elf32_mips_get_relocated_section_content): Likewise.
+ * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+ * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+ * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+ * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+
+2000-02-28 Nick Clifton <nickc@cygnus.com>
+
+ * Makefile.am: Add rules to build pe[i]-{sh|mips}.lo objects.
+ * Makefile.in: Regenerate.
+
+ * configure.in: Add support for mips and sh pe vectors.
+ * configure: regenerate.
+
+ * config.bfd: Add support for arm-wince, mips-pe and sh-pe
+ targets.
+
+ * targets.c: Add mips and sh pe vectors.
+
+ * libpei.h (coff_final_link_postscript): Only define if not
+ already defined.
+
+ * coffcode.h: Add support for WinCE magic numbers.
+
+ * peigen.c (pe_print_reloc): Update comment and rearrange
+ appending of newline character.
+
+ * peicode.h: Add support for Image Library Format.
+ (pe_ILF_vars): Structure containing data used by ILF code.
+ (pe_ILF_make_a_section): New function. Create a section based
+ on ILF data.
+ (pe_ILF_make_a_reloc): New function. Create a reloc based on
+ ILF data.
+ (pe_ILF_make_a_symbol): New function. Create a symbol based
+ on ILF data.
+ (pe_ILF_save_relocs): New function. Store the relocs created
+ by pe_ILF_make_a_reloc in a section.
+ (pe_ILF_build_a_bfd): New function. Create a BFD describing
+ an ILF object.
+ (pe_ILF_object_p): New function. Return a bfd_target pointer
+ for an ILF object.
+ (pe_bfd_object_p): If an ILF object is detected call
+ pe_ILF_object_p on it.
+
+ * coff-arm.c: Add support for WinCE relocs which are different
+ from normal ARM COFF relocs.
+ * pe-arm.c: Unset TARGET_UNDERSCORE for a WinCE target.
+
+ * coff-sh.c: Add support for sh-pe target.
+ * pe-sh.c: New file. Support code for sh-pe target.
+ * pei-sh.c: New file. Support code for sh-pe target.
+
+ * pe-mips.c: New file. Support code for mips-pe target.
+ * pei-mips.c: New file. Support code for mips-pe target.
+
+2000-02-27 Jakub Jelinek <jakub@redhat.com>
+
+ * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Don't bump
+ architecture if the object causing the bump is dynamic.
+ * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): Likewise,
+ and also don't it for memory ordering.
+ (sparc64_elf_write_relocs): Take src_rela out of the loop.
+
+2000-02-27 Ian Lance Taylor <ian@zembu.com>
+
+ * dwarf2.c (read_abbrevs): Use _raw_size directly rather than
+ calling bfd_get_section_size_before_reloc.
+ (decode_line_info): Likewise.
+ (_bfd_dwarf2_find_nearest_line): Likewise.
+
+2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
+ name of the libtool directory.
+ * Makefile.in: Rebuild.
+
+Fri Feb 25 18:39:26 2000 Rodney Brown (RodneyBrown@pmsc.com)
+
+ * som.c (SOM_HOWTO): Define.
+ (som_hppa_howto_table): Use it.
+
+2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+
+ * config.bfd: Enable 64 bit support for GNU/Linux/sparc.
+
+ * config.bfd: Enable 64 bit support for Solaris7+/sparc.
+
+2000-02-24 Catherine Moore <clm@cygnus.com>
+
+ * som.c (som_misc_symbol_info): Add field
+ secondary_def.
+ (som_bfd_derive_misc_symbol_info): Initialize
+ secondary_def.
+ (som_build_and_write_symbol_table): Keep track
+ of secondary_def field.
+ (som_slurp_symbol_table): Set BSF_WEAK symbol flag
+ if secondary_def field is set.
+ (som_bfd_ar_write_symbol_stuff): Initialize
+ secondary_def.
+
+2000-02-23 Stephane Carrez <stcarrez@worldnet.fr>
+
+ * dwarf2.c (read_address): Read 16-bits addresses.
+ (parse_comp_unit): Accept addr_size == 2.
+
+2000-02-23 Alan Modra <alan@spri.levels.unisa.edu.au>
+
+ * bfd-in.h: Update copyright date.
+
+2000-02-23 Linas Vepstas <linas@linas.org>
+
+ * cpu-i370.c: New file.
+ * elf32-i370.c: New file.
+ * archures.c (enum bfd_architecture): Add bfd_arch_i370.
+ (bfd_i370_arch): New.
+ (bfd_archures_list): Add bfd_i370_arch.
+ * elf.c (prep_headers): Add bfd_arch_i370.
+ * Makefile.am: Add support for IBM 370 elf.
+ * config.bfd: Likewise.
+ * configure.in: Likewise.
+ * libbfd.h (bfd_reloc_code_real_names): Likewise.
+ * reloc.c (bfd_reloc_code_type): Likewise.
+ * targets.c: Likewise.
+
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * bfd-in2.h: Regenerate.
+
+2000-02-22 Ian Lance Taylor <ian@zembu.com>
+
+ * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for
+ invalid relocation types, and change them to R_386_NONE.
+
+2000-02-22 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (elf_link_add_object_symbols): If a version symbol is
+ not defined, don't add a second ELF_VER_CHR.
+
+ * elflink.h (elf_bfd_final_link): Call output_extsym for global
+ symbols converted to local symbols even when stripping all
+ symbols.
+ (elf_link_output_extsym): Process global symbols converted to
+ local symbols even if they are being stripped.
+
+2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
+
+ * archures.c (bfd_octets_per_byte): Return unsigned int.
+ (bfd_arch_mach_octets_per_byte): Ditto.
+ * libbfd.c (bfd_read, bfd_seek): Quell signed vs. unsigned
+ comparison warning.
+ * section.c (bfd_get_section_size_before_reloc): Quell signed
+ vs. unsigned comparison warning.
+ (bfd_get_section_size_after_reloc): Same here. Fix parentheses too.
+ * trad-core.c (trad_unix_core_file_p): Correct 2000-01-27
+ change. What was I thinking?
+ * bfd-in2.h: Regenerate.
+
+ * elflink.h (elf_gc_sweep): Skip non-elf input bfds.
+ (elf_gc_sections): Same here.
+ (elf_gc_common_finalize_got_offsets): And here.
+
+2000-02-21 Ian Lance Taylor <ian@zembu.com>
+
+ ELF HPPA doesn't work at present; remove it until it does.
+ * config.bfd: Comment out setting targ_defvec to
+ bfd_elf32_hppa_vec.
+ * Makefile.am: Rebuild dependencies.
+ (BFD32_BACKENDS): Remove elf32-hppa.lo.
+ (BFD32_BACKENDS_CFILES): Remove elf32-hppa.c.
+ (SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h.
+ * Makefile.in: Rebuild.
+ * targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.
+
+2000-02-18 Geoff Keating <geoffk@cygnus.com>
+
+ * coffcode.h (coff_set_arch_mach_hook): Use free(), because there
+ is no bfd_free(). Revert bfd_free part of previous change.
+
+2000-02-18 Geoff Keating <geoffk@cygnus.com>
+
+ * coffcode.h (coff_set_arch_mach_hook): Don't use variable-size
+ arrays.
+ (coff_compute_section_file_positions): Use bfd_free to pair
+ bfd_malloc.
+ (coff_write_object_contents): Likewise.
+
+ * coff-rs6000.c (xcoff_howto_table_16): New variable.
+ (xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.
+
+2000-02-18 Ulrich Drepper <drepper@cygnus.com>
+
+ * coff-rs6000.c (XCOFFARMAGBIG): New macro.
+ (xcoff_ar_file_hdr_big): New structure.
+ (SIZEOF_AR_FILE_HDR_BIG): New macro.
+ (xcoff_ar_hdr_big): New structure.
+ (SIZEOF_AR_HDR_BIG): New macro.
+ (xcoff_big_format_p): New macro.
+ (xcoff_ardata_big): New macro.
+ (arch_xhdr_big): New macro.
+ (xcoff_slurp_armap): Handle large archives.
+ (xcoff_archive_p): Detect large archives.
+ (xcoff_read_ar_hdr): Handle large archives.
+ (xcoff_openr_next_archived_file): Handle large archives.
+ (xcoff_generic_stat_arch_elt): Handle large archives.
+ (xcoff_write_armap_old): Rename from xcoff_write_armap.
+ (xcoff_write_armap_big): New function.
+ (xcoff_write_armap): New function, dispatch to _old or _big.
+ (xcoff_write_archive_contents_old): Rename from
+ xcoff_write_archive_contents.
+ (xcoff_write_archive_contents_big): New function.
+ (xcoff_write_archive_contents): New function, dispatch to _old or
+ _big.
+
+2000-02-18 Richard Henderson <rth@cygnus.com>
+
+ * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect
+ 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.
+
+2000-02-17 Kevin Buettner <kevinb@redhat.com>
+
+ * rs6000-core.c (CORE_DATA_SIZE_FIELD, CORE_COMM_FIELD, SAVE_FIELD,
+ STACK_END_ADDR): Define for new core file format.
+ (LOADER_OFFSET_FIELD, LOADER_REGION_SIZE, CORE_DUMP): New defines
+ for handling the vagaries of the various core file structures used
+ by AIX over the years.
+ (rs6000coff_core_p, rs6000coff_core_file_matches_executable,
+ Rs6kCorData): Use above defines to adapt code to use AIX 4.3's
+ core_dumpx structure.
+
+Thu Feb 17 00:04:48 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros.
+ (bfd_mach_sh3_dsp): Likewise.
+ (bfd_mach_sh4): Reinstate.
+ (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750.
+ * bfd-in2.h: Regenerate.
+ * coff-sh.c (struct sh_opcode): flags is no longer short.
+ (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros.
+ (sh_opcode41, sh_opcode42): Integrate as sh_opcode41.
+ (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes.
+ (sh_opcode41, sh_opcode4, sh_opcode80): Likewise.
+ (sh_opcodes): No longer const.
+ (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays.
+ (sh_insn_uses_reg): Check for USESAS and USESR8.
+ (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS.
+ (_bfd_sh_align_load_span): Return early for SH4.
+ Modify sh_opcodes lookup table for sh-dsp / sh3-dsp.
+ Take into account that field b of a parallel processing insn
+ could be mistaken for a separate insn.
+ * cpu-sh.c (arch_info_struct): New array elements for
+ sh2, sh-dsp and sh3-dsp.
+ Reinstate element for sh4.
+ (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros.
+ (SH4_NEXT): Reinstate.
+ (SH3_NEXT, SH3E_NEXT): Adjust.
+ * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare.
+ * elf32-sh.c (sh_elf_set_private_flags): New function.
+ (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise.
+ (sh_elf_merge_private_data): New function.
+ (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define.
+ (bfd_elf32_bfd_copy_private_bfd_data): Define.
+ (bfd_elf32_bfd_merge_private_bfd_data): Change to
+ sh_elf_merge_private_data.
+
+2000-02-13 Richard Henderson <rth@cygnus.com>
+
+ * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect and
+ hide_symbol members.
+ (elf_link_hash_copy_indirect): New.
+ (elf_link_hash_hide_symbol): New.
+ * elflink.h (elf_link_add_object_symbols): Break out copy from
+ indirect new new symbol to elf.c.
+ (elf_link_assign_sym_version): Break out privatization of
+ non-exported symbol to elf.c.
+ * elf.c (_bfd_elf_link_hash_copy_indirect): New.
+ (_bfd_elf_link_hash_hide_symbol): New.
+ (_bfd_elf_link_hash_table_init): Init copy_indirect and hide_symbol.
+
+2000-02-13 Ian Lance Taylor <ian@zembu.com>
+
+ * section.c (_bfd_strip_section_from_output): Add info parameter.
+ If it passed as non-NULL, use it to check whether any input BFD
+ has an input section which uses this output section. Change all
+ callers.
+ * bfd-in2.h: Rebuild.
+
+ * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and
+ bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of
+ 1999-11-29.
+ * bfd-in2.h: Rebuild.
+
+2000-02-10 Timothy Wall <twall@cygnus.com>
+
+ * coffswap.h (coff_swap_sym_in): Add hook SWAP_SYM_IN_POST to
+ allow final modifications of swapped-in symbol.
+ (coff_swap_sym_out): Ditto with SWAP_SYM_OUT_POST.
+ * coffcode.h (coff_write_relocs): Use macro
+ SECTION_RELATIVE_ABSOLUTE_SYMBOL_P if defined to determine whether
+ symbol index should be set to -1.
+
+Thu Feb 10 20:07:50 GMT 2000 Toshiyasu Morita (toshi.morita@sega.com)
+
+ * coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG,
+ USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros.
+ * (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes.
+ * (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg,
+ sh_insns_uses_or_sets_freg): New functions.
+ * (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros.
+ * (sh_insns_conflict): Use new functions and new macros to
+ detect conflicts when two instructions both set same integer registers,
+ both set same fp register, and both set special register.
+
+2000-02-09 Timothy Wall <twall@cygnus.com>
+
+ * coffgen.c (coff_real_object_p): Set arch/mach info prior to
+ swapping in sections, so that the swapping routines have access to
+ the arch/mach info.
+
+2000-02-08 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * coff-go32.c: Update comment. Update copyright.
+
+2000-01-27 Thomas de Lellis <tdel@windriver.com>
+
+ * syms.c (bfd_decode_symclass)
+ Two new class characters were added - 'V' and 'v'. The
+ meaning of 'W' is now restricted to just weak non-object
+ symbols. This allows differentiation between, for example,
+ weak functions vs weak objects. nm for example now dumps:
+ 'W' = weak global
+ 'w' = weak unresolved
+ 'V' = weak global object
+ 'v' = weak unresolved object
+
+ (bfd_is_undefined_symclass): New function. Return true if the
+ given symbol class represents and undefined/unresolved symbol.
+
+ (bfd_symbol_info): Use bfd_is_undefined_symclass to check for
+ unresolved symbols.
+
+ * bfd-in2.h: Add prototype for bfd_is_undefined_symbol().
+
+ * elf32-arm.h (elf32_arm_get_symbol_type): If a symbol has the
+ STT_ARM_16BIT flag set, but it is not attached to a data object
+ return STT_ARM_16BIT so that it will be treated as code by the
+ disassembler.
+
+2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
+
+ * coff-i386.c (i3coff_object_p): Remove prototype.
+ Update copyright.
+
+ * elflink.c (_bfd_elf_link_record_dynamic_symbol): Add const
+ to name. Update copyright.
+
+ * trad-core.c (trad_unix_core_file_p): Cast core_regsec
+ assignment to avoid warning. Update copyright.
+
+2000-01-24 Robert Lipe (robertl@sco.com)
+
+ * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc
+ instead of using GNU C extension.
+
+2000-01-21 Nick Clifton <nickc@cygnus.com>
+
+ * libbfd.c (bfd_read): Do not attempt to get a negativly sized
+ amount from a bfd_in_memory structure.
+ (bfd_seek): Do not allow seeks past the end of a bfd_in_memory
+ structure.
+
+2000-01-14 Nick Clifton <nickc@cygnus.com>
+
+ * linker.c (default_indirect_link_order): oops - fix incorrectly
+ applied patch from Tim Wall.
+
+2000-01-13 Timothy Wall (twall@tiac.net>
+
+ * coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx
+ = scnhsz, filhsz, relsz, aoutsz, etc)
+
+ * coffswap.h: Ditto.
+
+2000-01-13 Nick Clifton <nickc@cygnus.com>
+
+ * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to
+ interwork thumb to arm stub.
+
+2000-01-13 Timothy Wall (twall@tiac.net>
+
+ * archures.c (bfd_octets_per_byte): New function: Return
+ target byte size.
+ (bfd_arch_mach_octets_per_byte): New function: Return target
+ byte size.
+
+ * section.c: Distinguish between octets and bytes for usage of
+ _cooked_size, _raw_size, and output_offset. Clarify
+ description of bfd_set_section_contents.
+
+ * bfd-in2.h: Regenerate.
+
+ * coffgen.c: Indicate that the offset parameter is in bytes, not
+ octets.
+
+ * cofflink.c (bfd_coff_link_input_bfd): Use bfd_octets_per_byte
+ where appropriate to get the octet offset when calling
+ bfd_set_section_contents.
+ (bfd_coff_reloc_link_order): Ditto.
+
+ * linker.c (bfd_generic_reloc_link_order): Ditto.
+ (_bfd_default_link_order): Ditto.
+
+ * reloc.c (bfd_perform_relocation): Distinguish between octets
+ and bytes. Use octets when indexing into octet data; use bytes
+ when calculating target addresses.
+ (bfd_install_relocation): Ditto.
+
+ * srec.c (srec_write_section): Ditto.
+
+2000-01-13 Nick Clifton <nickc@cygnus.com>
+
+ * coff-mcore.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from
+ 3 to 2. This allows 4 byte sized sections, which is necessary for
+ dlltool to build functioning DLLs.
+
+2000-01-10 Philip Blundell <pb@futuretv.com>
+
+ * config.bfd (arm*-*-linux-gnu*): Match instead of arm*-*-linux-gnu.
+ (arm*-*-conix*): New target.
+
+2000-01-10 Egor Duda <deo@logos-m.ru>
+
+ * config.bfd: Include elf32_i386 vector to target list for cygwin
+ and mingw.
+
+ * config.in: Undefine HAVE_WIN32_PSTATUS_T.
+ * configure.in: Test for structure win32_pstatus_t in
+ <sys/procfs.h>
+ * configure: Regenerate.
+
+ * elf.c (elfcore_grok_win32pstatus): New function: process
+ win32_pstatus_t notes in elf core file.
+ (elfcore_grok_note): Detect win32_pstatus notes.
+
+2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
+
+ * elflink.c (_bfd_elf_link_record_dynamic_symbol): Process symbol
+ visibility.
+ * elflink.h (elf_link_add_object_symbols): Combine visibilities.
+ * elf.c (bfd_elf_print_symbol): Interpret st_other as visibility.
+
+For older changes see ChangeLog-9899
+\f
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End: