aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1996-06-27 * configure.in: Add AC_ISC_POSIX, and check for setitimer andIan Lance Taylor1-0/+6
sysconf functions (for gprof). * configure, config.in: Rebuild.
1996-06-27 * ecoff.c (_bfd_ecoff_archive_p): Check the first object file inIan Lance Taylor1-0/+4
an archive if it has a map. If the object file has the wrong xvec, reject it. PR 9972.
1996-06-26 * coff-alpha.c (alpha_adjust_reloc_in): Set the addend for aIan Lance Taylor1-0/+5
BRADDR, SREL16, SREL32, or SREL64 reloc against an external symbol. (alpha_relocate_section): Likewise.
1996-06-26 * coffswap.h (coff_swap_reloc_out): Use RELSZ, not sizeof.Ian Lance Taylor1-0/+11
(coff_swap_filehdr_out): Use FILHSZ, not sizeof. (coff_swap_sym_out): Use SYMESZ, not sizeof. (coff_swap_aux_out): Use AUXESZ, not sizeof. (coff_swap_lineno_out): Use LINESZ, not sizeof. (coff_swap_aouthdr_out): Use AOUTSZ, not sizeof. (coff_swap_scnhdr_out): Use SCNHSZ, not sizeof. * peicode.h: Corresponding changes.
1996-06-25Comment out code to make GOT pointers negative of the GOT symbol for nowMichael Meissner1-0/+6
1996-06-25Tue Jun 25 11:41:24 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+8
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't increment the .rela.plt size until after we're done creating the .plt entry. (elf64_alpha_finish_dynamic_symbol): Change .plt entry to load the .rela.plt offset directly rather than calculating it.
1996-06-25typeoJason Molenda1-5/+5
1996-06-25 * Makefile.in, Makefile.in (bindir, libdir, datadir, mandir, infodir,Jason Molenda1-0/+11
includedir): Use autoconf-set values. * doc/Makefile.in, Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. (docdir): Deleted. * configure.in (AC_PREREQ): autoconf v2.5 or higher. * configure: Rebuilt.
1996-06-25 * som.c (som_write_fixups): Fix typo in R_END_TRY for exceptionJeff Law1-0/+10
handling code > 1k away. PA exception handling crud.
1996-06-24 * elf.c (elf_fake_sections): Don't set sh_addr of a non SEC_ALLOCIan Lance Taylor1-0/+15
section to 0 if user_set_vma is set. * elflink.h (elf_bfd_final_link): Likewise.
1996-06-21Fri Jun 21 17:38:15 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>Ian Lance Taylor1-0/+4
* config.bfd: Add support for *-*-rtems* configurations.
1996-06-21 * elf.c (prep_headers): Add bfd_arch_alpha case.Ian Lance Taylor1-0/+4
1996-06-21Fri Jun 21 12:35:27 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+15
* elf64-alpha.c: New file. * config.bfd (alpha-*-linuxecoff*): New target. (alpha-*-linux*, alpha-*-elf*): New targets. * configure.in (bfd_elf64_alpha_vec): New vector. * configure: Rebuild. * targets.c (bfd_elf64_alpha_vec): Declare. (bfd_target_vector): Add bfd_elf64_alpha_vec if BFD64. * reloc.c (BFD_RELOC_ALPHA_GPDISP): Define. * bfd-in2.h, libbfd.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD64_BACKENDS): Add elf64-alpha.o. (BFD64_BACKENDS_CFILES): Add elf64-alpha.c.
1996-06-20 * coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PEDavid Edelsohn1-0/+8
ifdef to COFF_WITH_PE. (coff_compute_section_file_positions): Likewise. (coff_write_object_contents): Likewise. Delete COFF_OBJ_WITH_PE. * pe-{arm,i386,ppc}.c (COFF_OBJ_WITH_PE): Delete. * peicode.h (pe_bfd_copy_private_bfd_data): Delete ifdef COFF_IMAGE_WITH_PE, always include.
1996-06-20 * ecoff.c (ecoff_armap_hash): If hlog is 0, just return 0, ratherIan Lance Taylor1-0/+5
than relying on a right shift of 32.
1996-06-20 * peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0.David Edelsohn1-0/+4
1996-06-19 * elf.c (map_sections_to_segments): Fix up the test for -Ttext toIan Lance Taylor1-0/+3
approximate the correct answer if SIZEOF_HEADERS was not used.
1996-06-19 * binary.c (binary_set_section_contents): Set section fileIan Lance Taylor1-0/+5
position based on LMA rather than VMA.
1996-06-19Wed Jun 19 11:19:25 1996 Manfred Hollstein KS/EIC5 60/3/142 #40283 ↵Ian Lance Taylor1-0/+24
<manfred@lts.sel.alcatel.de> * linker.c (_bfd_generic_link_output_symbols): Don't output any symbols if info->strip == strip_all.
1996-06-18Tue Jun 18 14:42:58 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor1-0/+23
Added support for Alpha OpenVMS: * evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files. * evax-etir.c, evax-misc.c, hosts/alphavms.h: New files. * config.h-vms, makefile.vms: New files. * config.bfd (alpha-*-*vms*): New target. * configure.in (evax_alpha_vec): New target vector. * configure: Rebuild. * reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define. (BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define. * targets.c (bfd_target_evax_flavour): Define. (evax_alpha_vec): Declare. (bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec if BFD64 is defined. * bfd-in2.h, libbfd.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o, evax-emh.o, and evax-misc.o. (BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c, evax-etir.c, evax-emh.c, and evax-misc.c. (HFILES): Add evax.h.
1996-06-18 * coff-h8300.c (h8300_reloc16_extra_cases): Make name a constIan Lance Taylor1-0/+6
pointer. (h8300_bfd_link_add_symbols): Likewise.
1996-06-17 * som.h (R_HPPA_BEGIN_TRY, R_HPPA_END_TRY): Define.Jeff Law1-0/+5
* som.c (som_write_fixups): Handle R_BEGIN_TRY and R_END_TRY. gunk for EH on the PA.
1996-06-17 * elf32-mips.c (mips_elf_relocate_section): Don't create a relocIan Lance Taylor1-0/+13
for R_MIPS_REL32 and R_MIPS_32 relocs if no dynamic sections were created. (mips_elf_check_relocs): Only create .rel.dyn for R_MIPS_REL32 and R_MIPS_32 relocs if creating a shared library.
1996-06-13 * cofflink.c (_bfd_coff_final_link): Handle long section names.Ian Lance Taylor1-0/+7
* coffcode.h (coff_write_object_contents): If there are long section names, always set the f_symptr field, even if there are no symbols. * peicode.h (coff_swap_filehdr_in): Don't clear the f_symptr field if there are no symbols.
1996-06-13 * coffgen.c (make_a_section_from_file): Check return value ofIan Lance Taylor1-0/+9
_bfd_coff_read_string_table. (coff_real_object_p): Check return value of make_a_section_from_file. (_bfd_coff_read_string_table): Check that there are some symbols before trying to read the string table size.
1996-06-13 * xcofflink.c (xcoff_link_add_symbols): When considering whetherIan Lance Taylor1-0/+5
to replace a symbol in a dynamic object with a symbol from another dynamic object, do the replacement if the existing symbol is global linkage code. PR 9860. Also fix a couple of comment typos and indentation problems.
1996-06-12 * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Check explicitlyIan Lance Taylor1-0/+3
for _ptrgl, and treat it as global linkage code. PR 9860.
1996-06-12 * aoutx.h (NAME(aout,find_nearest_line)): Notice if we find aIan Lance Taylor1-0/+6
filename or N_SO symbol past the offset, and use it to indicate that there is no line number or function when appropriate.
1996-06-11 * xcofflink.c (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR for aIan Lance Taylor1-0/+15
common symbol defined by the linker. Don't export function code even if export_defineds is set. PR 9856.
1996-06-09Opps.Jeff Law1-0/+13
1996-06-08Kill r16/rce/acp stuff.Jim Wilson1-1/+1
1996-06-06 * ieee.c (ieee_write_object_contents): Put a timestamp in the fileIan Lance Taylor1-0/+3
to keep the HP emulator database happy. PR 9493.
1996-06-06Thu Jun 6 15:24:45 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+8
* ecoff.c (_bfd_ecoff_new_section_hook): Remove the _PDATA alignment hack--we can get the lnnoptr info another way without suddenly increasing the alignment requirements. Set the flags for the _PDATA section. (ecoff_compute_section_file_positions): Do so.
1996-06-06 * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*.Ian Lance Taylor1-0/+10
From Kevin Buettner <kev@primenet.com>.
1996-06-04 * linker.c (_bfd_generic_link_add_one_symbol): If notice_all isIan Lance Taylor1-0/+7
set, always call the notice callback. * VERSION: Increment for bfdlink.h change.
1996-06-03 * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4.Ian Lance Taylor1-0/+4
(sh_relax_delete_bytes): Correct handling of differently sized trailing alignment reloc.
1996-06-03 * bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined.Ian Lance Taylor1-0/+5
* bfd-in2.h: Rebuild. * configure.in: Warn if there is no known 64 bit type. * configure: Rebuild.
1996-06-03 * Makefile.in: Rebuild dependencies.Ian Lance Taylor1-0/+4
(BFD32_BACKENDS): Add ppcboot.o. (BFD32_BACKENDS_CFILES): Add ppcboot.c.
1996-06-03 * elf32-mips.c (mips_elf_size_dynamic_sections): Initialize c.Ian Lance Taylor1-0/+5
From Per Fogelstrom <per.fogelstrom@mailbox200.swipnet.se>.
1996-06-02 * elf64-mips.c (bfd_mips_elf64_swap_reginfo_in)Ian Lance Taylor1-0/+7
(bfd_mips_elf64_swap_reginfo_out): Move from here... * elf32-mips.c (bfd_mips_elf64_swap_reginfo_in) (bfd_mips_elf64_swap_reginfo_out): ...to here.
1996-05-31 * elf64-mips.c: Improve reloc special_functions and handling ofIan Lance Taylor1-0/+45
SHT_MIPS_OPTIONS section. * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Rename from mips_elf_hi16_reloc and make globally visible. (_bfd_mips_elf_lo16_reloc): Rename from mips_elf_lo16_reloc and make globally visible. (_bfd_mips_elf_got16_reloc): Rename from mips_elf_got16_reloc and make globally visible. (_bfd_mips_elf_gprel16_reloc): Rename from mips_elf_gprel16_reloc and make globally visible. (gprel16_with_gp): Check howto->src_mask before using value in insn. (_bfd_mips_elf_gprel32_reloc): Rename from mips_elf_gprel32_reloc and make globally visible. (gprel32_with_gp): Check howto->src_mask before fetching value. (bfd_mips_elf_swap_options_in): New function. (bfd_mips_elf_swap_options_out): New function. (_bfd_mips_elf_set_private_flags): Rename from mips_elf_set_private_flags and make globally visible. (_bfd_mips_elf_copy_private_bfd_data): Rename from mips_elf_copy_private_bfd_data and make globally visible. (_bfd_mips_elf_merge_private_bfd_data): Rename from mips_elf_merge_private_bfd_data and make globally visible. (_bfd_mips_elf_section_from_shdr): Accept .MIPS.options as a name for a SHT_MIPS_OPTIONS section. (mips_elf32_section_from_shdr): Handle SHT_MIPS_OPTIONS section. (_bfd_mips_elf_fake_sections): Consider .MIPS.options to be the name of a SHT_MIPS_OPTIONS section. (_bfd_mips_elf_set_section_contents): New function. (mips_elf32_section_processing): Set the GP value in a SHT_MIPS_OPTIONS section. (_bfd_mips_elf_find_nearest_line): Rename from mips_elf_find_nearest_line and make globally visible. (bfd_elf32_set_section_contents): Define. * elf-bfd.h (_bfd_mips_elf_hi16_reloc): Declare. (_bfd_mips_elf_lo16_reloc): Declare. (_bfd_mips_elf_gprel16_reloc): Declare. (_bfd_mips_elf_got16_reloc): Declare. (_bfd_mips_elf_gprel32_reloc): Declare. (_bfd_mips_elf_set_private_flags): Declare. (_bfd_mips_elf_copy_private_bfd_data): Declare. (_bfd_mips_elf_merge_private_bfd_data): Declare. (_bfd_mips_elf_find_nearest_line): Declare. (_bfd_mips_elf_set_section_contents): Declare.
1996-05-31 * elf32-hppa.c (elf32_hppa_info_to_howto): Rename fromIan Lance Taylor1-0/+15
elf_info_to_howto. (elf_info_to_howto): Define. * elf32-sparc.c (elf32_sparc_info_to_howto): Rename from elf_info_to_howto. (elf_info_to_howto): Define. * elf64-sparc.c (sparc64_elf_info_to_howto): Rename from elf_info_to_howto. (elf_info_to_howto): Define.
1996-05-30 * elf64-mips.c: Extensive additions to provide better support forIan Lance Taylor1-0/+42
writing files and for gas. * elf32-mips.c (_bfd_mips_elf_object_p): New function, broken out of mips_elf_object_p. (mips_elf32_object_p): Rename from mips_elf_object_p; call _bfd_mips_elf_object_p. (_bfd_mips_elf_final_write_processing): Rename from mips_elf_final_write_processing and make globally visible. (_bfd_mips_elf_fake_sections): Rename from mips_elf_fake_sections and make globally visible. (_bfd_mips_elf_section_from_bfd_section): Rename from mips_elf_section_from_bfd_section and make globally visible. (_bfd_mips_elf_section_processing): New function, broken out of mips_elf_section_processing. (mips_elf32_section_processing): Rename from mips_elf_section_processing; call _bfd_mips_elf_section_processing. (_bfd_mips_elf_symbol_processing): Rename from mips_elf_symbol_processing and make globally visible. (_bfd_mips_elf_read_ecoff_info): Rename from mips_elf_read_ecoff_info and make globally visible. (mips_elf32_ecoff_debug_swap): Rename from mips_elf_ecoff_debug_swap. * elf.c (_bfd_elf_symbol_from_bfd_symbol): Use asymbol rather than struct symbol_cache_entry. (_bfd_elf_validate_reloc): New function, moved in from elfcode.h:validate_reloc. * elfcode.h (validate_reloc): Remove; moved into elf.c and renamed to _bfd_elf_validate_reloc. Change all callers. * elf-bfd.h (bfd_section_from_shdr): Declare. (_bfd_elf_symbol_from_bfd_symbol): Declare. (_bfd_elf_validate_reloc): Declare. (_bfd_mips_elf_object_p): Declare. (_bfd_mips_elf_fake_sections): Declare. (_bfd_mips_elf_section_from_bfd_section): Declare. (_bfd_mips_elf_section_processing): Declare. (_bfd_mips_elf_symbol_processing): Declare. (_bfd_mips_elf_read_ecoff_info): Declare. (_bfd_mips_elf_final_write_processing): Declare. * elfxx-target.h (bfd_elfNN_get_reloc_upper_bound): Don't define if already defined.
1996-05-30 * elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.Ian Lance Taylor1-0/+5
(mips_elf_final_write_processing): Likewise.
1996-05-29 64-bit MIPS ELF ABI objdump support:Ian Lance Taylor1-0/+82
* elf64-mips.c: New file. * Makefile.in: Rebuild dependencies. (BFD64_BACKENDS): Add elf64-mips.o. (BFD64_BACKENDS_CFILES): Add elf64-mips.c. * config.bfd (mips*el-*-elf*) Add bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to targ_selvecs. (mips*-*-elf*): Likewise. * confingure.in: Add bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to vector switch. * configure: Rebuild. * elf32-mips.c (_bfd_mips_elf_section_from_shdr): New function, broken out of mips_elf_section_from_shdr. (mips_elf32_section_from_shdr): Rename from mips_elf_section_from_shdr. Call new function. (elf_backend_section_from_shdr): Update name of renamed function. * elf-bfd.h (struct elf_size_info): Change second parameter of write_out_phdrs to be const. Likewise for second parameter of swap_symbol_out. (struct bfd_elf_section_data): Add rel_hdr2 field. (bfd_elf32_swap_symbol_in): Change second parameter to be const. (bfd_elf32_swap_symbol_out): Likewise. (bfd_elf32_swap_reloc_in): Likewise. (bfd_elf32_swap_reloc_out): Likewise. (bfd_elf32_swap_reloca_in): Likewise. (bfd_elf32_swap_reloca_out): Likewise. (bfd_elf32_swap_phdr_in): Likewise. (bfd_elf32_swap_phdr_out): Likewise. (bfd_elf32_swap_dyn_in): Likewise. (bfd_elf32_swap_dyn_out): Likewise. (bfd_elf32_slurp_symbol_table): Declare. (bfd_elf32_write_shdrs_and_ehdr): Declare. (bfd_elf32_write_out_phdrs): Declare. (bfd_elf64_swap_symbol_in): Change second parameter to be const. (bfd_elf64_swap_symbol_out): Likewise. (bfd_elf64_swap_reloc_in): Likewise. (bfd_elf64_swap_reloc_out): Likewise. (bfd_elf64_swap_reloca_in): Likewise. (bfd_elf64_swap_reloca_out): Likewise. (bfd_elf64_swap_phdr_in): Likewise. (bfd_elf64_swap_phdr_out): Likewise. (bfd_elf64_swap_dyn_in): Likewise. (bfd_elf64_swap_dyn_out): Likewise. (bfd_elf64_slurp_symbol_table): Declare. (bfd_elf64_write_shdrs_and_ehdr): Declare. (bfd_elf64_write_out_phdrs): Declare. (_bfd_mips_elf_section_from_shdr): Declare. * elf.c (bfd_section_from_shdr): Remove assertion requiring SHT_REL/SHT_RELA to match use_rela_p. If there is already a reloc section for the section, add the new one to rel_hdr2. Increment reloc_count rather than setting it. * elfcode.h (elf_slurp_symbol_table): Define name as macro. Remove static declaration. (elf_write_shdrs_and_ehdr): Define name as macro. (elf_write_out_phdrs): Likewise. (elf_swap_ehdr_in, elf_swap_ehdr_out): Declare. (elf_swap_shdr_in, elf_swap_shdr_out): Declare. (elf_swap_symbol_in): Change second parameter to be const. (elf_swap_symbol_out): Likewise. (elf_swap_ehdr_in, elf_swap_ehdr_out): Likewise. (elf_swap_shdr_in, elf_swap_shdr_out): Likewise. (elf_swap_phdr_in, elf_swap_phdr_out): Likewise. (elf_swap_reloc_in, elf_swap_reloc_out): Likewise. (elf_swap_reloca_in, elf_swap_reloca_out): Likewise. (elf_write_out_phdrs): Rename from write_out_phdrs. Change second parameter to be const. Make non-static. (elf_write_shdrs_and_ehdr): Rename from write_shdrs_and_ehdr. Make non-static. (elf_slurp_symbol_table): Make non-static. (NAME(_bfd_elf,size_info)): Update names of renamed functions. * elfxx-target.h (elf_info_to_howto): Define if not defined. (elf_backend_size_info): Likewise. (elfNN_bed): Use elf_backend_size_info. * targets.c (bfd_elf64_bigmips_vec): Declare. (bfd_elf64_littlemips_vec): Declare. (bfd_target_vector): Add bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec if BFD64 is defined.
1996-05-28 * coff-sh.c (sh_relax_delete_bytes): Insert nop instructions, notIan Lance Taylor1-0/+3
zeroes, in alignment holes.
1996-05-28 * configure: Rebuild with autoconf 2.10.Ian Lance Taylor1-0/+2
1996-05-28 * aoutx.h (NAME(aout,find_nearest_line)): Make room for theIan Lance Taylor1-0/+5
potential leading underscore in the allocated buffer.
1996-05-24Do not put small common symbols into .sbss if ld -rMichael Meissner1-0/+5
1996-05-23 * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Warn aboutIan Lance Taylor1-0/+17
undefined symbols when creating a shared library. PR 9751.