aboutsummaryrefslogtreecommitdiff
path: root/bfd/.Sanitize
AgeCommit message (Collapse)AuthorFilesLines
1994-10-28NetBSD/m68k support, based on work by mikeb@snow.datametrics.com:J.T. Conklin1-0/+1
* config.bfd (m68*-*-netbsd*): Use m68k-nbsd as bfd_name. * configure.in (m68knetbsd_vec): Added. * targets.c (bfd_m68knetbsd_vec): Added. * hosts/m68knbsd.h, config/m68k-nbsd.mt, m68knetbsd.c: New files. * Makefile.in (BFD32_BACKENDS, CFILES): Add m68knetbsd.c. miscellaneous cleanup required by all netbsd targets, based on work by Andrew Cagney <cagney@highland.com.au>: * netbsd.h (N_MAGIC, N_SET_MAGIC, N_GETMAGIC, N_GETMAGIC2, N_TXTADDR, N_TXTOFF, N_ALIGN, N_DATADDR, N_DATOFF): Removed. Generic a.out definitions work. * i386nbsd.c, ns32knbsd.c, sparcnbsd.c (__LDPGSZ): Removed. (MY(write_object_contents)): Use NetBSD's magic numbers
1994-10-18 * binary.c: New file for raw binary output format.Ian Lance Taylor1-0/+1
* Makefile.in (BFD_LIBS): Add binary.o. (CFILES): Add binary.c. * targets.c (binary_vec): Declare. (bfd_target_vector): Include binary_vec.
1994-09-13* configure.host (sparc-*-netbsd): use sparcnbsd.J.T. Conklin1-2/+4
(ns32k-*-netbsd): use ns32knbsd. * hosts/{nbsd,i386nbsd,ns32knbsd,sparcnbsd}.h: New files, NetBSD host support. * sparcnetbsd.c: New file, adds support for NetBSD/sparc. * config/sparc-nbsd.mt: Likewise. * netbsd.h: New file, definitions common to all netbsd ports. * i386netbsd.c: Use it. * ns32knetbsd.c: Use it. * Makefile.in, configure.in, targets.c, config/i386-nbsd.mt, config/ns32k-nbsd.mt: canonicalize netbsd targets to conform to file/variable naming conventions. * i386netbsd.c: New file, renamed from netbsd386.c. * ns32knetbsd.c: New file, renamed from netbsd532.c.
1994-09-12 * ctor.c: Remove; obsolete.Ian Lance Taylor1-1/+0
* Makefile.in: Rebuild dependencies. (BFD_LIBS): Remove ctor.o. (CFILES): Remove ctor.c. * libbfd.h: Rebuild.
1994-09-09keep arm filesKen Raeburn1-0/+2
1994-09-06 Add new style linker support to COFF backend. a29k only for now.Ian Lance Taylor1-0/+1
* cofflink.c: New file. * libcoff-in.h: Include bfdlink.h. (obj_coff_external_syms, obj_coff_strings): Define accessor macro. (obj_coff_sym_hashes): Define accessor macro. (struct coff_tdata): Add fields external_syms, strings, and sym_hashes. (struct coff_link_hash_entry): Define. (struct coff_link_hash_table): Define. (coff_link_hash_lookup, coff_link_hash_traverse): Define. (coff_hash_table): Define. (_bfd_coff_link_hash_table_create): Declare. (_bfd_coff_link_add_symbols, _bfd_coff_final_link): Declare. * coffcode.h (bfd_coff_backend_data): Add fields _bfd_relsz, _bfd_coff_swap_reloc_in, _bfd_coff_sym_is_global, _bfd_coff_compute_section_file_positions, _bfd_coff_relocate_section. (bfd_coff_relsz, bfd_coff_swap_reloc_in): Define. (bfd_coff_sym_is_global): Define. (bfd_coff_compute_section_file_positions): Define. (bfd_coff_relocate_section): Define. (coff_mkobject_hook): Initialize obj_raw_syment_count and obj_conv_table_size. (coff_compute_section_file_positions): Set target_index of all sections. Set output_has_begun field. (coff_write_object_contents): Don't set target_index; now done by coff_compute_section_file_positions. Remove obsolete handling of scn_base and data_base. Don't bother to check that target_index is positive, since it always is. Remove use of pad, which is always zero. Check obj_raw_syment_count, not bfd_get_symcount, for the number of symbols, but only write them out if bfd_get_symcount is non-zero. (coff_slurp_symbol_table): Use obj_raw_syment_count, not bfd_get_symcount for the number of symbols. Don't set obj_conv_table_size. (coff_sym_is_global): New static function or macro. (coff_slurp_reloc_table): Call coff_swap_reloc_in, not bfd_swap_reloc_in. (coff_bfd_link_hash_table_create): If coff_relocate_section is defined, define as _bfd_coff_link_hash_table_create. (coff_bfd_link_add_symbols): Similar change. (coff_bfd_final_link): Similar change. (coff_relocate_section): Define as NULL if not defined. (bfd_coff_std_swap_table): Initialize new fields. * coffgen.c (coff_real_object_p): Don't set obj_raw_syment_count and obj_conv_table_size here. (coff_count_linenumbers): Reindent. If bfd_get_symcount is zero, add up the line numbers from the sections. (coff_write_symbols): Don't set bfd_get_symcount. (coff_pointerize_aux): Don't pointerize a nonpositive x_endndx field. (coff_get_normalized_symtab): Use obj_raw_syment_count, not bfd_get_symcount. (coff_print_symbol): If auxp->fix_end, print x_endndx value. * coffswap.h (coff_swap_reloc_in): Rename from bfd_swap_reloc_in. Reindent. Change argument type to PTR. * coff-a29k.c (coff_a29k_relocate_section): New static function. (coff_relocate_section): Define. * configure.in (a29kcoff_big_vec): Compile cofflink.o. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new fields. * coff-mips.c (mips_ecoff_backend_data): Likewise. * libcoff.h: Rebuilt. * Makefile.in: Rebuilt dependencies. (BFD32_BACKENDS): Add cofflink.o. (CFILES): Add cofflink.c.
1994-08-11Remove aout-ns32k.h.Ian Lance Taylor1-1/+0
1994-07-27i960xl sanitization; keep some more ns32k related filesKen Raeburn1-0/+24
1994-07-25Update to reflect comings and goings of ns32k and mach-related filesStan Shebs1-0/+3
1994-06-28Remove more GM-specific stuff.Stan Shebs1-8/+4
1994-06-16keep makefile.dosKen Raeburn1-0/+1
1994-06-15unsanitizing v9Ken Raeburn1-29/+1
1994-05-27changes from gas-2.3/binutils-2.4 dist (details in branch log msgs, changelogs)Ken Raeburn1-0/+1
1994-05-20Removed sanitization of PowerPC NetWare. Also rebuilt MakefileIan Lance Taylor1-30/+1
dependencies.
1994-05-04For PR 1927.Ian Lance Taylor1-0/+1
Changed m68k-aout to set flags to 0; m68k-sunos still uses 1. * aout0.c: New file. * targets.c (aout0_big_vec): Declare. (bfd_target_vector): Add aout0_big_vec. * config.bfd (m68*-*-aout*): Use m68k-0aout, not m68k-aout. * config/m68k-aout.mt (SELECT_VECS): Removed. * config/m68k-0aout.mt: New file. * configure.in (aout0_big_vec): New target vector: use aout0.o, aout32.o and stab-syms.o. * Makefile.in: Rebuilt dependencies. (BFD32_BACKENDS): Add aout0.o. (CFILES): Add aout0.c. * libaout.h (struct aout_backend_data): Add field exec_hdr_flags. * aout-target.h (MY_exec_hdr_flags): If not defined, define as 0. MY(backend_data): Initialize exec_hdr_flags field. * aoutf1.h (sunos_32_set_arch_mach): Make static. (aout32_sunos4_write_object_contents): Set flags from backend info. (MY_exec_hdr_flags): If not defined, define as 1. (sunos4_aout_backend): Initialize exec_hdr_flags field. * aout-encap.c (encap_write_object_contents): Set flags from backend info. (MY_exec_hdr_flags): Define as N_FLAGS_COFF_ENCAPSULATE. * hp300hpux.c (MY_exec_hdr_flags): Define as 0x2. (MY(write_object_contents)): Set flags from backend info. * i386aout.c (MY(backend_data)): Initialize exec_hdr_flags field. * i386mach3.c (MY(backend_data)): Likewise. * mipsbsd.c (MY(backend_data)): Likewise. * sparclynx.c (NAME(aout,sparclynx_write_object_contents)): Set flags from backend info. (sparclynx_aout_backend): Initialize exec_hdr_flags field.
1994-03-30 * i386dynix.c, config/i386-dynix.mt: New files, handling DynixPeter Schauer1-0/+1
variant of a.out. * configure.in, config.bfd: Use them for Dynix. * Makefile.in: Add dependencies for i386dynix.o. * targets.c: Add definition for i386dynix_vec.
1994-03-19 * bfd.c (struct _bfd): Add cisco_core_struct to tdata union.Jim Kingdon1-0/+1
* libbfd.c (bfd_read, bfd_seek): Add comments regarding errors. * cisco-core.c: New file. * Makfile.in: Change accordingly. * bfd-in2.h: Rebuilt.
1994-03-17Don't need mpw-xconfig.in anymore.Stan Shebs1-4/+4
1994-03-15* i386os9k.c : new file to handle os9k format bfd.Jim Kingdon1-0/+1
1994-03-12 * elf32-ppc.c: Renamed from elf32-powerpc.c.Ian Lance Taylor1-3/+3
start-sanitize-powerpc-netware * nlm32-ppc.c: Renamed from nlm32-powerpc.c. end-sanitize-powerpc-netware * Makefile.in, configure.in: Corresponding changes.
1994-02-18 start-sanitize-powerpc-netwareIan Lance Taylor1-0/+30
Support for PowerPC NetWare. * config.bfd (powerpc-*-netware*): New target; use ppc-nlm. * config/ppc-nlm.mt: New file. * configure.in (nlm32_powerpc_vec): New target vector; use nlm32-powerpc.o, nlm32.o, nlm.o. * targets.c (nlm32_powerpc_vec): Declare. * Makefile.in (BFD32_BACKENDS): Add nlm32-powerpc.o. (CFILES): Should add nlm32-powerpc.c, but didn't, because the dependencies can't be sanitized. end-sanitize-powerpc-netware Initial support for PowerPC ELF. Done without an ABI, and probably to be changed when I get an ABI. * config.bfd (powerpc-*-sysv4*): New target; use ppc-elf. * config/ppc-elf.mt: New file. * configure.in (bfd_elf32_powerpc_vec): New target vector; use elf32-powerpc.o, elf32.o, elf.o. * elf32-powerpc.c: New file. * elfcode.h (prep_headers): Add bfd_arch_powerpc case. (elf_set_arch_mach): Likewise. * targets.c (bfd_elf32_powerpc_vec): Declare. * Makefile.in (BFD32_BACKENDS): Add elf32-powerpc.o. (CFILES): Add elf32-powerpc.c. Rebuilt dependencies.
1994-02-08PowerPC CPU support.Ian Lance Taylor1-0/+1
1994-01-11Set lose_these_too correctlyStan Shebs1-4/+9
1994-01-07Fri Jan 7 10:34:47 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+23
* mpw-make.in: Replace 8-bit chars with their names. * coffswap.h (coff_swap_scnhdr_out): Add alternative version with partly-expanded macros.
1994-01-07Really remove files that are no longer used.Ian Lance Taylor1-2/+0
1994-01-04Mon Jan 3 10:59:28 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-2/+9
* mpw-config.in: New file, MPW version of configure.in. * mpw-make.in: New file, MPW version of Makefile.in. * hosts/mpw.h: New file, MPW host definitions. Mon Jan 3 13:00:07 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-xconfig.in: New file, mpw x mips configuration bits.
1993-12-30Added new files for linker support, and removed old seclet files.Ian Lance Taylor1-2/+3
1993-12-02New files for preliminary Alpha NetWare support.Ian Lance Taylor1-0/+1
1993-11-30New file for Irix 4 and Irix 5 core file support. Split out ofIan Lance Taylor1-0/+1
coff-mips.c.
1993-11-24New file to hold ECOFF linking routines used by both ECOFF and MIPS ELF.Ian Lance Taylor1-0/+1
1993-11-23Split ChangeLog into two.Steve Chamberlain1-0/+1
1993-11-22 * bfd/config/delta88.mh (HDEFINES): Define this to be -DPTRACE_CORE.Fred Fish1-0/+1
* bfd/config/delta88.mh (HDEPFILES): Defined to be ptrace-core.o. * bfd/ptrace-core.c: New file for dealing with core files with start with the ptrace_user structure found on BCS compliant systems. * bfd/targets.c (ptrace_core_vec): New vector.
1993-11-17Don't want the new files to disappear unexpectedly!Sean Eric Fagan1-0/+2
1993-11-11 * bfd.c (struct _bfd): Add hppabsd_core_data.Jeff Law1-0/+1
* targets.c (target_vector): Add hppabsd_core_vec. * hpux-core.c (hpux_core_core_file_p): Fail if an unknown core section is encountered during core section scanning. * hppabsd-core.c: New file. * config/hppabsd.mh: Enable HPPA BSD core files.
1993-11-01Keep Lynx filesStan Shebs1-2/+5
1993-10-13More "make dep" fixups.Ken Raeburn1-0/+2
Apollo 68k support from Troy Rollo <troy@cbme.unsw.edu.au>.
1993-10-12Add elf64-sparc.c to lose_these_too if it is not added to keep_these_too.Fred Fish1-0/+2
1993-10-07removed two deleted files (thanks Fred)Ken Raeburn1-2/+0
1993-10-05Another forgotten file.Stan Shebs1-0/+1
1993-10-03Reflect changes in Lynx files.Stan Shebs1-1/+2
1993-10-01 * configure.in: i386lynx_coff_vec requires coff-i386lynx.o.Stan Shebs1-0/+1
* coff-i386lynx.c: New file, defines Lynx target vector and name, includes coff-i386.c. * coff-i386.c (i386coff_vec): Allow redefinition of target vector symbol and name, if TARGET_SYM and/or TARGET_NAME are defined. * i386lynx.c: Remove coff vector definition entirely. (lynx_32_swap_ext_reloc_in): Define. (lynx_32_swap_std_reloc_in): Define, get reloc bits in i386 Lynx-specific way. (lynx_32_swap_ext_reloc_out): Define. (lynx_32_swap_std_reloc_out): Define. (lynx_32_slurp_reloc_table): Define, call Lynx swapping fns. (lynx_32_squirt_out_relocs): Define, call Lynx swapping fns. (lynx_32_canonicalize_reloc): Define, call Lynx swapping fns. (WRITE_HEADERS): Define, call Lynx swapping fns. * config/i386-lynx.mt (SELECT_VECS): Remove redundant vector.
1993-09-28Keep m68klynx.cStan Shebs1-0/+1
1993-09-24 * osf-core.c: New file for OSF/1 core file support.Peter Schauer1-0/+1
* config/alphaosf.mh (HDEFINES): Set to -DHPUX_CORE. (HDEPFILES): Set to hpux-core.o. * bfd-in2.h (union tdata): Add osf_core_data member. * targets.c: If OSF_CORE is defined, add osf_core_vec to target list. * Makefile.in (OPTIONAL_BACKENDS): Add osf-core.o. (osf-core.o): New dependency.
1993-09-13add som.c and som.hJim Kingdon1-0/+2
1993-09-12 * hosts/i386sco.h: Define a bunch of stuff for core files.Jim Kingdon1-1/+0
* sco-core.c: Remove, replace by trad-core.c. * trad-core.c: If HOST_STACK_START_ADDR is defined, use it. * config/i386sco.mh: Use trad-core not sco-core. * hosts/i386isc.h, config/i386isc.mh: Remove. * configure.host: Use i386sco for isc. * config/i386-sco.mt: Remove, identical to i386-coff.mt. * config.bfd: Use i386-coff not i386-sco.
1993-08-26make config.bfd executableKen Raeburn1-0/+2
1993-08-23config.sub also has v9 codeDavid D. Zuhn1-1/+1
1993-08-23Don't let netbsd386.c get sanitized out.Sean Eric Fagan1-0/+1
1993-08-18 * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.Jim Kingdon1-0/+1
* hosts/i386mach.h: removed, replaced by i386osf1mk.h. * config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format. * Makefile.in, configure.host, config.bfd: Corresponding changes. * hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.
1993-08-12keep config.bfdDavid MacKenzie1-0/+1