aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
AgeCommit message (Collapse)AuthorFilesLines
1994-10-28NetBSD/m68k support, based on work by mikeb@snow.datametrics.com:J.T. Conklin2-0/+15
* 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-09-14Updated for recent NetBSD changesJ.T. Conklin1-2/+0
1994-09-13* configure.host (sparc-*-netbsd): use sparcnbsd.J.T. Conklin5-4/+90
(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 * mpw-make.in (ctor.c): Remove references.Stan Shebs1-11/+0
* hosts/mpw.h [BFD_TRUE_FALSE]: Remove macro redefinitions of true and false.
1994-08-12 * configure.host (sparc-*-solaris2*): Use solaris2, not sysv4.Ian Lance Taylor2-0/+2
The linker depends upon configuring for solaris2. * hosts/solaris2.h: New file; include hosts/sysv4.h. * config/solaris2.mh: New file; copy of config/sysv4.mh.
1994-08-01 * configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.Ian Lance Taylor1-1/+0
* hosts/solaris2.h: Remove. * config/solaris2.mh: Remove.
1994-08-01 * configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.Ian Lance Taylor1-10/+0
* hosts/solaris2.h: Remove. * config/solaris2.mh: Remove.
1994-07-25Update to reflect comings and goings of ns32k and mach-related filesStan Shebs1-0/+3
1994-07-16 * config.bfd (m88*-harris-cxux*): Recognize.Stan Shebs1-0/+5
* hosts/harris.h (POSIX_UTIME, HAVE_PROCFS): Define.
1994-07-16 * configure.host (m68*-atari-sysv4*): New host.Stan Shebs2-4/+5
(m68*-cbm-sysv4*): Use m68kv4 instead of amix. * hosts/amix.h: Remove. * hosts/m68kv4.h: New file, was amix.h.
1994-07-14NS32K changes from Ian Dall.Ken Raeburn1-0/+34
Note: Some of the ns32k-specific files do require gcc to compile at present. This will be fixed.
1994-07-06 * hosts/sysv4.h (qsort, strtol): Don't declare.Ian Lance Taylor1-2/+0
1994-07-05 Mach 3 support.Stan Shebs2-0/+31
* config.bfd (m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*): New targets. * configure.host (i[34]86-*-mach3*, ns32k-*-mach3*): Recognize "mach3" instead of "mach". (m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*): New hosts. * targets.c (m88kmach3_vec): New target vector. (bfd_target_vector): Add i386mach3_vec and m88kmach3_vec, but inside #if 0. * aoutx.h (some_aout_object_p) [MACH]: Recognize executables by checking for execute permission, instead of looking at entry point. * i386mach3.c: Update, define MACH, N_TXTOFF, N_TXTADDR, N_SHARED_LIB, don't include aout/*.h files, etc. * m88kmach3.c: New file, m88k Mach 3 target. * config/m88k-mach3.mt, config/mips-mach3.mt: New files, target makefile fragments. * config/i386mach3.mh, config/m88kmach3.mh, config/mipsmach3.mh: New files, host makefile fragments. * hosts/m88kmach3.h, hosts/mipsmach3.h: New files, host definitions.
1994-06-02 * hosts/sun3.h: Include <stdlib.h>. Don't declare free, exit orIan Lance Taylor1-8/+1
getenv.
1994-06-01 * hosts/sun3.h: Don't declare qsort, malloc or realloc.Ian Lance Taylor1-5/+0
1994-04-26Tue Apr 26 15:07:24 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+4
* cf-sparclynx.c (LYNXOS, COFF_LONG_FILENAMES): Define. * coff-sparc.c (BADMAG): Recognize LYNXCOFFMAGIC. (COFF_SPARC): Define. * coffcode.h (coff_new_section_hook): If COFF_SPARC, set alignment power of data and bss sections to 3. * hosts/lynx.h (__LYNXOS): Define. Brought over from 94Q1.
1994-04-20* hosts/i386aix.h: Changes to avoid prototypes conflicts with the ones definedKen Raeburn1-3/+1
in stdlib.h. (From Minh Tran-Le.)
1994-04-06Tue Apr 5 17:54:07 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+4
* hosts/mpw.h (CLOSE_BEFORE_UNLINK): Define.
1994-03-26 * hosts/sysv4.h (HAVE_PROCFS): Add comments about ptx4.Jim Kingdon1-0/+6
* config/sysv4.mh: Add comment. * config/symmetry.mh: Change comment. * configure.host: Use sysv4, not symmetry, for i[34]86-sequent-sysv4*.
1994-03-10 * libbfd-in.h: Remove alloca cruft. It was missing some necessaryJim Kingdon1-4/+0
cruft (like the #pragma alloca for AIX). In addition to that problem, the C alloca calls xmalloc, which means checking for being out of memory can't work right. The following changes remove all uses of alloca from BFD. * hosts/solaris2.h: Remove alloca cruft. * som.c: Replace alloca with a fixed size auto array. * aoutx.h, elfcode.h, nlmcode.h, bout.c, coff-alpha.c, ecoff.c, ecofflink.c, elf32-hppa.c, elf32-mips.c, linker.c, reloc.c, som.c: Replace alloca with malloc and appropriate error checking and freeing. * linker.c: Replace alloca with obstack_alloc. * libbfd.h: Rebuilt.
1994-02-26 * hosts/i386v4.h (qsort, strtol): Remove incorrect and uselessIan Lance Taylor1-2/+0
declarations.
1994-02-24Wed Feb 23 16:52:51 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-2/+2
* hosts/mpw.h (fstat): Declare. (mpw_fstat): Eliminate mentions.
1994-02-22 * hosts/hp300.h: Include <stdlib.h>; don't declare free.Ian Lance Taylor1-2/+1
1994-02-21Oops... Forgot to check this in...Stu Grossman1-0/+1
1994-02-15Tue Feb 15 12:44:30 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-22/+10
* mpw-make.in (CSEARCH): Add include/mpw to search path. * hosts/mpw.h (stat): Remove incomplete definition, now in include/mpw/sys. (POSIX_UTIME): Define.
1994-02-15 * coff-rs6000.c: Add Lynx core file support, use HOST_AIX, whereStu Grossman2-0/+15
appropriate. * rs6000-core.c: Use HOST_AIX instead of COREFILES_PLEASE. * config/rs6000.mh: Remove defs of ARCHIVES_PLEASE and COREFILES_PLEASE. * config/rs6000lynx.mh: Turn on Lynx core file support. * hosts/rs6000.h: #define HOST_AIX. * hosts/rs6000lynx.h: Create this to enable Lynx host support.
1994-02-08New host configuration file.Jeff Law2-0/+39
1994-02-03 * libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h,Jim Kingdon2-6/+6
sparclynx.c, Makefile.in: Change HOST_64_BIT to BFD_HOST_64_BIT.
1994-01-21* hosts/alphaosf.h (uint64e_type, uint64_type, int64_type): Delete typedefs,Ken Raeburn1-4/+0
since HOST_64_BIT will take care of defining them in bfd.h.
1994-01-19(sprintf_vma, fprintf_vma): New macros.Ken Raeburn1-4/+7
(uint64_typeHIGH, uint64_typeLOW): Comment with HOST_64_BIT so they get copied to bfd.h.
1994-01-11Set lose_these_too correctlyStan Shebs1-0/+2
1994-01-05fix comment delimitersDavid D. Zuhn1-1/+1
1994-01-04Mon Jan 3 10:59:28 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-4/+116
* 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.
1993-12-30 Extensive changes to move the bulk of the linker into BFD so thatIan Lance Taylor1-2/+0
more efficient backend code can be written for specific object files. Only existing efficient backend is a.out. * seclet.c, seclet.h: Removed. * hash.c, linker.c, genlink.h: New files. * bfd-in.h: Removed bfd_error_vector. Declared hash table structures and functions. (JUMP_TABLE): Removed bfd_seclet_link, added bfd_link_hash_table_create, bfd_link_add_symbols and bfd_final_link. * All backends: Changed accordingly. * bfd-in2.h: Rebuilt. * bfd.c (struct _bfd): Added link_next and archive_pass fields. Removed ld_symbols field. (bfd_nonrepresentable_section, bfd_undefined_symbol, bfd_reloc_value_truncated, bfd_reloc_is_dangerous, bfd_error_vector): Removed. (bfd_default_error_trap, bfd_error_trap, bfd_error_nonrepresentabltrap): Removed. (bfd_get_relocated_section_contents): Pass link_info. Pass link_order instead of seclet. Pass symbols. (bfd_relax_section): Pass link_info. (bfd_seclet_link): Removed. (bfd_link_hash_table_create, bfd_link_add_symbols, bfd_final_link): New macros. * libbfd-in.h: If __GNUC__ is defined and alloca is not, define alloca as __builtin_alloca. Declare internal linking functions. * libbfd.h: Rebuilt. * libbfd.c (bfd_seek): Comment out fseek assertion. It's worked for months. * reloc.c (reloc_howto_type): Added error_message argument to special_function field. Changed all callers and all definitions. (bfd_get_reloc_size): Make argument a const pointer. (bfd_perform_relocation): Add error_message argument to hold string set if return value if bfd_reloc_dangerous. Changed all callers. (_bfd_final_link_relocate, _bfd_relocate_contents): New functions. * section.c (asection): Renamed seclets_head and seclets_tail to link_order_head and link_order_tail. * targets.c (bfd_target): Replaced seclet argument with link_info and link_order and symbols arguments in bfd_get_relocated_section_contents. Added symbols argument to bfd_relax_section. Removed bfd_seclet_link. Added bfd_link_hash_table_create, bfd_link_add_symbols and bfd_final_link. * libaout.h (struct aoutdata): Added external_syms, external_sym_count, external_strings, sym_hashes fields. (obj_aout_external_syms, obj_aout_external_sym_count, obj_aout_external_strings, obj_aout_sym_hashes): New accessor macros. (WRITE_HEADERS): Only output symbols if outsymbols is not NULL. * aoutx.h: Wrote new back end linker routines. (translate_to_native_sym_flags): Return boolean value. Don't use bfd_error_vector. (NAME(aout,write_syms)): Return boolean value. Check return value of translate_to_native_sym_flags and bfd_write. * aout-target.h (final_link_callback): New function. (MY_bfd_final_link): New function. * aout-adobe.c (aout_adobe_write_object_contents): Check return value of aout_32_write_syms. * hp300hpux.c (MY(write_object_contents)): Likewise. * i386lynx.c (WRITE_HEADERS): Likewise. * libaout.h (WRITE_HEADERS): Likewise. * bout.c: Changed functions to use link_info->callbacks rather than bfd_error_vector, and link_orders rather than seclets. * coff-alpha.c: Likewise. * coff-h8300.c: Likewise. * coff-h8500.c: Likewise. * coff-sh.c: Likewise. * coff-z8k.c: Likewise. * elf32-hppa.c: Likewise. * reloc16.c: Likewise. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Look up _gp in the hash table rather than in outsymbols. * coff-a29k.c (a29k_reloc): Pass errors back in new error_message argument rather than printing them. * coffcode.h (bfd_coff_reloc16_extra_cases): Take link_info and link_order arguments rather than seclet. Changed all uses and definitions. (bfd_coff_reloc16_estimate): Pass link_info arguments. Changed all uses and definitions. * libcoff.h: Rebuilt. * ecoff.c (ecoff_get_extr): If symbol is defined by linker, but not by ECOFF, make it scAbs. (ecoff_bfd_final_link): Renamed from ecoff_bfd_seclet_link and rewritten. * elf32-mips.c (mips_elf_final_link): Renamed from mips_elf_seclet_link and rewritten. * elf32-hppa.c (elf32_hppa_stub_description): Added link_info field. (new_stub, add_stub_by_name, hppa_elf_build_arg_reloc_stub, hppa_elf_build_long_branch_stub, hppa_look_for_stubs_in_section): Added link_info arguments. Changed all callers. * elfcode.h (elf_slurp_symbol_table): Don't quit if outsymbols is not NULL. * oasys.c (oasys_write_sections): Return boolean value rather than using bfd_error_vector. (oasys_write_object_contents): Check return value of oasys_write_sections. * hosts/std-host.h: Don't declare qsort or strtol. * Makefile.in: Rebuild dependencies. (BFD_LIBS): Removed seclet.o. Added hash.o and linker.o. (CFILES): Removed seclet.c. Added hash.c and linker.c. (HFILES): Removed seclet.h. Added genlink.h.
1993-12-15cleanups and mach3 changesDavid MacKenzie1-1/+1
1993-12-03 * config/solaris2.mh (HDEFINES): Remove -Dconst=Ian Lance Taylor1-0/+6
* hosts/solaris.h: If not __GNUC__, define const as empty.
1993-12-01 * hosts/alphaosf.h (uint64_typeLOW, uint64_typeHIGH): Cast resultsIan Lance Taylor1-2/+4
to unsigned long.
1993-11-21Modified to be based on lynx.h, like i386 and m68k versions.Ken Raeburn1-28/+1
1993-11-21define FPRINTF_ALREADY_DECLAREDKen Raeburn2-0/+4
1993-11-17 * lynx-core.c (lynx_core_file_p): Change bfd_zalloc to bfd_alloc.Stu Grossman4-54/+39
* m68klynx.c: Define core file macros. * hosts/i386lynx.h, hosts/m68klynx.h, hosts/lynx.h: Move all non-architecture specific stuff into lynx.h.
1993-11-01Keep Lynx filesStan Shebs1-0/+1
1993-10-29testDavid MacKenzie1-1/+1
1993-10-29Minor changes, plus definitions for Sparc Lynx host.Stan Shebs3-6/+48
1993-10-13remove inclusion of strings.hKen Raeburn1-1/+0
1993-10-03* config/news-mips.mh, hosts/news-mips.h: New files.Jim Kingdon1-0/+1
1993-10-02new for mips corefilesJim Kingdon1-0/+12
1993-09-28Keep m68klynx.hStan Shebs1-0/+1
1993-09-28New and improved Lynx support.Stan Shebs2-0/+33
1993-09-27 * archive.c: Define offsetof here.Jim Kingdon18-94/+0
* hosts/*.h: Don't define it here.
1993-09-22* Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.Stu Grossman1-19/+16
* bfd-in2.h (tdata): Add lynx_core_data; * config.bfd configure.host: Get rid of superfluous netbsd and lynxos entries. * configure.in: Add lynx-core.o to Lynx config. * i386lynx.c: Add defs for core file support. * lynx-core.c: New file with Lynx core file support. * hosts/i386lynx.h: Move lots of host specific includes to here. Add def of HOST_LYNX. Remove unnecessary defs.