aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1997-04-21Mon Apr 21 11:21:31 1997 Andreas Schwab ↵Ian Lance Taylor1-0/+16
<schwab@issan.informatik.uni-dortmund.de> * elf32-m68k.c: Follow the last changes in elf32-i386.c: (struct elf_m68k_pcrel_relocs_copied, struct elf_m68k_link_hash_entry, struct elf_m68k_link_hash_table, elf_m68k_link_hash_traverse, elf_m68k_hash_table, elf_m68k_link_hash_newfunc, elf_m68k_link_hash_table_create, elf_m68k_discard_copies, bfd_elf32_bfd_link_hash_table_create): New definitions. (elf_m68k_check_relocs): If linking with -Bsymbolic, don't copy PC relative relocs for a global symbol defined in a regular object, and count the number of PC relative relocs copied for any global symbol. (elf_m68k_size_dynamic_sections): If linking with -Bsymbolic, traverse with elf_m68k_discard_copies.
1997-04-20 * elf32-i386.c (elf_i386_check_relocs): Only count PC relativeIan Lance Taylor1-0/+3
relocs. From Jamie Lokier <jamie@rebellion.co.uk>.
1997-04-20 * coffcode.h (coff_compute_section_file_positions): Force theIan Lance Taylor1-0/+6
potential last byte in the file to be written out when COFF_IMAGE_WITH_PE.
1997-04-18 * coff-alpha.c (bsd_alpha_howto_table): Cloned from alpha_howto_tableIan Lance Taylor3-134/+316
but with an added LITERALSLEAZY entry. (alpha_adjust_reloc_in): Add handling of LITERALSLEAZY relocs. Use info on the howto_table gotten from the ecoff_backend data. (alpha_ecoff_get_relocated_section_contents): Ditto. (alpha_bfd_reloc_type_lookup): Ditto. (alpha_relocate_section): Ditto. Also remove an assertion causing failures on *BSD/alpha systems. (alpha_ecoff_backend_data): Addition of fields to handle different howto tables as well as a has_literalseazy flag. (bsd_alpha_ecoff_backend_data): New backend data structure for *BSD. (bsd_ecoffalpha_little_vec): Define. * coff-mips.c (MIPS_HOWTO_COUNT): Removed, it's unused. (mips_adjust_reloc_in): Use new ecoff_backend data to get at the howto table. (mips_bfd_reloc_type_lookup): Ditto. (mips_relocate_section): Ditto. (mips_ecoff_backend_data): Addition of fields to handle different howto tables as well as a has_literalseazy flag. * config.bfd: (alpha-*-openbsd*): New target. * configure.in (alpha*-*-openbsd*): New target. (bsd_ecoffalpha_little_vec): New vector for *BSD/Alpha ECOFF. * ecoff.c (_bfd_ecoff_set_arch_mach_hook): Handle new magic. (ecoff_get_magic): Ditto. * libecoff.h (ecoff_backend_data): Addition of fields to handle different howto tables as well as a has_literalseazy flag. * reloc.c: BFD_RELOC_ALPHA_LITERALSLEAZY): New reloc. * targets.c (bsd_ecoffalpha_little_vec): Declare. (bfd_target_vector): Include the bsd_ecoffalpha_little_vec target. * configure, bfd-in2.h, libbfd.h: Rebuild.
1997-04-17xIan Lance Taylor1-1/+1
1997-04-17Thu Apr 17 13:46:56 1997 Per Fogelstrom <pefo@openbsd.org>Ian Lance Taylor1-0/+4
* configure.host (mips*-*-openbsd*): New target.
1997-04-17 * elflink.h (elf_link_add_object_symbols): Only subtract theIan Lance Taylor2-3/+6
section VMA from the symbol value if this is a fully linked file.
1997-04-17 * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Define.Ian Lance Taylor2-18/+279
(struct elf_i386_link_hash_entry): Define. (struct elf_i386_link_hash_table): Define. (elf_i386_link_hash_traverse): Define. (elf_i386_hash_table): Define. (elf_i386_link_hash_newfunc): New static function. (elf_i386_link_hash_table_create): New static function. (elf_i386_check_relocs): If linking with -Bsymbolic, don't copy PC relative relocs for a global symbol defined in a regular object, and count the number of PC relative relocs copied for any global symbol. (elf_i386_size_dynamic_sections): If linking with -Bsymbolic, traverse with elf_i386_discard_copies. (elf_i386_discard_copies): New static function. (bfd_elf32_bfd_link_hash_table_create): Define.
1997-04-17 From Gordon W. Ross <gwr@mc.com>:Ian Lance Taylor1-0/+6
* aoutf1.h (MY_entry_is_text_address): Define if not defined. (sunos4_aout_backend): Use MY_entry_is_text_address.
1997-04-16 From Gordon W. Ross <gwr@mc.com>:Ian Lance Taylor1-1/+9
* netbsd.h (N_SHARED_LIB): Define. (SEGMENT_SIZE): Don't define. * m68knetbsd.c (SEGMENT_SIZE): Don't define (revert change of April 11). * sparcnetbsd.c (TARGET_PAGE_SIZE): Define as 0x2000. (SEGMENT_SIZE): Don't define.
1997-04-16Wed Apr 16 12:43:32 1997 Martin Hunt <hunt@cygnus.com>Martin Hunt1-0/+7
* elf32-d30v.c (elf_d30v_howto_table): Changed size of R_D30V_32_NORMAL to 2 (4 bytes).
1997-04-16 * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Set .rela.bss sizeIan Lance Taylor1-0/+6
to sizeof Rela structure, not sizeof Rel structure. From Gary Thomas <g.thomas@opengroup.org>.
1997-04-15 * aout-target.h (MY(callback)): If entry_is_text_address, adjustIan Lance Taylor1-0/+4
whenever entry is larger than text address, but only by whole pages. From Gordon W. Ross <gwr@mc.com>.
1997-04-15 * Makefile.in (install): Depend upon installdirs. UseIan Lance Taylor2-14/+22
mkinstalldirs to build $(oldincludedir). (installdirs): New target.
1997-04-15 * elflink.h (elf_link_add_object_symbols): Don't call check_relocsIan Lance Taylor2-1/+13
if this is a debugging section which we are stripping.
1997-04-14 From Thomas Graichen <graichen@rzpd.de>:Ian Lance Taylor1-0/+7
* Makefile.in: Always use $(SHELL) when running move-if-change. * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub. * configure: Rebuild.
1997-04-11 * elfcode.h (elf_slurp_symbol_table): Only subtract the sectionIan Lance Taylor1-0/+3
VMA if this is an executable file or a shared object.
1997-04-11 * targets.c (netbsd_core_vec): Declare. From Gordon W. RossIan Lance Taylor1-0/+20
<gwr@mc.com>. * libaout.h (struct aout_backend_data): Add entry_is_text_address field. * aout-target.h (SEGMENT_SIZE): Define to TARGET_PAGE_SIZE at the start of the file. Remove uses later on which switch using ifdef. (MY(callback)): Handle entry_is_text_address. (MY_entry_is_text_address): Define if not defined. (MY(backend_data)): Initialize new field. * aoutf1.h (sunos4_aout_backend): Likewise. * i386aout.c (MY(backend_data)): Likewise. * i386mach3.c (MY(backend_data)): Likewise. * mipsbsd.c (MY(backend_data)): Likewise. * sparclynx.c (sparclynx_aout_backend): Likewise. * netbsd.h (SEGMENT_SIZE): Define if not defined. (MY_entry_is_text_address): Define. * m68knetbsd.c (SEGMENT_SIZE): Define as 0x20000
1997-04-11 * xcofflink.c (bfd_xcoff_import_symbol): Handle importing a symbolIan Lance Taylor1-0/+5
whose name starts with `.'. PR 12061.
1997-04-11 * config.bfd: (i[3456]86-*-openbsd*, m68*-*-openbsd*,Ian Lance Taylor3-25/+37
mips*el*-*-openbsd*, mips*-*-openbsd*, ns32k-*-openbsd*, powerpc-*-*bsd*, sparc-*-openbsd*): New targets. * configure.in (i[3456]86-*-openbsd*, mips*-*-openbsd*, m68*-*-openbsd*, ns32k-*-openbsd*, powerpc-*-*bsd*, sparc-*-openbsd*): New targets. * configure: Rebuild.
1997-04-08Tue Apr 8 18:09:29 1997 Jamie Lokier <jamie@rebellion.co.uk>Ian Lance Taylor1-0/+8
* stabs.c (struct stab_section_info): New field `cumulative_skips'. (_bfd_link_section_stabs): Fill the above array. (_bfd_stab_section_offset): Use `cumulative_skips' to speed up offset calculation.
1997-04-08 * elf32-mn10300.c (mn10300_elf_relax_section): Don't forget theJeff Law1-0/+3
addend for non pc-relative relocations. Bug exposed by testing relaxing linker.
1997-04-08 * elf-m10300.c (bfd_elf32_mn10300_reloc): Remove prototypeJeff Law2-0/+1551
for non-existent function. Just something I noticed. * elf-m10300.c (mn10300_elf_relax_section): New function. (mn10300_elf_relax_delete_bytes): Likewise. (mn10300_elf_symbol_address_p): Likewise. (mn10300_elf_get_relocated_section_contents): Likewise. (bfd_elf32_bfd_relax_section): Define. (bfd_elf32_bfd_get_relocated_section_contents): Likewise. Basic relaxing linker.
1997-04-07 * configure.host: Set SHLIB_LIBS.Ian Lance Taylor4-68/+87
* configure.in: Substitute SHLIB_LIBS. * configure: Rebuild. * Makefile.in (SHLIB_LIBS): New variable. ($(SHLIB)): Use $(SHLIB_LIBS).
1997-04-07 * Makefile.in (distclean): Don't remove *.info files.Ian Lance Taylor2-21/+52
1997-04-07Mon Apr 7 10:53:52 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+5
* bfd-in.h bfd-in2.h: add bfd_section_lma macro to correspond with bfd_section_vma.
1997-04-05 * configure.in: Update file names for bfd_elf32_mn10[23]00_vec.Ian Lance Taylor3-22/+28
Correct CPU file names for mn10[23]00. * configure: Rebuild.
1997-04-04 * bfd.c (bfd_record_phdr): Cast count to size_t beforeIan Lance Taylor1-0/+3
subtraction.
1997-04-04 * coff-ppc.c (dump_toc): Add cast to avoid warning from SunOS cc.Ian Lance Taylor2-6/+20
* coff-rs6000.c (xcoff_read_ar_hdr): Likewise. (xcoff_write_archive_contents): LIkewise. * elf32-mips.c (_bfd_mips_elf_set_section_contents): Likewise. (mips_elf_create_procedure_table): Likewise. * peicode.h (pe_print_idata): Likewise. (pe_print_edata, pe_print_pdata, pe_print_reloc): Likewise. * xcofflink.c (xcoff_get_section_contents): Likewise. (_bfd_xcoff_canonicalize_dynamic_symtab): Likewise. (xcoff_link_add_symbols): Likewise. (xcoff_link_add_symbols): Likewise.
1997-04-04 * ppcboot.c (ppcboot_set_arch_mach): Make static.Ian Lance Taylor1-0/+3
(ppcboot_bfd_print_private_bfd_data): Likewise.
1997-04-04 * elf32-mips.c (elf_mips_ctor64_howto): Set complain_on_overflowIan Lance Taylor2-21/+53
to complain_overflow_signed.
1997-04-03 * VERSION: Set to 2.8.1.Ian Lance Taylor2-1/+14
* Branched binutils 2.8.
1997-04-03tweak last patchIan Lance Taylor1-9/+33
1997-04-02Revert last patch, and:Ian Lance Taylor2-14/+17
* elflink.h (elf_link_add_object_symbols): Let a common symbol override an uninitialized symbol from a shared library with a smaller size.
1997-04-02 * elflink.h (elf_link_add_object_symbols): When there is a sizeIan Lance Taylor2-5/+12
change, use the larger size. From H.J. Lu <hjl@gnu.ai.mit.edu>.
1997-04-02Undo part of 3/26 change and always create got sectionMichael Meissner2-16/+45
1997-04-02 * elf-m10200.c: Rename from elf32-mn10200.c.Ian Lance Taylor6-503/+10
* 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.
1997-04-02 * elf32-mips.c (elf_mips_ctor64_howto): New static variable.Ian Lance Taylor1-0/+6
(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.
1997-04-02 * elf32-mips.c (mips16_jump_reloc): Print a warning rather thanIan Lance Taylor2-11/+54
calling abort. PR 11972.
1997-04-01Tue Apr 1 16:18:05 1997 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor3-60/+11
* configure.com: New file. * config.h-vms: Remove file. * makefile.vms: Update for new configure scheme.
1997-04-01Mon Mar 31 23:28:39 1997 H.J. Lu <hjl@gnu.ai.mit.edu>Ian Lance Taylor1-0/+4
* coffcode.h (coff_mkobject_hook): Declare if not a macro.
1997-03-31xIan Lance Taylor1-1/+1
1997-03-31Mon Mar 31 16:29:50 1997 Joel Sherrill <joel@oarcorp.com>Ian Lance Taylor1-0/+4
* bfd/config.bfd (hppa*-*-rtems*): New target, like hppa-*-*elf*.
1997-03-31 * coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as aIan Lance Taylor2-1/+6
symbol index for a R_IHCONST reloc.
1997-03-31Mon Mar 31 15:40:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor1-0/+6
* targmatch.sed: Do not use \(\) recursively.
1997-03-28 From David S. Miller <davem@caip.rutgers.edu> and H.J. LuIan Lance Taylor3-0/+783
<hjl@gnu.ai.mit.edu>: * sparclinux.c: New file. * 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.
1997-03-28Fri Mar 28 14:44:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>Ian Lance Taylor1-0/+5
* m68klinux.c (MACHTYPE_OK): Define. * i386linux.c (MACHTYPE_OK): Define.
1997-03-28 * coff-mips.c (mips_ecoff_backend_data): Initialize newIan Lance Taylor1-0/+4
bfd_coff_backend_data field. * coff-alpha.c (alpha_ecoff_backend_data): Likewise.
1997-03-28 * config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecsIan Lance Taylor2-4/+6
for mips*el*-*-linux* and mips*-*-linux*. From H.J. Lu <hjl@lucon.org> and Ralf Baechle <ralf@gnu.ai.mit.edu>.
1997-03-28 * bfd.c: Include "libiberty.h".Ian Lance Taylor1-0/+6
(strerror): Don't declare. (bfd_errmsg): Call xstrerror rather than strerror.