X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2FChangeLog;h=f049c7c814d52facdadbae811379b761e4f2fb1f;hb=34b22c5cc84db1bed4000dca031758680d8ff790;hp=e5e41d2252a1e0176cc758013caa38ddf1833483;hpb=bd4dd3d01152ac0cbb2a1c7219e143a463964fc5;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e5e41d2252..f049c7c814 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,491 @@ +start-sanitize-tic80 +Fri Jan 3 16:33:00 1997 Fred Fish + + * Makefile.in (coff-tic80.o): Add coffcode.h to dependency list. + * coff-tic80.c (tic80coff_vec): Data byte order is big endian and + header byte order is little endian. Use correct bfd_get and + bfd_put routines for little endian headers. + * coffcode.h (coff_set_arch_mach_hook): Set arch to + bfd_arch_tic80 for TIC80_ARCH_MAGIC number. + +end-sanitize-tic80 +Fri Jan 3 16:54:08 1997 Jeffrey A Law (law@cygnus.com) + + * reloc.c: Add BFD_RELOC_24. + * elf32-mn10200.c (enum reloc_type): Add 24bit and pcrel relocs. + (elf_mn10200_howto, mn10200_reloc_map): Corresponding changes. + * bfd-in2.h, libbfd.h: Rebuilt. + +Fri Jan 3 16:58:31 1997 Richard Henderson + + elf64-alpha multiple .got rewrite: + + * elf-bfd.h (struct elf_backend_data): Add always_size_sections entry. + (bfd_elf*_mkobject): Don't define here ... + * elfxx-target.h: ... but rather here. Default always_size_sections + hook to NULL. + * elf.c (elf_mkobject): Rename to bfd_elf_mkobject, since that was + what the #defines in elf-bfd.h transmuted it to anyway. + + * section.c: Add SEC_LINKER_CREATED flag. + * bfd-in2.h: Rebuild. + * elf32-i386.c (elf_i386_check_relocs): Add SEC_LINKER_CREATED to + relocation section flags. + (elf_i386_size_dynamic_sections): Use SEC_LINKER_CREATED instead of + SEC_IN_MEMORY to recognize generated bits. + * elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_size_dynamic_sections): + Likewise. + * elf32-mips.c (mips_elf_final_link, mips_elf_create_dynamic_sections, + mips_elf_create_compact_rel_section, mips_elf_create_got_section, + mips_elf_check_relocs, mips_elf_size_dynamic_sections): Likewise. + * elf32-ppc.c (ppc_elf_create_linker_section, + ppc_elf_size_dynamic_sections): Likewise. + * elf32-sparc.c (elf32_sparc_check_relocs, + elf32_sparc_size_dynamic_sections): Likewise. + * elflink.c (_bfd_elf_create_got_section): Add SEC_LINKER_CREATED to + section flags. + (_bfd_elf_create_dynamic_sections): Likewise. + (_bfd_elf_make_linker_section_rela): Likewise. + * elflink.h (elf_link_create_dynamic_sections): Likewise. + (bfd_elf,size_dynamic_sections): Call the always_size_sections hook. + (elf_bfd_final_link): Use SEC_LINKER_CREATED instead of SEC_IN_MEMORY + to identify generated bits. + (elf_link_input_bfd): Likewise. + + * elf64-alpha.c: Rewrite everything touching relocations. + +start-sanitize-v850 +Fri Jan 3 11:42:53 1997 Michael Meissner + + * elf32-v850.c (all functions and static variables): Go through + and regularize names to be of the form v850_elf_. + (toplevel): Include . + (enum reloc_type): Move to include/elf/v850.h. + (v850_elf_check_relocs): For common variables, if the variable is + referenced by a R_V850_{SDA,ZDA,TDA} relocation, put the variable + into the appropriate section. + (elf_backend_check_relocs): Define. + +Tue Dec 31 15:15:28 1996 Michael Meissner + + * elf32-v850.c (elf_v850_howto_table): Fix some spacing. + +end-sanitize-v850 +Tue Dec 31 14:44:50 1996 Ian Lance Taylor + + * config.bfd (mips*el-*-linux*): New target. + (mips*-*-linux*): New target. + + * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Clean up. + Return a useful value. + + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + + * configure.in: Check ac_cv_func_mmap_fixed_mapped, not + ac_cv_func_mmap. + * configure: Rebuild. + * configure.host: Use ac_cv_func_mmap_fixed_mapped instead of + ac_cv_func_mmap in bfd/configure.host. + + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Add + filter_shlib and auxiliary_filter_shlib parameters. + * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_AUXILIARY and + DT_FILTER. + * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. + (bfd_elf64_size_dynamic_sections): Likewise. + * bfd-in2.h: Rebuild. + +Mon Dec 30 18:48:52 1996 Ian Lance Taylor + + * xcofflink.c (xcoff_build_ldsyms): When exporting all defined + symbols, don't export a symbol which is defined by an object in an + archive which contains shared objects. + +start-sanitize-tic80 +Mon Dec 30 16:12:58 1996 Fred Fish + + * archures.c (enum bfd_architecture): Add bfd_arch_tic80 + for TI TMS320c80 (MVP). + (bfd_archures_list): Add bfd_tic80_arch. + * bfd-in2.h: Regenerate by running "make headers". + +Sun Dec 29 16:18:52 1996 Fred Fish + + * cpu-tic80.c (bfd_tic80_arch): Add struct. + * configure.in (case $vec): Correct typo, "tb" not "tp". + Also add cofflink.o for tic80coff_vec. + * configure: Regenerate with autoconf. + +end-sanitize-tic80 +Mon Dec 30 11:54:56 1996 Ian Lance Taylor + + * libbfd.c: Patch up the mmap code so that it is only built if BFD + is configured with --with-mmap. + +start-sanitize-tic80 +Sun Dec 29 10:48:57 1996 Fred Fish + + * Makefile.in (BFD32_BACKENDS): Add coff-tic80.o + (ALL_MACHINES): Add cpu-tic80.o + (cpu-tic80.o, coff-tic80.o): Add dependencies. + * coff-tic80.c: Add skeleton, cloned from another coff config. + * coffcode.h (coff_write_object_contents): Set magic to TIC80MAGIC + for TIc80. + +end-sanitize-tic80 +Fri Dec 27 20:56:41 1996 Fred Fish + + * TODO: Correct a misspelling. +start-sanitize-tic80 + * coff-tic80.c: New file for TI TMS320C80 (MVP). + * cpu-tic80.c: New file for TI TMS320C80 (MVP). + * configure.in (case $vec): Add tic80coff_vec entry. + * configure: Regenerate with autoconf. + * archures.c (bfd_tic80_arch): Declare. + * bfd-in2.h (enum bfd_architecture): Add bfd_arch_tic80. + * config.bfd (case ${targ}): Add tic80*-*-coff* target. + * targets.c (tic80coff_vec): Add decl as extern bfd_target. + (bfd_target_vector): Add tic80coff_vec entry. +end-sanitize-tic80 + +Fri Dec 27 11:48:12 1996 H.J. Lu + + * elflink.h (elf_buckets): Add some more values for larger + binaries. + +Thu Dec 26 18:36:54 1996 Ian Lance Taylor + + * Makefile.in (install): Move subdir_do out of conditional. From + Fred Fish . + +Wed Dec 18 10:04:30 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, and + 32 bit relocs. + (elf_mn10200_howto_table): Likewise. + (mn10200_reloc_map): Likewise. + +Tue Dec 17 11:09:36 1996 Ian Lance Taylor + + * elf32-mips.c (mips_elf_add_symbol_hook): Add 1 to the value of a + mips16 symbol during the link. + (mips_elf_finish_dynamic_symbol): Subtract 1 from the value of a + mips16 symbol. + (mips_elf_link_output_symbol_hook): New static function. + (elf_backend_link_output_symbol_hook): Define. + + * elf.c (bfd_elf_print_symbol): Print the st_other field if it is + not zero. + +Mon Dec 16 14:38:39 1996 Ian Lance Taylor + + * elf.c (bfd_section_from_shdr): Don't check for reloc sections + against SEC_DEBUGGING sections here (revert patch of December 5). + * elfcode.h (elf_object_p): Check for them here, instead. + +Sun Dec 15 14:46:06 1996 Ian Lance Taylor + + * elfcode.h (elf_slurp_reloc_table): Add dynamic parameter. + * elf.c (_bfd_elf_canonicalize_reloc): Pass new argument to + slurp_reloc_table. + (_bfd_elf_get_dynamic_reloc_upper_bound): New function. + (_bfd_elf_canonicalize_dynamic_reloc): New function. + * elf-bfd.h (struct elf_size_info): Update declaration of + slurp_reloc_table. + (_bfd_elf_get_dynamic_reloc_upper_bound): Declare. + (_bfd_elf_canonicalize_dynamic_reloc): Declare. + * elfxx-target.h: Use new dynamic reloc routines by default. + * elf64-mips.c (mips_elf64_slurp_reloc_table): Add dynamic + parameter. + +Fri Dec 13 13:18:49 1996 Dan Wilder + + * coffcode.h (coff_set_flags): Use MC68KBCSMAGIC for bfd_arch_m68k + if NAMES_HAVE_UNDERSCORE is defined. + +Fri Dec 13 11:13:23 1996 Doug Evans + + * libaout.h (enum machine_type): Change M_SPARCLET from 142 to 131. + +Thu Dec 12 15:07:20 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_check_relocs): Move R_PPC_PLTREL24 into the + supported relocs. + +Thu Dec 12 14:55:41 1996 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Only add a weak + symbol if the real definition is in the dynamic symbol table. + After finding the real definition, then, if it is dynamic, add the + weak symbol to the dynamic symbol table. + + * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Make static. + + * ppcboot.c (ppcboot_set_arch_mach): Don't define; it's a + function. + (ppcboot_bfd_print_private_bfd_data): Don't take the address of an + array. + +Tue Dec 10 23:23:52 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (reloc_type): Remove big endian mn10300 reloc + variants. + (elf32_mn10300_howto_table, mn10300_reloc_map): Likewise. + (bfd_elf32_mn10300_reloc): Write data in little endian format. + * reloc.c: Remove mn10300 big endian relocs. + * bfd-in2.h, libbfd.h: Rebuilt. + + * elf32-mn10200.c: Update from elf32-mn10300.c. + +Fri Dec 6 15:18:05 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (elf_symbol_leading_char): Define. + + * elf32-mn10300.c: Add some comments. + +Fri Dec 6 17:16:43 1996 Ian Lance Taylor + + * ihex.c (ihex_scan): Always initialize buf before jumping to + error_return. + (ihex_read_section): Likewise. + +Thu Dec 5 22:29:18 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (elf_mn10300_howto_table): Don't set partial- + inplace for most relocs. + +Thu Dec 5 13:24:46 1996 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Calling check_relocs + even if SEC_ALLOC is not set. + * elf32-i386.c (elf_i386_check_relocs): Don't check SEC_ALLOC + when deciding whether to copy a reloc into a shared object. + (elf_i386_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. + (elf32_sparc_relocate_section): Likewise. + * elf32-i386.c (elf_i386_check_relocs): Don't set SEC_ALLOC in a + reloc section if it is not set in the source section. + * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. + * elf.c (bfd_section_from_shdr): Mark a reloc section associated + with a SEC_DEBUGGING section as SEC_DEBUGGING. + +Wed Dec 4 14:18:13 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): #if 0 code that + expects a .got.plt until we actually create it. + +Mon Dec 2 12:13:51 1996 Ian Lance Taylor + + * cofflink.c (_bfd_coff_generic_relocate_section): Print an error + message for bfd_reloc_outofrange, rather than aborting. From + Philippe De Muyter . + + * cofflink.c (_bfd_coff_final_link): If there aren't any relocs in + a relocateable link, don't try to process them. From Heinz Wrobel + . + +Mon Dec 2 00:39:24 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (mn10300_info_howto): Renamed from + mn10300_info_howto_rel. Tweak reloc argument to be an + Elf32_Internal_Rela. + (USE_RELA): Define instead of USE_REL. + (elf_info_to_howto, elf_info_howto_rel): Corresponding changes. + +Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * configure.in, configure: Handle mips*-sgi-irix6*. + * irix-core.c (irix_core_core_file_p): Accept CORE_MAGICN32 + core files. + +Wed Nov 27 12:10:25 1996 Ian Lance Taylor + + * elf32-i386.c (elf_i386_relocate_section): Warn about a + relocation against a symbol defined in a section with no output + section. + +Tue Nov 26 11:07:31 1996 Ian Lance Taylor + + * aclocal.m4 (BFD_CC_FOR_BUILD): Don't require AC_C_CROSS. + * configure, config.in: Rebuild with autoconf 2.12. + + * elf-bfd.h (struct elf_link_hash_entry): Add other field. + * elf.c (_bfd_elf_link_hash_newfunc): Initialize other field. + (swap_out_syms): Set st_other from existing st_other field. + * elflink.h (elf_link_add_object_symbols): Store st_other in hash + table other field. + (elf_link_output_extsym): Set the other field from the global hash + table entry. + * elf32-mips.c (enum reloc_type): Add R_MIPS16_26. + (elf_mips16_jump_howto): New static variable. + (mips16_jump_reloc): New static function. + (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_JMP. + (mips_info_to_howto_rel): Handle R_MIPS16_26. + (mips_elf_relocate_section): Handle R_MIPS16_26. Handle R_MIPS_26 + to a mips16 symbol. + * reloc.c (BFD_RELOC_MIPS16_JMP): Add to list of relocs. + * bfd-in2.h, libbfd.h: Rebuild. + * cpu-mips.c (arch_info_struct): Add mips:16 entry. + +Mon Nov 25 11:23:32 1996 Ian Lance Taylor + + * configure.host: Use long long for mips-sgi-irix6*. + + * coffswap.h (coff_swap_scnhdr_out): Make line number overflow + only a warning. From Philippe De Muyter . + +Mon Nov 25 08:52:29 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (bfd_elf32_mn10300_reloc): New function. + (enum reloc_type): Add more reloc types. + (elf32_mn10300_howto_table): Update for new reloc types. + (elf32_mn10300_reloc_map): Update for new reloc types. + * reloc.c: Add some new relocs for the mn10300 series. + * bfd-in2.h, libbfd.h: Rebuilt. + +Sat Nov 23 13:26:18 1996 Jeffrey A Law (law@cygnus.com) + + * som.c (setup_sections): Don't lose for a space which has + no data, but some symbols. + +Fri Nov 22 11:32:13 1996 Ian Lance Taylor + + * sunos.c (struct sunos_link_hash_table): Add got_needed field. + (sunos_link_hash_table_create): Initialize got_needed. + (sunos_create_dynamic_sections): Only set .got section size if it + is not already set. Set got_needed. + (bfd_sunos_size_dynamic_sections): Check got_needed. Only set + sdynptr, and only handle dynamic sections, if dynamic sections are + needed. + (sunos_scan_std_relocs): Pass false to create_dynamic_sections. + Initialize .got section. + (sunos_scan_ext_relocs): Likewise. + (sunos_write_dynamic_symbol): Set up PLT entry even if this is not + a dynamic symbol. + (sunos_finish_dynamic_link): Check got_needed. Only set up + dynamic linking information if needed. + +Thu Nov 21 10:31:31 1996 Rob Savoye (rob@cygnus.com) + + * config.bfd: Added VersaDOS format to the Ericsson configuration. + +Wed Nov 20 16:31:31 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c: Rough cut at relocs for the mn10300. + +start-sanitize-d10v +Wed Nov 13 08:12:38 1996 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (elf32-d10v.o): Don't depend on elf/d10v.h + anymore. + +end-sanitize-d10v +Tue Nov 12 13:30:00 1996 Dawn Perchik + + * filemode.c: Include sysdep.h. + * ihex.c: Add casts to eliminate compiler warnings. + * sunos.c: Add casts to eliminate compiler warnings. + +Mon Nov 11 10:37:02 1996 Michael Meissner + + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Create .got.plt + section. + (ppc_elf_check_relocs): Add support for R_PPC_LOCAL24PC. Make + appropriate relocations in the .so file if shared. + (ppc_elf_relocate_section): Ditto. + +start-sanitize-m32r +Tue Oct 29 15:03:02 1996 Doug Evans + + * elf32-m32r.c (elf_m32r_howto_table, R_M32R_24): Use + complain_overflow_unsigned. + +end-sanitize-m32r +start-sanitize-d10v +Tue Oct 29 12:53:46 1996 Martin M. Hunt + + * elf32-d10v.c (elf_d10v_howto_table): Don't complain on + overflows for R_D10V_16 and R_D10V_18. + +end-sanitize-d10v +Tue Oct 29 13:23:53 1996 Ian Lance Taylor + + * ieee.c (ieee_write_section_part): Use LMA rather than VMA. + (do_with_relocs): Likewise. + (do_as_repeat): Likewise. + (copy_expression): Likewise. + +Fri Oct 25 16:56:40 1996 Ian Lance Taylor + + * ieee.c (ieee_write_external_part): Correctly record whether + there is an external part. + +start-sanitize-v850 +Thu Oct 24 14:32:52 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (elf32_v850_bfd_final_link_relocate): Correctly + handle tda offsets for sld.w and sst.w instructions. + Fix alignment check in sld.w and sst.w tda reloc handling. + +end-sanitize-v850 +Thu Oct 24 09:08:47 1996 Stu Grossman (grossman@critters.cygnus.com) + + * aclocal.m4, configure: Set USE_BINARY_FOPEN for *-*-windows. + +start-sanitize-v850 +Wed Oct 23 00:53:16 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c: Add comments about assumptions about + char, short & long sizes. + (elf32_v850_bfd_final_link_relocate): Fix sign extension + problems for several relocs. + + * elf32-v850.c (elf32_v850_howto_table): Fix typo in + R_V850_SDA_OFFSET entry. + +end-sanitize-v850 +Wed Oct 23 00:20:34 1996 Ian Lance Taylor + + * xcofflink.c (bfd_xcoff_import_symbol): Don't allocate ldsym. + Store import file index in ldindx. + (xcoff_build_ldsyms): Assume that ldsym was not previously + allocated. For an imported symbol, copy ldindx into l_ifile. + +start-sanitize-v850 +Tue Oct 22 19:20:38 1996 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (elf_v850_howto_table): Fix ordering of + R_V850_ZDA_OFFSET and R_V850_TDA_OFFSET. Fix various + fields in R_V850_TDA_OFFSET. + (elf32_v850_bfd_final_link_relocate): Tweak pc-relative + relocs to work more like other relocs. Handle R_V850_TDA_OFFSET + relocations. + + * elf32-v850.c: Include bfdlink.h. + (bfd_elf32_v850_reloc): Return an error if we get a reloc + we can't handle. + (elf32_v850_bfd_final_link_relocate): New function. + (v850_elf_relocation_section): Likewise. + (elf_backend_relocate_section): Define. + +end-sanitize-v850 +Tue Oct 22 17:22:43 1996 Ian Lance Taylor + + * binary.c (binary_set_section_contents): Ignore sections which + don't have SEC_LOAD and SEC_ALLOC set. + +Mon Oct 21 12:13:05 1996 Jeffrey A Law (law@cygnus.com) + + * linker.c (_bfd_generic_final_link): Avoid losing static + symbols in the .bss section. + Mon Oct 21 10:54:58 1996 Ian Lance Taylor + * elf32-mips.c (elf_mips_howto_table): Describe R_MIPS_64. + (mips32_64bit_reloc): New static function. + (mips_reloc_map): Add entry for BFD_RELOC_64. + (mips_elf_relocate_section): Handle R_MIPS_64. + * linker.c (default_indirect_link_order): Print an error message when attempting to do a relocateable link with different object file formats, rather than calling abort. @@ -243,7 +729,7 @@ Tue Oct 1 12:31:39 1996 Ian Lance Taylor * cofflink.c (coff_link_add_symbols): Don't override a meaningful symbol type with T_NULL. Warn if symbol type changes. Based on - patch from Philippe De Muyter . + patch from Philippe De Muyter . * elflink.h (elf_link_add_object_symbols): Only put a symbol from a dynamic object in the dynamic symbol table if it is referenced