aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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.
1997-03-27 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPYIan Lance Taylor1-0/+6
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.
1997-03-27 * coffcode.h (bfd_coff_backend_data): Add new fieldIan Lance Taylor1-0/+8
_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.
1997-03-27 * COPYING: Update FSF address.Ian Lance Taylor1-0/+4
1997-03-27Thu Mar 27 00:45:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+10
* elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the 21-bit absolute that made it act as a relative.
1997-03-26 * elf32-ppc.c (ppc_elf_check_relocs): Only create the got sectionIan Lance Taylor1-0/+5
if it is needed.
1997-03-26 * aoutx.h (some_aout_object_p): Change executable test to fixStu Grossman1-0/+5
problems with embedded a.out systems.
1997-03-25 * stabs.c (_bfd_stab_section_offset): New function.Ian Lance Taylor2-9/+44
* 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.
1997-03-25 * stabs.c (_bfd_link_section_stabs): Copy over the first headerIan Lance Taylor5-10/+584
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.
1997-03-25 * coff-tic80.c (tic80_howto_table): Add R_ABS entry.Fred Fish1-0/+8
(rtype2howto): Handle R_ABS reloc type. Also abort on unhandled reloc types, rather than silently failing to generate an output file.
1997-03-24 * targmatch.sed: Use the hold space to put the #ifdef around theIan Lance Taylor1-0/+7
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.
1997-03-24 * Makefile.in: Rebuild dependencies.Ian Lance Taylor1-0/+5
(ALL_MACHINES_CFILES): Add cpu-m32r.c. (BFD32_BACKENDS_CFILES): Add elf32-m32r.c. (elf32-m32r.o): Remove explicit target.
1997-03-24 * config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* orIan Lance Taylor1-0/+3
i[3456]86-*-linux*.
1997-03-24 * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Don'tIan Lance Taylor2-15/+37
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.
1997-03-21Remove m32r sanitization.David Edelsohn5-56/+6
1997-03-21 * elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16.David Edelsohn1-22/+19
(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. * 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. Bring over from m32r-970131 branch.
1997-03-21 * elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there isIan Lance Taylor2-9/+25
no .rela.plt section, don't output a DT_PLTGOT dynamic entry. Handles the case of a shared library with no function calls.
1997-03-20 Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>.Ian Lance Taylor9-427/+598
* 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.
1997-03-20 * binary.c (binary_set_section_contents): Don't get misled if theIan Lance Taylor1-0/+4
first section is not loadable. From Matthew L. Martin <mlm@xedia.com>.
1997-03-20 * elflink.h (elf_bfd_final_link): Set the value of a sectionIan Lance Taylor2-1/+15
symbol to the section address unless doing a relocateable link.
1997-03-19 * Makefile.in: Rebuild dependencies.Ian Lance Taylor1-0/+1
1997-03-19Tue Mar 18 22:40:09 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor3-11/+803
* 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.
1997-03-19start-sanitize-m32rIan Lance Taylor1-0/+5
* elf32-m32r.c (m32r_elf_is_local_label_name): Remove. (bfd_elf32_bfd_is_local_label): Don't define. end-sanitize-m32r
1997-03-18 * xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc ratherIan Lance Taylor2-5/+7
than malloc.
1997-03-18fix tipo in commentIan Lance Taylor1-2/+3
1997-03-18 * bfd-in.h: Don't include obstack.h.Ian Lance Taylor12-701/+396
(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.
1997-03-17 * srec.c (srec_scan): Rewrite to not use obstack_1grow.Ian Lance Taylor2-71/+134
1997-03-17 * opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove.Ian Lance Taylor4-25/+6
* 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.