X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2FChangeLog;h=c5665109e69b216f81e2aca33cf53b5e3b79feac;hb=acba322ed233a7f4957a9bad369f001729c353cd;hp=174a41e6f35923178d0c012fcbec44918dc73cd8;hpb=236969ac80acb286a7fff50a58e3c89d5b755c84;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 174a41e6f3..c5665109e6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,9 +1,766 @@ +Wed Apr 2 16:19:41 1997 Mike Meissner + + * elf32-ppc.c (ppc_elf_check_relocs): Undo March 26 change and + always create got section so that the _GLOBAL_OFFSET_TABLE_ label + is always created. + +Wed Apr 2 10:49:07 1997 Ian Lance Taylor + + * elf-m10200.c: Rename from elf32-mn10200.c. + * elf-m10300.c: Rename from elf32-mn10300.c. + * cpu-m10200.c: Rename from cpu-mn10200.c + * cpu-m10300.c: Rename from cpu-mn10300.c + * Makefile.in: Update accordingly. + + * elf32-mips.c (elf_mips_ctor64_howto): New static variable. + (elf_mips_isa): Move to earlier in file. + (mips_reloc_map): Remove BFD_RELOC_CTOR entry. + (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_CTOR + specially. + + * elf32-mips.c (mips16_jump_reloc): Print a warning rather than + calling abort. + +Tue Apr 1 16:18:05 1997 Klaus Kaempf + + * configure.com: New file. + * config.h-vms: Remove file. + * makefile.vms: Update for new configure scheme. + +Mon Mar 31 23:28:39 1997 H.J. Lu + + * libcoff-in.h (ppc_allocate_toc_section): Declare. + (ppc_process_before_allocation): Declare. + * libcoff.h: Rebuild. + + * coffcode.h (coff_mkobject_hook): Declare if not a macro. + +Mon Mar 31 16:29:50 1997 Joel Sherrill + + * config.bfd (hppa*-*-rtems*): New target, like hppa-*-*elf*. + +Mon Mar 31 16:11:35 1997 Ian Lance Taylor + + * coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a + symbol index for a R_IHCONST reloc. + +Mon Mar 31 15:40:59 1997 Philippe De Muyter + + * targmatch.sed: Do not use \(\) recursively. + +Fri Mar 28 14:44:08 1997 H.J. Lu + + * m68klinux.c (MACHTYPE_OK): Define. + * i386linux.c (MACHTYPE_OK): Define. + +Fri Mar 28 11:56:15 1997 Ian Lance Taylor + + From David S. Miller and H.J. Lu + : + * sparclinux.c: New file. + * bfd-in.h (bfd_sparclinux_size_dynamic_sections): Declare. + * bfd-in2.h: Rebuild. + * config.bfd (sparc-*-linuxaout*, sparc-*-linux*): New targets. + * configure.in (sparclinux_vec): Add to list of vectors. + * configure: Rebuild. + * targets.c (sparclinux_vec): Declare. + (bfd_target_vector): Add sparclinux_vec. + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add sparclinux.o. + (BFD32_BACKENDS_CFILES): Add sparclinux.c. + + * coff-mips.c (mips_ecoff_backend_data): Initialize new + bfd_coff_backend_data field. + * coff-alpha.c (alpha_ecoff_backend_data): Likewise. + + * config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs + for mips*el*-*-linux* and mips*-*-linux*. From H.J. Lu + and Ralf Baechle . + + * bfd.c: Include "libiberty.h". + (strerror): Don't declare. + (bfd_errmsg): Call xstrerror rather than strerror. + +Thu Mar 27 12:55:42 1997 Ian Lance Taylor + + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY + reloc even if the symbol is in the .bss section. + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. + * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise. + + * coffcode.h (bfd_coff_backend_data): Add new field + _bfd_coff_default_section_alignment_power. + (bfd_coff_default_section_alignment_power): Define. + (bfd_coff_std_swap_table): Initialize new field. + * libcoff.h: Rebuild. + * cofflink.c (coff_link_add_symbols): Limit alignment of a common + symbol to the default section alignment. + + * COPYING: Update FSF address. + +start-sanitize-d30v +Thu Mar 27 00:45:57 1997 Martin M. Hunt + + * elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the + 21-bit absolute that made it act as a relative. + +end-sanitize-d30v +Wed Mar 26 14:50:20 1997 Ian Lance Taylor + + * elflink.c (_bfd_elf_create_linker_section): Don't set + bss_section and rel_section from existing sections. + + * elf32-ppc.c (ppc_elf_check_relocs): Only create the got section + if it is needed. + +Tue Mar 25 22:26:56 1997 Stu Grossman (grossman@critters.cygnus.com) + + * aoutx.h (some_aout_object_p): Change executable test to fix + problems with embedded a.out systems. + +Tue Mar 25 14:35:37 1997 Ian Lance Taylor + + * stabs.c (_bfd_stab_section_offset): New function. + * libbfd-in.h (_bfd_stab_section_offset): Declare. + * libbfd.h: Rebuild. + * elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a + stab reloc. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-mips.c (mips_elf_relocate_section): 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. + + * stabs.c (_bfd_link_section_stabs): Copy over the first header + symbol. Check for memory allocation failure of *psinfo. + (_bfd_write_section_stabs): Add psinfo parameter. Change all + callers. Set the value of the header symbol. + * libbfd-in.h (_bfd_write_section_stabs): Update declaration. + * libbfd.h: Rebuild. + +start-sanitize-tic80 +Mon Mar 24 20:07:29 1997 Fred Fish + + * coff-tic80.c (tic80_howto_table): Add R_ABS entry. + (rtype2howto): Handle R_ABS reloc type. Also abort on unhandled + reloc types, rather than silently failing to generate an output file. + +end-sanitize-tic80 +Mon Mar 24 13:41:00 1997 Ian Lance Taylor + + * targmatch.sed: Use the hold space to put the #ifdef around the + the string constant. + * targets.c (UNSUPPORTED_TARGET): Don't define. + (find_target): Don't check for UNSUPPORTED_TARGET. + (bfd_set_default_target): Don't try to optimize by checking for + default. + + * Makefile.in: Rebuild dependencies. + (ALL_MACHINES_CFILES): Add cpu-m32r.c. + (BFD32_BACKENDS_CFILES): Add elf32-m32r.c. + (elf32-m32r.o): Remove explicit target. + + * config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or + i[3456]86-*-linux*. + + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Don't + count section symbols for sections that were created by the + linker, or are not allocatable or not loadable. + (elf32_sparc_finish_dynamic_sections): Output output section + symbols for section for which we made space for them. + +Fri Mar 21 13:08:26 1997 Ian Lance Taylor + + * elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is + no .rela.plt section, don't output a DT_PLTGOT dynamic entry. + +Fri Mar 21 12:36:46 1997 Doug Evans + + * elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16. + (m32r_hi16_list): New static local. + (m32r_elf_hi16_reloc): Don't perform reloc, just queue it up. + (m32r_elf_do_hi16_reloc): Delete. + (m32r_elf_relocate_hi16): New function. + (m32r_elf_lo16_reloc): New function. + (m32r_elf_relocate_section): For HI16 relocs, scan for corresponding + LO16 reloc. + + Mon Mar 10 16:03:31 1997 Doug Evans + + * elf32-m32r.c (m32r_elf_create_linker_section): Delete. + (m32r_elf_add_symbol_hook): Rewrite _SDA_BASE_ support. + (m32r_elf_final_sda_base): New function. + (m32r_elf_relocate_section): Rewrite sdata support. + (m32r_elf_finish_dynamic_sections): Delete. + +Thu Mar 20 12:39:02 1997 Ian Lance Taylor + + Based on patches from Philippe De Muyter . + * coff-svm68k.c: New file. Just defines some macros and includes + coff-m68k.c. + * coff-m68k.c: Add functions to handle common addends, moved in + from cf-m68klynx.c. Control them using COFF_COMMON_ADDEND macro. + Control whether relocs are visible using STATIC_RELOCS. + * cf-m68klynx.c: Simplify greatly: just define macros to control + coff-m68k.c. + * coff-aux.c: Likewise. Just leave add_one_symbol routine. + * targets. (m68ksysvcoff_vec): Declare. + (bfd_target_vector): Add m68ksysvcoff_vec. + * config.bfd (m68*-motorola-sysv*): New target. + * configure.in (m68ksysvcoff_vec): New vector. + * configure: Rebuild. + * Makefile.in: Rebuild dependencies. + (BFD32_BACKENDS): Add coff-svm68k.o. + (BFD32_BACKENDS_CFILES): Add coff-svm68k.c. + + * binary.c (binary_set_section_contents): Don't get misled if the + first section is not loadable. From Matthew L. Martin + . + + * elflink.h (elf_bfd_final_link): Set the value of a section + symbol to the section address unless doing a relocateable link. + +Tue Mar 18 23:03:17 1997 Richard Henderson + + * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't create + .plt entry if we've taken the function's address. + (elf64_alpha_merge_gots): Merge collected flags info as well. + +Tue Mar 18 22:40:09 1997 H.J. Lu + + * Many files: Add function prototypes. + * cpu-m68k.c (bfd_default_scan_num_mach): Don't declare. + * ecofflink.c: Include "libcoff.h" and "libecoff.h". + * elf32-ppc.c (ppc_elf_fake_sections): Make static. + * opncls.c (bfd_openstreamr): Change stream parameter to PTR. + * peicode.h: Change several void * parameters to PTR. + * srec.c (srec_get_symbol_info): Make static. + * syms.c (bfd_symbol_is_absolute): Remove. + * Makefile.in: Rebuild dependencies. + +Tue Mar 18 12:58:08 1997 Ian Lance Taylor + + * elf32-m32r.c (m32r_elf_is_local_label_name): Remove. + (bfd_elf32_bfd_is_local_label): Don't define. + + * xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc rather + than malloc. + +Mon Mar 17 11:32:53 1997 Ian Lance Taylor + + * bfd-in.h: Don't include obstack.h. + (struct bfd_hash_table): Change memory field to PTR. + * bfd.c (struct _bfd): Change memory field to PTR. + * bfd-in2.h: Rebuild. + * libbfd-in.h (bfd_release): Declare as function, don't define as + macro. + * libbfd.h: Rebuild. + * opncls.c: Include "objalloc.h" rather than "obstack.h". Use + objalloc routines rather than obstack routines. + (obstack_chunk_alloc, obstack_chunk_free): Don't define. + (getpagesize): Don't define. + (_bfd_new_bfd): Don't set _bfd_chunksize. + (bfd_openr): Free new bfd and objalloc on failure. + (bfd_fdopenr, bfd_openstreamr, bfd_openw): Likewise. + (bfd_alloc_size): Remove. + (bfd_release): New function. + * hash.c: Include "objalloc.h" rather than "obstack.h". Use + objalloc routines rather than obstack routines. + (obstack_chunk_alloc, obstack_chunk_free): Don't define. + * ecofflink.c: Include "objalloc.h" rather than "obstack.h". Use + objalloc routines rather than obstack routines. + (obstack_chunk_alloc, obstack_chunk_free): Don't define. + (struct accumulate): Change memory to struct objalloc *. + * liboasys.h (oasys_data_type): Remove oasys_obstack field. + * dep-in.sed: Don't remove obstack.h from dependency list. + * Makefile.in: Rebuild dependencies. + (BFD_H_DEPS): Remove obstack.h. + (install): Don't install obstack.h. + * Many files: Don't include "obstack.h". + * VERSION: Bump. + + * opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove. + * libbfd-in.h (bfd_alloc_grow, bfd_alloc_finish): Don't declare. + * libbfd.h: Rebuild. + * ieee.c (ieee_archive_p): Rewrite to not use bfd_alloc_grow. + * sunos.c (sunos_add_dynamic_symbols): Likewise. + * srec.c (srec_scan): Rewrite to not use obstack_1grow. + + * opncls.c (bfd_alloc): Rename from bfd_alloc_by_size_t. Remove + old version of bfd_alloc. + * libbfd-in.h (bfd_alloc_by_size_t): Don't declare. + * libbfd.h: Rebuild. + * Several files: Call bfd_alloc rather than bfd_alloc_by_size_t. + +Sat Mar 15 15:24:18 1997 Ian Lance Taylor + + * elf32-mips.c (mips_elf_is_local_label_name): Accept the generic + ELF local label syntax as well. + +Sat Mar 15 10:16:42 1997 Fred Fish + + * config.bfd (powerpc-*-beos*): New target. + * configure.in (powerpc-*-beos*): Add case that explicitly + does not set COREFILE for now. A future BeOS version is + expected to support core files. + * configure: Regenerate with autoconf. + +Fri Mar 14 16:43:22 1997 Ian Lance Taylor + + * elf32-mips.c (mips_elf_check_relocs): Give an error if CALL16 is + seen with a local symbol, rather than crashing. + + * elfcode.h (elf_slurp_symbol_table): Don't try to read the + version symbols if there aren't any. + +start-sanitize-tic80 +Thu Mar 13 16:38:30 1997 Fred Fish + + * coff-tic80.c (coff_rtype_to_howto): Define + (coff_tic80_rtype_to_howto): Clone generic coff version and + add code to handle the funky TI "internal relocations". + +end-sanitize-tic80 +Thu Mar 13 14:08:53 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Don't warn about type + or size changes because of a weak symbol. + + * cisco-core.c (SIGEMT): Define if not defined. + +Wed Mar 12 21:36:05 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Use extsymoff when + setting ever. Sanity check the version number. Sort out copying + flags and other information when adding an indirect symbol. + (NAME(bfd_elf,size_dynamic_sections)): Preserve any dynamic + symbols added by the backend. Clear the entire contents of the + versym section. + (elf_export_symbol): Ignore indirect symbols. + (elf_link_output_extsym): Accept a section without an owner in an + assert. + * elfcode.h (elf_slurp_symbol_table): Add a sanity check on the + version count. Correct the allocation of x_versymp. + + * elf32-mips.c (mips_elf_add_symbol_hook): Don't set the owner of + the magic sections used for SHN_MIPS_TEXT and SHN_MIPS_DATA. + Don't return bfd_und_section_ptr when info->shared. + (mips_elf_final_link): Set the alignment of .rtproc to 4, not 12. + (mips_elf_create_dynamic_sections): Correct type: ^= for &=. + (mips_elf_check_relocs): Resolve an indirect symbol in + sym_hashes. + (mips_elf_finish_dynamic_symbol): Don't change SHN_ABS into + SHN_MIPS_TEXT or SHN_MIPS_DATA. + + * elf.c (bfd_elf_print_symbol): Tweak version output slightly. + +Tue Mar 11 01:38:36 1997 Ian Lance Taylor + + From Eric Youngdale : + * elf-bfd.h (ELF_LINK_FORCED_LOCAL): Define. + * elf.c (bfd_elf_print_symbol): Correct errors in last change. + * elflink.h (elf_link_add_object_symbols): Handle cases in which a + versioned symbol appears in both a regular and a shared object. + (elf_link_assign_sym_version): Set ELF_LINK_FORCED_LOCAL when + appropriate. Improve error message. + (struct elf_outext_info): Rename from elf_finfo_failed. Change + all uses. Add localsyms field. + (elf_bfd_final_link): When generating a shared library, call + elf_link_output_extsym to output all local symbols. + (elf_link_output_extsym): Handle symbols which were forced to + become local. + +Sun Mar 9 23:08:49 1997 Ian Lance Taylor + + From Eric Youngdale : + * elf-bfd.h (elf_symbol_type): Add version field. + * elfcode.h (elf_slurp_symbol_table): Set version field. + * elflink.h (elf_link_add_object_symbols): When creating an + indirect symbol for a default version symbol, set DEF_DYNAMIC if + appropriate. Set up an indirection from the nondefault version of + the symbol as well. + (NAME(bfd_elf,size_dynamic_sections)): Call + elf_link_assign_sym_version before checking whether there are any + versions. Always record the version name as a dynamic symbol. + Initialize counters. + (elf_link_assign_sym_version): After finding a version, see if a + symbol should be forced to local scope. Create a new version + definition if appropriate. + (elf_link_output_extsym): Correct indirect symbol handling. + * elf.c (bfd_elf_print_symbol): Print version information. + (bfd_section_from_shdr): Turn version sections into BFD sections. + (elf_fake_sections): Only copy cverdefs and cverrefs into sh_info + if sh_info is not already set. + (_bfd_elf_copy_private_section_data): Copy sh_info for version + sections. + * elflink.c (_bfd_elf_link_record_dynamic_symbol): Tell + _bfd_stringtab_add to copy the name into permanent memory if + appropriate. + +Fri Mar 7 11:55:31 1997 H.J. Lu + + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Fully parenthesize. + +Fri Mar 7 10:37:30 1997 Ian Lance Taylor + + * coffcode.h (bfd_coff_backend_data): Change + _bfd_coff_compute_section_file_positions to return a boolean + value. Change all callers. + (coff_compute_section_file_positions): Change return type to + boolean. If the size of the last section changed, then output a + zero byte at the end of the file. + * libcoff.h: Rebuild. + + * xcofflink.c (_bfd_xcoff_bfd_final_link): Always allocate space + for at least 6 output symbols. + (xcoff_write_global_symbol): When emitting TOC entry relocs, also + emit a TC csect to represent the space they take up. For an XO + symbol, just emit a reference, not a csect. + + * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since + Solaris doesn't like the combined options, and the -f is + unnecessary. + (stamp-tshlink, install): Likewise. + + * elf32-mips.c (mips_elf_relocate_section): Correct R_MIPS16_26 + handling when little endian. + +Thu Mar 6 13:51:51 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10300.c (mn10300_elf_final_link_relocate): New function. + (mn10300_elf_relocate_section): Likewise. + (elf_backend_relocate_section): Define. + + * elf32-mn10300.c (reloc_type): Remove PCREL{8,16,32}_{1,2}BYTE + relocs. Replace them with generic PCREL_{8,16,32} relocs. + (elf32_mn10300_howto_table): Likewise. + (elf32_mn10300_reloc_map): Likewise. + (bfd_elf32_mn10300_reloc): Delete unused function. + +Thu Mar 6 12:19:59 1997 Fred Fish + +start-sanitize-tic80 + * coff-tic80.c (rtype2howto): If passed a relocation type we don't + understand, just set the howto field to NULL, and the caller will + print an appropriate error message. +end-sanitize-tic80 + * coffcode.h (coff_slurp_reloc_table): Pull duplicate declarations and + code fragment out of both legs of #ifdef RELOC_PROCESSING ... #endif + block. Use NULL for initializations of "ptr" rather than bare 0. + * coff-h8300.c: Fix typo in comment. + * coff-h8500.c: Ditto. + * coff-w65.c: Ditto + * coff-z8k.c: Ditto. + +Wed Mar 5 13:59:09 1997 Doug Evans + + * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc. + (m32r_elf_relax_section, m32r_elf_relax_delete_bytes, + m32r_elf_get_relocated_section_contents): First pass at relax support. + +Mon Mar 3 13:27:09 1997 Ulrich Drepper + + * elflink.h (elf_link_add_object_symbols): Use correct sh_size + entry for reading verdef records. + Use correct braces for computing increments of extverdaux and + exteverdef record pointers. + +start-sanitize-tic80 +Sun Mar 2 22:47:54 1997 Fred Fish + + * coff-tic80.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set this to 2 + instead of 4. + +end-sanitize-tic80 +Sun Mar 2 16:25:35 1997 Ian Lance Taylor + + * elflink.h (elf_link_find_version_dependencies): Check that + DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is + set. + +start-sanitize-tic80 +Fri Feb 28 16:52:40 1997 Fred Fish + + * coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC. + +end-sanitize-tic80 +Fri Feb 28 15:06:45 1997 Ian Lance Taylor + + * targets.c (bfd_default_vector): Make non-const. + (find_target): New static function, broken out of + bfd_find_target. + (bfd_set_default_target): New function. + (bfd_find_target): Call find_target. When defaulting, use + bfd_default_vector[0] if it is not NULL. + * libbfd-in.h (bfd_default_vector): Adjust declaration. + * bfd-in2.h, libbfd.h: Rebuild. + + * syms.c (bfd_is_local_label): Return false if the symbol has no + name. + * coff-i960.c (coff_i960_is_local_label_name): New function. + (coff_bfd_is_local_label_name): Define. + * coff-m68k.c (m68k_coff_is_local_label_name): New function. + (coff_bfd_is_local_label_name): Define. + * coff-rs6000.c (xcoff_is_local_label_name): New function. + (coff_bfd_is_local_label_name): Define. + * elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning + with .. or _.L_ as local. + * elf32-i386.c (elf_i386_is_local_label_name): New function. + (bfd_elf32_bfd_is_local_label_name): Define. + * evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols + beginning with $ as local. + +Thu Feb 27 18:36:23 1997 Ian Lance Taylor + + * aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name + rather than comparing against info->lprefix. + * cofflink.c (_bfd_coff_link_input_bfd): Likewise. + * elflink.h (elf_link_input_bfd): Likewise. + * linker.c (_bfd_generic_link_output_symbols): Likewise. + * xcofflink.c (xcoff_link_input_bfd): Likewise. + + * elfxx-target.h (bfd_elfNN_bfd_is_local_label_name): Define as + _bfd_elf_is_local_label_name if not already defined. + * elf.c (_bfd_elf_is_local_label_name): New function. + * elf-bfd.h (_bfd_elf_is_local_label_name): Declare. + + * coff-m88k.c (coff_bfd_is_local_label_name): Define. + (m88k_is_local_label_name): New static function. + + * coffcode.h (coff_bfd_is_local_label_name): Define as + _bfd_coff_is_local_label_name if not already defined. + * coffgen.c (_bfd_coff_is_local_label_name): New function. + * libcoff-in.h (_bfd_coff_is_local_label_name): Declare. + * libcoff.h: Rebuild. + + * targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label + to _bfd_is_local_label_name. + (bfd_target): Likewise. + * syms.c (bfd_is_local_label): Define as function, not macro. + (bfd_is_local_name): Define. + * libbfd.c (bfd_generic_is_local_label_name): Rename from + bfd_generic_is_local_label, and take a string rather than a + symbol. + * libbfd-in.h (_bfd_nosymbols_bfd_is_local_label): Don't define. + (_bfd_nosymbols_bfd_is_local_label_name): Define. + (bfd_generic_is_local_label): Don't declare. + (bfd_generic_is_local_label_name): Declare. + * bfd-in2.h, libbfd.h: Rebuild. + * All backends: Change local_label to local_label_name. + + * elf32-mips.c (struct mips_got_info): Add assigned_gotno field. + (mips_elf_relocate_got_local): Change return type to boolean. + Don't assume that the first zero entry is unassigned; instead, use + assigned_gotno. + (mips_elf_relocate_section): Check return value of + mips_elf_relocate_got_local. + (mips_elf_create_got_section): Initialize assigned_gotno field. + +start-sanitize-d30v +Wed Feb 26 15:19:51 1997 Martin M. Hunt + + * elf32-d30v.c (bfd_elf_d30v_reloc): Add code to do 32-bit + relocations. + +end-sanitize-d30v +Wed Feb 26 13:33:03 1997 Ian Lance Taylor + + * elflink.h (elf_link_input_bfd): Don't skip symbols from sections + that have no contents merely because linker_mark is not set. + +Tue Feb 25 18:51:35 1997 Stan Shebs + + * config.bfd (mips*-*-lnews*): New target. + * coff-mips.c (mips_relocate_section): Make assert compare + content byteorder instead of header byteorder. + (ecoff_biglittle_vec): New BFD, big-endian headers, little-endian + data. + * targets.c (bfd_target_vector): Add ecoff_biglittle_vec. + * configure.in (ecoff_biglittle_vec): Add case. + * configure: Update. + +Tue Feb 25 00:32:49 1997 Ian Lance Taylor + + * elf.c (elf_fake_sections): Use SHT_NOTE for any section whose + name begins with ".note". + (map_sections_to_segments): Add a PT_NOTE segment for any loadable + section whose name begins with ".note". + (get_program_header_size): Corresponding change. + + * elf32-mips.c (mips_elf_relocate_section): Check for misaligned + jal and for jal overflow. + +Mon Feb 24 17:53:14 1997 Ian Lance Taylor + + From Eric Youngdale : + * elflink.h (elf_link_add_archive_symbols): If a default symbol is + not found, try looking it up again without the version name. + (elf_link_add_object_symbols): Always link against the dynamic + symbol table of a dynamic object. When linking against a dynamic + object, include version strings in symbol names, and set up + version information. Add indirect symbols for default versions. + (elf_link_create_dynamic_sections): Add special version sections. + (struct elf_assign_sym_version_info): Define. + (struct elf_find_verdep_info): Define. + (NAME(bfd_elf,size_dynamic_sections)): Add verdefs parameter. Set + up version sections. + (elf_adjust_dynamic_symbol): Ignore indirect symbols. + (elf_link_find_version_dependencies): New static function. + (elf_link_assign_sym_version): New static function. + (elf_link_renumber_dynsyms): New static function. + (struct elf_final_link_info): Add symver_sec field. + (elf_bfd_final_link): Initialize finfo.symver_sec. Don't count + local symbols of a dynamic object. Handle DT_VER* constants. + (elf_link_output_extsym): Simplify BFD_ASSERT checking for a + dynamic object. Skip indirect symbols from ELF objects. Remove + the version name before choosing a hash bucket. Write out the + version information if appropriate. + (elf_link_input_bfd): Check for DYNAMIC, not ET_DYN. + * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration. + (bfd_elf64_size_dynamic_sections): Likewise. + * bfd-in2.h: Rebuild. + * elf-bfd.h (struct elf_link_hash_entry): Add verinfo field. + Change elf_link_hash_flags to unsigned short. + (ELF_LINK_HIDDEN): Define. + (struct elf_obj_tdata): Add fields dynversym_hdr, dynverref_hdr, + dynverdef_hdr, dynversym_section, dynverdef_section, + dynverref_section, cverdefs, cverrefs, verdef, verref. + (elf_dynversym, elf_dynverdef, elf_dynverref): Define. + (_bfd_elf_swap_verdef_in, _bfd_elf_swap_verdef_out): Declare. + (_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Declare. + (_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Declare. + (_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Declare. + (_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Declare. + (_bfd_elf_slurp_version_tables): Declare. + * elf.c (_bfd_elf_swap_verdef_in): New function. + (_bfd_elf_swap_verdef_out): Likewise. + (_bfd_elf_swap_verdaux_in, _bfd_elf_swap_verdaux_out): Likewise. + (_bfd_elf_swap_verneed_in, _bfd_elf_swap_verneed_out): Likewise. + (_bfd_elf_swap_vernaux_in, _bfd_elf_swap_vernaux_out): Likewise. + (_bfd_elf_swap_versym_in, _bfd_elf_swap_versym_out): Likewise. + (_bfd_elf_print_private_bfd_data): Add DT_VER* constants. Print + version information if there is any. + (_bfd_elf_link_hash_newfunc): Initialize verinfo field. + (bfd_section_from_shdr): Handle SHT_GNU_ver* section types. + (elf_fake_sections): Handle .gnu.version* section names. + (assign_section_numbers): Handle SHT_GNU_ver* section types. + (_bfd_elf_slurp_version_tables): New function. + * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't include + version name in string entered in dynamic hash table. + * elfcode.h: Include fnmatch.h. + * elf32-i386.c (elf_i386_relocate_section): Handle a dynamic + symbol which was forced to become local. + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. + * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. + * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. + +Fri Feb 21 16:15:18 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (mn10200_elf_final_link_relocate): Simplify + somewhat. + (mn10200_elf_relax_section): Correctly compute a symbol's value + when the symbol is local, but not in the same section as we are + relaxing. Implement abs24 -> abs16, imm24 -> imm16 and d24 -> d16 + relaxing. + +Fri Feb 21 13:55:14 1997 Doug Evans + + * elf32-m32r.c: Rewrite to use ELF backend linker. + Store lower 16 bits of addend in R_M32R_HI16_[SU]LO insns. + Add small data area support (R_M32R_SDA16). + * reloc.c: Document BFD_RELOC_M32R_SDA16. + * bfd-in2.h,libbfd.h: Regenerated. + +Thu Feb 20 23:50:31 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (mn10200_elf_relax_section): New function. + (mn10200_elf_relax_delete_bytes): Likewise. + (mn10200_elf_symbol_address_p): Likewise. + (mn10200_elf_get_relocated_section_contents): Likewise. + (bfd_elf32_bfd_relax_section): Define. + (bfd_elf32_bfd_get_relocated_section_contents): Likewise. + + * elf32-mn10200.c (mn10200_elf_final_link_relocate): New function. + (mn10200_elf_relocate_section): Likewise. + (elf_backend_relocate_section): Define. + +start-sanitize-d30v +Tue Feb 18 17:22:59 1997 Martin M. Hunt + + * Makefile.in, archures.c, config.bfd, configure.in, elf.c, + reloc.c, targets.c: New target, elf-*-D30V. + + * bfd-in2.h, configure, libbfd.h: Rebuilt. + + * cpu-d30v.c, elf32-d30v.c: New files. + +end-sanitize-d30v +Tue Feb 18 15:31:48 1997 Fred Fish + + * reloc.c (struct reloc_howto_struct): Fix typo in comment. + * bfd-in2.h: Regenerated. +start-sanitize-tic80 + * coff-tic80.c (RTYPE2HOWTO): Replace abort with real function. + (rtype2howto): Add function. + (tic80_howto_table): Add. +end-sanitize-tic80 + +Tue Feb 18 11:41:00 1996 Dawn Perchik + + * sysdep.h: Don't define errno in MSVC if error.h is included. + +start-sanitize-v850 +Tue Feb 18 10:04:13 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-v850.c (v850_elf_relocate_section): Make sure r_symndx + is initialized before it is used. + +end-sanitize-v850 +Mon Feb 17 11:28:40 1997 Ian Lance Taylor + + * hp300hpux.c (convert_sym_type): Don't convert a secondary common + symbol into a weak undefined symbol; leave it as a common symbol. + +Fri Feb 14 19:08:03 1997 Ian Lance Taylor + + * elflink.h (elf_link_add_object_symbols): Don't issue a warning + about a symbol defined in a dynamic object if it has already been + defined in a regular object. + Thu Feb 13 20:53:22 1997 Klaus Kaempf (kkaempf@progis.de) * makefile.vms: Add gcc flags to allow compiling with current gcc snapshot (targmatch.h): New dependency. + * reloc.c (BFD_RELOC_ALPHA_CODEADDR): New relocation for + openVMS/Alpha. + * evax.h (ALPHA_R_CODEADDR): New relocation. + * evax-alpha.c (ALPHA_R_CODEADDR): 64 bit procedure relocation for + openVMS/Alpha. + * evax-etir.c (ALPHA_R_CODEADDR): Output object code for this + relocation. + * bfd-in2.h, libbfd.h: Rebuild. + + Restrict symbol length to 64 bytes, case preserving: + * evax-emh.c (_bfd_evax_write_emh): Remove case hacking. + * evax-misc.c (_bfd_evax_case_hack_symbol): Remove. + (_bfd_evax_length_hash_symbol): Added. + * evax-etir.c (_bfd_evax_write_etir): Call + _bfd_evax_length_hash_symbol before output of symbol. + * evax-egsd.c (_bfd_evax_write_egsd): Likewise. + * evax.h (flag_hash_long_names, flag_show_after_trunc): Remove. + + * evax-emh.c: Output filename to object file without path. + + * evax-egsd.c: New sections for local and global commons. + + * evax-alpha.c, evax-emh.c, evax-egsd.c, evax-etir.c, + evax-misc.c, evax.h: Remove 8 bit characters from copyright + notices. Replace AXP with Alpha. + Wed Feb 12 18:10:30 1997 Ian Lance Taylor * sunos.c (sunos_create_dynamic_sections): We need the dynamic @@ -24,13 +781,11 @@ Tue Feb 11 15:27:32 1997 Ian Lance Taylor * reloc.c (BFD_RELOC_MIPS16_GPREL): Define. * bfd-in2.h, libbfd.h: Rebuild. -start-sanitize-m32r Mon Feb 10 23:25:00 1997 Doug Evans * elf32-m32r.c (elf_m32r_howto_table): Change partial_inplace to true for R_M32R_{16,32,24,HI16_ULO,HI16_SLO,LO16}. -end-sanitize-m32r start-sanitize-r5900 Fri Feb 7 16:20:17 1997 Gavin Koch @@ -95,14 +850,12 @@ Wed Jan 29 00:00:49 1997 Jeffrey A Law (law@cygnus.com) (elf_mn10200_howto_table): Likewise. (mn10200_reloc_map): Likewise. -start-sanitize-m32r Mon Jan 27 12:07:35 1997 Doug Evans * reloc.c: Add relocs BFD_RELOC_M32R_{HI16_[US]LO,LO16}. * bfd-in2.h, libbfd.h: Regenerated. * elf32-m32r.c: Add support for them. -end-sanitize-m32r Mon Jan 27 12:25:02 1997 Ian Lance Taylor * aout-arm.c (MY_swap_std_reloc_in): Remove unused r_length. @@ -559,13 +1312,11 @@ 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. @@ -580,20 +1331,16 @@ Mon Nov 11 10:37:02 1996 Michael Meissner 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. @@ -676,7 +1423,6 @@ Mon Oct 21 10:54:58 1996 Ian Lance Taylor when attempting to do a relocateable link with different object file formats, rather than calling abort. -start-sanitize-m32r Thu Oct 17 10:43:29 1996 Doug Evans * reloc.c (m32r relocs): Rename them. @@ -686,7 +1432,6 @@ Thu Oct 17 10:43:29 1996 Doug Evans (elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it. (elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks. -end-sanitize-m32r Wed Oct 16 11:24:35 1996 Jeffrey A Law (law@cygnus.com) * linker.c (_bfd_generic_final_link): Set "linker_mark" for @@ -933,14 +1678,12 @@ Mon Sep 23 13:33:00 1996 Ian Lance Taylor * elf32-ppc.c (ppc_elf_add_symbol_hook): Create the .sbss section by hand, rather than by calling bfd_make_section. -start-sanitize-m32r Mon Sep 23 09:23:41 1996 Doug Evans * reloc.c: Rename m32r relocs. * bfd-in2.h, libbfd.h: Rebuilt. * elf32-m32r.c: Update. -end-sanitize-m32r Fri Sep 20 11:43:43 1996 Ian Lance Taylor * aoutx.h (aout_link_input_section_ext): When doing a relocateable @@ -1009,14 +1752,12 @@ Fri Sep 13 15:50:57 1996 Ian Lance Taylor R_PARISC_DIR32, so that _bfd_stab_section_find_nearest_line passes its sanity check. -start-sanitize-m32r Thu Sep 12 11:45:57 1996 Doug Evans * reloc.c: Add m32r relocs. * bfd-in2.h, libbfd.h: Rebuilt. * cpu-m32r.c,elf32-m32r.c: New files. -end-sanitize-m32r Thu Sep 12 11:10:05 1996 Ian Lance Taylor * ieee.c (ieee_vec): Set symbol_leading_char field to '_'. @@ -1114,18 +1855,14 @@ Tue Sep 10 16:18:30 1996 Fred Fish (copy_name): Ditto. * syms.c (coff_section_type): Ditto. -start-sanitize-m32r Mon Sep 9 22:36:01 1996 Jeffrey A Law (law@cygnus.com) * bfd-in2.h: Rebuilt after m32r changes. -end-sanitize-m32r Mon Sep 9 12:31:22 1996 Doug Evans -start-sanitize-m32r * config.bfd,configure.in,configure: Add m32r support. * Makefile.in,archures.c,elf.c,targets.c: Likewise. -end-sanitize-m32r * config.bfd: Keep target list alphabetically sorted. start-sanitize-v850 @@ -1136,13 +1873,11 @@ Mon Sep 9 11:48:41 1996 Jeffrey A Law (law@cygnus.com) (case R_V850_HI16_S): Likewise. end-sanitize-v850 -start-sanitize-d10v Fri Sep 6 17:04:39 1996 Martin M. Hunt * elf32-d10v.c (elf_d10v_howto_table): Modify the size of R_D10V_16 and R_D10V_18 to be 1 (word). -end-sanitize-d10v Thu Sep 5 15:23:08 1996 Ian Lance Taylor * stabs.c (_bfd_link_section_stabs): If the output_section field @@ -1468,12 +2203,10 @@ Wed Aug 7 12:12:03 1996 Ian Lance Taylor (elf_i386_info_to_howto_rel): Check that the reloc type is valid. (elf_i386_relocate_section): Likewise. -start-sanitize-d10v Tue Aug 6 12:54:56 1996 Martin M. Hunt * elf32-d10v.c (elf_d10v_howto_table): Added R_D10V_32. -end-sanitize-d10v Mon Aug 5 13:42:41 1996 Ian Lance Taylor * elf.c (_bfd_elf_make_section_from_shdr): For a loadable section, @@ -1537,13 +2270,11 @@ Wed Jul 24 12:02:53 1996 Ian Lance Taylor memory position separately from the file position, and use it to compute the alignment adjustment. -start-sanitize-d10v Tue Jul 23 10:43:31 1996 Martin M. Hunt * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long" and fixed mask on R_D10V_10_PCREL_L. -end-sanitize-d10v Mon Jul 22 15:30:30 1996 Ian Lance Taylor * elf64-mips.c: Include "aout/ar.h". @@ -1633,7 +2364,6 @@ Wed Jul 17 18:02:32 1996 Kim Knuttila * coff-ppc.c: Redid debug scheme - numerous fprintf's gone. Also removed most abort calls, in favor of using bfd reporting. -start-sanitize-d10v Wed Jul 17 14:51:52 1996 Martin M. Hunt * Makefile.in (ALL_MACHINES): Add cpu-d10v.o. @@ -1650,7 +2380,6 @@ Wed Jul 17 14:51:52 1996 Martin M. Hunt * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, BFD_RELOC_D10V_18, BFD_RELOC_D10V_18_PCREL): Define. * targets.c (bfd_elf32_d10v_vec): New vector. -end-sanitize-d10v Wed Jul 17 10:58:55 1996 Kim Knuttila @@ -6342,7 +7071,7 @@ See file ChangeLog.2 Local Variables: -mode: indented-text +mode: change-log left-margin: 8 fill-column: 74 version-control: never