aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1996-07-10 * ecoff.c (_bfd_ecoff_new_section_hook): Set SEC_CODE for _INITIan Lance Taylor2-25/+71
and _FINI sections.
1996-07-10Wed Jul 10 11:18:21 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+5
* coffcode.h (coff_set_section_contents): A/UX does not require special handling of the _LIB section.
1996-07-09 * coff-h8300.c (h8300_reloc16_extra_cases): Use the correctJeff Law1-0/+8
value for R_RELBYTE. Something -Wall caught. * reloc16.c (bfd_coff_reloc16_relax_section): Only "shrinks" array if one was allocated. Something I ran into today.
1996-07-09 From Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>:Ian Lance Taylor2-2/+128
* elf32-mips.c (struct mips_elf_link_hash_table): Add new fields use_rld_obj_head and rld_value. (mips_elf_link_hash_table_create): Initialize new fields. (mips_elf_add_symbol_hook): Mark __rld_obj_head symbol as dynamic. (mips_elf_create_dynamic_sections): Create .rld_map section. If __rld_obj_head symbol not seen, create an __rld_map symbol. (mips_elf_size_dynamic_sections): Make space in .rld_map section. Create a DT_MIPS_RLD_MAP entry rather than a DT_DEBUG entry. (mips_elf_finish_dynamic_symbol): Save value of __rld_map or __rld_obj_head symbol. (mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP.
1996-07-08 * elf32-mips.c (mips_reloc_map): Remove BFD_RELOC_32_PCREL entry.Ian Lance Taylor2-27/+37
1996-07-08 * elf32-ppc.c (ppc_elf_howto_raw): For R_PPC_ADDR16_HA, useIan Lance Taylor2-2/+46
ppc_elf_addr16_ha_reloc. (ppc_elf_addr16_ha_reloc): New static function. PR 10036.
1996-07-08 * coff-mips.c (struct mips_hi): Define.Ian Lance Taylor1-0/+14
(mips_refhi_list): New static variable. (mips_refhi_addr, mips_refhi_addend): Remove. (mips_refhi_reloc): Maintain a list of unmatched REFHI relocs. (mips_reflo_reloc): Process mips_refhi_list. (mips_relhi_list): New static variable. (mips_relhi_addr, mips_relhi_addend): Remove. (mips_relhi_reloc): Maintain a list of unmatched RELHI relocs. (mips_rello_reloc): Process mips_relhi_list. (mips_relocate_section): Permit an arbitrary number of REFHI or RELHI relocs before the associated REFLO or RELLO reloc. PR 10050.
1996-07-05 * aout-target.h (MY(callback)): Set reloc_count fields.Ian Lance Taylor1-0/+4
1996-07-05No longer need to sanitize away h8/s stuff.Jeff Law6-62/+35
1996-07-04 * sunos.c (sunos_add_dynamic_symbols): Don't create dynamicIan Lance Taylor1-0/+3
sections unless this is a SunOS link. PR 10039.
1996-07-04 * VERSION: Set to 2.7.1.Ian Lance Taylor2-1/+7
1996-07-03 * i386aout.c: Include "aout/aout64.h".Ian Lance Taylor1-0/+4
(i386aout_write_object_contents): New static function. (MY_write_object_contents): Define.
1996-07-03 * netbsd.h (MY(write_object_contents)): Make sure thatIan Lance Taylor1-0/+6
adjust_sizes_and_vmas is called before fiddling with the magic number.
1996-07-03 * stabs.c (_bfd_link_section_stabs): Fix casts of psinfo.Ian Lance Taylor1-0/+4
1996-06-30 * libbfd-in.h (itos, stoi): Don't define.Ian Lance Taylor1-0/+16
* libbfd.h: Rebuild. * i386lynx.c (KEEPIT): Define as udata.i. (NAME(lynx,swap_std_reloc_out)): Don't use stoi. (NAME(lynx,swap_ext_reloc_out)): Likewise. * riscix.c (riscix_swap_std_reloc_out): Use udata.i rather than flags. Don't use stoi.
1996-06-29Fixed the ppc/nt strip bug. Missing D_PAGED.Kim Knuttila1-0/+11
1996-06-28 * xcofflink.c (xcoff_link_check_ar_symbols): An undefined symbolIan Lance Taylor1-0/+6
with XCOFF_DEF_DYNAMIC set is really defined. (xcoff_link_check_dynamic_ar_symbols): Likewise. The above is for PR 9997. (xcoff_link_add_symbols): Only create special sections if using an XCOFF hash table.
1996-06-28 * reloc.c (bfd_perform_relocation): Handle xcoff-powermac likeIan Lance Taylor1-0/+6
aixcoff-rs6000. (bfd_install_relocation): Likewise.
1996-06-28Fri Jun 28 11:17:00 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+13
* elf64-alpha.c (struct alpha_elf_link_hash_entry): Add flags field. (ALPHA_ELF_LINK_HASH_LU_ADDR): Define. (ALPHA_ELF_LINK_HASH_LU_MEM): Define. (ALPHA_ELF_LINK_HASH_LU_FUNC): Define. (elf64_alpha_link_hash_newfunc): Initialize flags field. (elf64_alpha_check_relocs): Record types of LITUSE entries that are found for LITERAL relocs. (elf64_alpha_adjust_dynamic_symbol): If a symbol has its address taken, we cannot generate a .plt entry for the symbol.
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 Taylor2-10/+25
(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-26Sanitize h8s stuff out of bfd-in2.h too.Jeff Law1-1/+1
1996-06-25Comment out code to make GOT pointers negative of the GOT symbol for nowMichael Meissner2-1/+9
1996-06-25Tue Jun 25 11:41:24 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor2-0/+3310
* 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 Molenda2-4/+20
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-24Add debug msgMichael Meissner1-1/+9
1996-06-24 * elf.c (elf_fake_sections): Don't set sh_addr of a non SEC_ALLOCIan Lance Taylor2-1/+17
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 Taylor3-7/+27
* 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 Edelsohn3-11/+122
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 Edelsohn2-4/+6
1996-06-19 * elf.c (map_sections_to_segments): Fix up the test for -Ttext toIan Lance Taylor2-8/+117
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-18 * coff-h8300.c: Remove #if 0 code.Jeff Law1-0/+28
(compatable): Don't allow mixing/matching of different architectures. Just stuff I noticed. start-sanitize-h8s * archures.c (bfd_mach_h8300s): Add. * bfd-in2.h: Rebuilt. * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too. (BADMAG): Likewise. (h8300_reloc16_estimate): Likewise. (h8300_reloc16_extra_cases): Likewise. (h8300_bfd_link_add_symbols): Likewise. * coffcode.h (coff_set_arch_mach_hook): Likewise. (coff_set_flags): Likewise. * cpu-h8300.c (h8300_scan): Likewise. Add H8/S to bfd_h8300_arch list. end-sanitize-h8s H8/S support. Sanitized away until we know its official status.
1996-06-18Tue Jun 18 14:42:58 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor13-5/+5953
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 Taylor2-3/+124
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 Taylor2-7/+54
* 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 Taylor2-1/+8
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.