aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1996-01-31Wed Jan 31 11:37:46 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+5
<schwab@issan.informatik.uni-dortmund.de> * elf32-m68k.c (elf_m68k_relocate_section): Fix R_68K_GOT* relocation; ignore addend with R_68K_{GOT,PLT}*O relocation.
1996-01-30 * Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h,Ian Lance Taylor2-5/+23
$(srcdir)/libbfd.h and $(srcdir)/libcoff.h. (maintainer-clean): Warn about deleting special files. (bfd-in2.h, libbfd.h, libcoff.h): New targets.
1996-01-30 * elf32-hppa.c (elf32_hppa_relocate_section): Handle indirect andIan Lance Taylor5-62/+58
warning symbols correctly. * elf32-i386.c (elf_i386_relocate_section): Likewise. * 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-sparc.c (sparc64_elf_relocate_section): Likewise.
1996-01-30 * syms.c (_bfd_stab_section_find_nearest_line): Add casts to avoidIan Lance Taylor1-0/+5
warnings.
1996-01-30 From Basim Kadhim <kadhim@spock.cs.colorado.edu>:Ian Lance Taylor1-0/+7
* ecoff.c (struct extsym_info): Define. (_bfd_ecoff_bfd_final_link): Pass a pointer to struct extsym_info to ecoff_link_write_external. (ecoff_link_write_external): Accept a struct extsym_info pointer. Strip symbols when appropriate.
1996-01-29update copyrightIan Lance Taylor1-1/+1
1996-01-29 Based on patches from Ronald F. Guilmette <rfg@monkeys.com>:Ian Lance Taylor3-10/+30
* syms.c (BSF_OBJECT): Define. (bfd_print_symbol_vandf): Print 'O' for BSF_OBJECT. * bfd-in2.h: Rebuild. * elfcode.h (elf_slurp_symbol_table): Set BSF_OBJECT for an STT_OBJECT symbol. * elf.c (swap_out_syms): Only set type to STT_OBJECT if BSF_OBJECT is set.
1996-01-29 * elf32-i386.c (elf_i386_relocate_section): If -Bsymbolic, whenIan Lance Taylor5-317/+433
copying relocs into a shared object, treat a defined global symbol as a local symbol. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mips.c (mips_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
1996-01-29Fixed exported names, removed a bad defineKim Knuttila4-22/+29
1996-01-29 * elflink.h (elf_link_add_object_symbols): Only set weakdef to aIan Lance Taylor2-2/+6
real defined symbol, not to a weak defined symbol.
1996-01-29Removed a ppc hack from cofflink, promoted some types to libcoff-in.hKim Knuttila5-194/+947
1996-01-26 * syms.c: Include "bfdlink.h".Ian Lance Taylor7-50/+596
(struct stab_find_info): Define. (_bfd_stab_section_find_nearest_line): New function. * libbfd-in.h (_bfd_stab_section_find_nearest_line): Declare. * libbfd.h: Rebuild. * elf-bfd.h (struct elf_obj_tdata): Add line_info field. * elf.c (_bfd_elf_find_nearest_line): Try calling _bfd_stab_section_find_nearest_line before searching the ELF symbol table. Find the closest STT_FUNC symbol, not the last one. * libcoff-in.h (coff_data_type): Add line_info field. * libcoff.h: Rebuild. * coffgen.c (coff_find_nearest_line): Try calling _bfd_stab_section_find_nearest_line before searching the COFF symbol table. * Makefile.in: Rebuild dependencies.
1996-01-25 * libcoff-in.h (struct xcoff_tdata): Remove toc_section andIan Lance Taylor1-0/+18
entry_section fields. Add sntoc and snentry fields. * libcoff.h: Rebuild. * coffcode.h (coff_mkobject_hook): Initialize sntoc and snentry, not toc_section and entry_section (the COFF file does not have any sections at this point). (coff_write_object_contents): Set o_snentry and o_sntoc from snentry and sntoc rather than entry_section and toc_section. * coff-rs6000.c (xcoff_copy_private_bfd_data): Copy sntoc and snentry, not toc_section and entry_section. * xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't set entry_section from hentry. (xcoff_link_input_bfd): If a defined symbol has XCOFF_ENTRY set, set snentyr. (xcoff_link_input_bfd): Set sntoc, not toc_section. (xcoff_write_global_symbol): Get toc_section from sntoc, rather than using toc_section directly.
1996-01-25Make eabi error messages include symbol name if it is an external symbolMichael Meissner2-9/+19
1996-01-25 * archures.c: Add missing `.' in enum bfd_architecture.Ian Lance Taylor1-0/+3
* bfd-in2.h: Rebuild.
1996-01-25 * config.bfd (i[345]86-*-sco*elf*): Use bfd_elf32_i386_vec. FromIan Lance Taylor1-0/+5
Robert Lipe <robertl@arnet.com>.
1996-01-25Add more eabi relocationsMichael Meissner3-24/+68
1996-01-25Fix typo in eabl relocationsMichael Meissner2-8/+53
1996-01-24remove incorrect BFD_ASSERT from last patchIan Lance Taylor1-1/+0
1996-01-24 * config.bfd (sparc64-*-{sysv4*,solaris2*}): Comment outDavid Edelsohn2-1/+6
bfd_elf64_sparc_vec support.
1996-01-24 * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Delete checkingDavid Edelsohn4-48/+15
of flags, only flags used are controlled by mach number. Bump up output file mach number to highest of input file mach numbers. (elf32_sparc_object_p): Watch for EF_SPARC_SUN_US1. (elf32_sparc_final_write_processing): Set EF_SPARC_SUN_US1 if v8plusa. Also, delete v8plus sanitization.
1996-01-23 * coffcode.h (coff_new_section_hook): Don't try to align theIan Lance Taylor2-0/+8
.stabstr section.
1996-01-23tipoIan Lance Taylor1-1/+1
1996-01-23Implement R_PPC_EMB_{SDA21,RELSDA} relocationsMichael Meissner2-2/+13
1996-01-23Do not complain if some objects have the embedded bit set and others do not.Michael Meissner2-19/+11
1996-01-23 * coffcode.h (coff_set_section_contents): Fix the handling of theIan Lance Taylor2-6/+45
.lib section to work even if the entire section contents are written at once. From Gvran Uddeborg <gvran@uddeborg.pp.se> and Robert Lipe <robertl@arnet.com>.
1996-01-23 * bfd-in2.h: Regenerated.David Edelsohn3-0/+5
1996-01-22Make 64k .sdata and .sdata2 sections work; fix typosMichael Meissner3-63/+38
1996-01-22 (sparc_compatible): New function.David Edelsohn1-0/+1
1996-01-22Fix typo in last changeMichael Meissner1-4/+4
1996-01-22Move v8plus stuff around so sanitized code works.David Edelsohn1-12/+12
1996-01-22 * elflink.h (elf_finish_pointer_linker_section): Fix typo.David Edelsohn2-1/+3
1996-01-22* elf64-sparc.c (sparc64_elf_object_p): bfd_mach_sparc64 renamed toDavid Edelsohn2-110/+353
bfd_mach_sparc_v9.
1996-01-22 * archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64.David Edelsohn7-243/+499
start-sanitize-v8plus (bfd_mach_sparc_{v8plus,v8plusa}): Define. end-sanitize-v8plus (bfd_mach_sparc_v9a): Define. * bfd-in2.h: Regenerated. * aoutx.h (aout,machine_type): bfd_mach_sparc64 renamed to bfd_mach_sparc_v9. * config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec to bfd_elf32_sparc_vec. * cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info. start-sanitize-v8plus Add v8plus{,a} support. end-sanitize-v8plus Add v9a support. start-sanitize-v8plus * elf32-sparc.h: #include "elf/sparc.h". (elf32_sparc_set_private_flags, elf32_sparc_copy_private_bfd_data, elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p, elf32_sparc_final_write_processing): New functions. (bfd_elf32_bfd_set_private_flags, bfd_elf32_bfd_copy_private_bfd_data, bfd_elf32_bfd_merge_private_bfd_data, elf_backend_object_p, elf_backend_final_write_processing): Define. end-sanitize-v8plus
1996-01-22snapshot of eabi relocation support.Michael Meissner4-370/+768
1996-01-20Update copyright.David Edelsohn1-1/+1
1996-01-20Oops. Forgot sanitization.David Edelsohn3-0/+32
1996-01-20 * elf32-sparc.c (ELF_MACHINE_ALT1): Define.David Edelsohn2-3/+5
1996-01-19Numerous PowerPC PE fixesKim Knuttila2-0/+27
1996-01-18 * elfcore.h: Include <signal.h> before <sys/procfs.h>.Ian Lance Taylor2-2/+7
PR 8807.
1996-01-17 * cpu-powerpc.c (arch_info_struct): Change last entry to not pointIan Lance Taylor2-0/+130
back to first. (bfd_powerpc_arch): Point at first entry in arch_info_struct.
1996-01-16 * elf.c (assign_file_positions_for_segments): Don't increment fileIan Lance Taylor2-9/+19
offset for a segment which contains no loadable sections.
1996-01-15Add new PPC relocationsMichael Meissner3-3/+133
1996-01-15 * aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22Ian Lance Taylor2-2/+5
entries.
1996-01-15 * sunos.c (sunos_scan_ext_relocs): Don't fail assert ifIan Lance Taylor2-13/+17
info->shared.
1996-01-15update copyrightsIan Lance Taylor5-5/+5
1996-01-15 * coffgen.c (coff_find_nearest_line): Don't try to cacheIan Lance Taylor2-4/+6
information in sections that are not owned by a BFD. From Richard Henderson <richard@atheist.tamu.edu>.
1996-01-15 * elf32-mips.c: Numerous changes to dynamic linking code, mostlyIan Lance Taylor2-5/+11
from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>. * elflink.h (elf_link_output_extsym): Remove special check for _rld_new_interface.
1996-01-15 * ecoffswap.h: Add prototypes for static functions.Ian Lance Taylor1-19/+39
1996-01-15Redo unknown reloc support. Do not allow symbols in .sdata/.sbss to satify ↵Michael Meissner2-122/+76
a TOC16 relocation. Begin support R_PPC_SDA{2,}REL relocation.