aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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.
1996-01-13Warn about relocations we do not yet supportMichael Meissner2-11/+149
1996-01-12 * elf.c (assign_file_positions_for_segments): If a segmentIan Lance Taylor2-2/+10
contains no sections, don't mark it as readable.
1996-01-12 * elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare.Ian Lance Taylor3-4/+7
* elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare.
1996-01-12tweak last changeIan Lance Taylor1-2/+2
1996-01-12Add PowerPC support for SHF_EXCLUDE, SHT_ORDEREDMichael Meissner2-0/+23
1996-01-12 * elf.c (_bfd_elf_print_private_bfd_data): Dump contents ofIan Lance Taylor4-40/+155
dynamic section, if there is one. * elf-bfd.h (struct elf_size_info): Add swap_dyn_in field. (bfd_elf32_swap_dyn_in): Change type of second parameter to PTR. (bfd_elf64_swap_dyn_in): Likewise. * elfcode.h (elf_swap_dyn_in): Change type of second parameter to PTR. (NAME(_bfd_elf,size_info)): Initialize swap_dyn_in field.
1996-01-12 * elf32-i386.c (elf_i386_size_dynamic_sections): Don't create aIan Lance Taylor2-16/+21
DT_TEXTREL entry because of .rel.plt. From Martin Pirker <pirker@eiunix.tuwien.ac.at>.
1996-01-12 * xcofflink.c (xcoff_link_add_symbols): Create the specialIan Lance Taylor2-12/+43
sections if we see a DYNAMIC object, in case that is the only XCOFF input object we see. PR 8788.
1996-01-11update copyrightMichael Meissner1-1/+1
1996-01-11Add support for SHT_ORDERED and SHF_EXCLUDEMichael Meissner6-49/+149
1996-01-11fix crinfo swappingIan Lance Taylor1-25/+30
1996-01-11 * elf32-mips.c: Extensive changes for a start at dynamic linkingIan Lance Taylor6-263/+3043
support, from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>. * elf-bfd.h (struct elf_backend_data): Add type_change_ok field. (struct elf_backend_data): Remove elf_backend_create_program_headers field. Add elf_backend_additional_program_headers and elf_backend_modify_segment_map fields. * elfxx-target.h (elf_backend_type_change_ok): Define if not defined. (elf_backend_additional_program_headers): Likewise. (elf_backend_modify_segment_map): Likewise. (elf_backend_create_program_headers): Don't define. (elfNN_bed): Change to account for field changes. * elf.c (assign_file_positions_for_segments): Call new modify_segment_map backend function. Don't call old create_program_headers backend function. (get_program_header_size): Call additional_program_headers rather than create_program_headers. * elflink.h (elf_link_add_object_symbols): Initialize type_change_ok from new backend field. (elf_link_output_extsym): Don't warn if _rld_new_interface is defined. (elf_reloc_link_order): Treat a reloc against a defined symbol as a reloc against the appropriate section.
1996-01-11 * elf-bfd.h (struct bfd_elf_section_data): Add tdata field.Ian Lance Taylor3-10/+22
(struct elf_obj_tdata): Rename ppc_flags_init field to flags_init. (elf_flags_init): Rename from elf_ppc_flags_init. * elf32-ppc.c (ppc_elf_set_private_flags): Use elf_flags_init, not elf_ppc_flags_init. (ppc_elf_copy_private_bfd_data): Likewise. (ppc_elf_merge_private_bfd_data): Likewise.
1996-01-11 * elf32-m68k.c (howto_table): Change src_mask to 0 for allIan Lance Taylor2-95/+83
relocation entries.
1996-01-09update copyrightsIan Lance Taylor2-2/+2
1996-01-09Tue Jan 9 15:22:53 1996 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor20-306/+911
* coff-alpha.c (alpha_relocate_section): During final link, allow output .lita section to be bigger than 64k by adjusting gp value on a per-input section basis. * libecoff.h (struct ecoff_tdata): Add issued_multiple_gp_warning field. (struct ecoff_section_tdata): Add gp field. Tue Jan 9 12:00:36 1996 Ian Lance Taylor <ian@cygnus.com> Handle Alpha ECOFF changes in OSF/1 3.2. * libecoff.h (struct ecoff_backend_data): Add get_elt_at_filepos field. * coff-alpha.c: Include "aout/ar.h". (alpha_ecoff_get_relocated_section_contents): Don't require an ALPHA_R_IGNORE reloc after an ALPHA_R_GPDISP reloc, since OSF/1 3.2 doesn't generate one. (alpha_relocate_section): Likewise. (alpha_ecoff_slurp_armap): Define. (alpha_ecoff_slurp_extended_name_table): Define. (alpha_ecoff_construct_extended_name_table): Define. (alpha_ecoff_truncate_arname): Define. (alpha_ecoff_write_armap): Define. (alpha_ecoff_generic_stat_arch_elt): Define. (alpha_ecoff_update_armap_timestamp): Define. (ARFZMAG): Define. (alpha_ecoff_read_ar_hdr): New static function. (alpha_ecoff_get_elt_at_filepos): New static function. (alpha_ecoff_openr_next_archived_file): New static function. (alpha_ecoff_get_elt_at_index): New static function. (alpha_ecoff_backend_data): Initialize get_elt_at_filepos field. (ecoffalpha_little_vec): Change BFD_JUMP_TABLE_ARCHIVE from _bfd_ecoff to alpha_ecoff. * ecoff.c (ecoff_link_add_archive_symbols): Use get_elt_at_filepos field from backend structure, rather than always calling _bfd_get_elt_at_filepos. * coff-mips.c (mips_ecoff_backend_data): Initialize get_elt_at_filepos field. * archive.c (_bfd_generic_read_ar_hdr_mag): New function, copied from _bfd_generic_read_ar_hdr with minor changes. (_bfd_generic_read_ar_hdr): Use _bfd_generic_read_ar_hdr_mag. * libbfd-in.h (_bfd_generic_read_ar_hdr_mag): Declare. * libbfd.h: Rebuild. * bfd-in.h (BFD_IN_MEMORY): Define. * libbfd-in.h (struct bfd_in_memory): Define. * libbfd.c (bfd_read): Handle BFD_IN_MEMORY flag. (bfd_get_file_window): Don't try to map a BFD_IN_MEMORY file. (bfd_write, bfd_stat): Abort if BFD_IN_MEMORY is set. (bfd_tell, bfd_flush, bfd_seek): Handle BFD_IN_MEMORY flag. * bfd.c (struct _bfd): Change iostream field from char * to PTR. (bfd_get_size): Handle BFD_IN_MEMORY flag. * cache.c (bfd_cache_close): Ignore BFD_IN_MEMORY files. (bfd_open_file): Cast to PTR, not char *, when setting iostream. (bfd_cache_lookup_worker): Abort if BFD_IN_MEMORY is set. * opncls.c (bfd_fdopenr): Cast to PTR, not char *, when setting iostream. (bfd_openstreamr): Likewise. * aoutx.h (NAME(aout,some_aout_object_p)): Only fstat iostream if BFD_IN_MEMORY is not set. * riscix.c (riscix_some_aout_object_p): Likewise. * bfd-in2.h, libbfd.h: Rebuild. * targets.c (bfd_target): Add _bfd_get_elt_at_index field. (BFD_JUMP_TABLE_ARCHIVE): Add _get_elt_at_index. (bfd_get_elt_at_index): Define. * archive.c (_bfd_generic_get_elt_at_index): Rename from bfd_get_elt_at_index. Change index parameter from int to symindex. * libbfd-in.h (_bfd_generic_get_elt_at_index): Declare. (_bfd_noarchive_get_elt_at_index): Define. (_bfd_archive_bsd_get_elt_at_index): Define. (_bfd_archive_coff_get_elt_at_index): Define. * bfd-in2.h, libbfd.h: Rebuild. * aout-target.h (MY_get_elt_at_index): Define if not defined. * coff-rs6000.c (xcoff_get_elt_at_index): Define. * ieee.c (ieee_get_elt_at_index): Define. * libecoff.h (_bfd_ecoff_get_elt_at_index): Define. * oasys.c (oasys_get_elt_at_index): Define. * som.c (som_get_elt_at_index): Define.
1996-01-09 * ecoff.c (_bfd_ecoff_find_nearest_line): Don't restrict lineIan Lance Taylor2-13/+12
numbers to the .text section. PR 8767.
1996-01-08 * ieee.c (ieee_write_debug_part): Change return type to boolean.Ian Lance Taylor2-49/+43
If there is a SEC_DEBUGGING section, get the contents of the debug information part from it. (ieee_set_section_contents): Store the contents of a SEC_DEBUGGING section in memory. (ieee_write_object_contents): Check ieee_write_debug_part return.
1996-01-05 * config.bfd (i[345]86-*-freebsd*): Add target.Fred Fish5-104/+167
* configure.in (i386freebsd_vec): Add vec. * configure: Regenerate. * Makefile.in (BFD32_BACKENDS): Add i386freebsd.o. (BFD32_BACKENDS_CFILES): Add i386freebsd.c. Rebuild dependencies.. * freebsd.h: New file. * i386freebsd.c: New file. * targets.c (i386freebsd_vec): Declare. (bfd_target_vector): Add i386freebsd_vec. * i386linux.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE * i386netbsd.c (SEGMENT_SIZE): Define as TARGET_PAGE_SIZE
1996-01-04 * ieee.c (ieee_slurp_debug): New static function.Ian Lance Taylor2-6/+65
(ieee_object_p): Call it. (ieee_slurp_section_data): Skip debugging sections. (ieee_get_reloc_upper_bound): Likewise. (ieee_get_section_contents): Likewise. (ieee_canonicalize_reloc): Likewise. (ieee_write_section_part): Likewise. (ieee_write_debug_part): Likewise. (ieee_write_data_part): Likewise. (init_for_output): Likewise.
1996-01-04Make @GOT relocations workMichael Meissner2-236/+159
1996-01-03 * coffcode.h (coff_write_object_contents): If we don't know theIan Lance Taylor2-6/+15
section of the entry point for an XCOFF executable, always set the entry address to -1.
1996-01-02Add support for .note sectionsMichael Meissner1-0/+4
1996-01-02 * elf32-ppc.c: Remove trailing newline from calls toIan Lance Taylor1-0/+7
_bfd_error_handler. (ppc_elf_merge_private_bfd_data): Only warn about endianness difference if target endianness is known.
1995-12-21Work in progress to add real GOT supportMichael Meissner2-509/+1479
1995-12-21* elf.c (copy_private_bfd_data): When attaching sections to segments ignoreKen Raeburn2-1/+9
sections that won't be allocated. Patch from Andreas Schwab.