aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
AgeCommit message (Collapse)AuthorFilesLines
1997-10-24add sparclinux.hIan Lance Taylor1-0/+1
1997-10-23 * configure.in (sparc*-*-linux*): Use trad-core and ...Richard Henderson1-0/+6
* hosts/sparclinux.h: New file.
1996-06-18Tue Jun 18 14:42:58 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor2-0/+66
Added support for Alpha OpenVMS: * evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files. * evax-etir.c, evax-misc.c, hosts/alphavms.h: New files. * config.h-vms, makefile.vms: New files. * config.bfd (alpha-*-*vms*): New target. * configure.in (evax_alpha_vec): New target vector. * configure: Rebuild. * reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define. (BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define. * targets.c (bfd_target_evax_flavour): Define. (evax_alpha_vec): Declare. (bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec if BFD64 is defined. * bfd-in2.h, libbfd.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o, evax-emh.o, and evax-misc.o. (BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c, evax-etir.c, evax-emh.c, and evax-misc.c. (HFILES): Add evax.h.
1996-02-27Tue Feb 27 14:17:31 1996 Andreas Schwab ↵Ian Lance Taylor2-0/+7
<schwab@issan.informatik.uni-dortmund.de> * m68klinux.c: New file. * hosts/m68klinux.h: New file. * config.bfd (m68*-*-linuxaout*, m68*-*-linux*): New targets. * configure.in (m68*-*-linux*): New native host. (m68klinux_vec): New vector. * configure: Rebuild. * targets.c (m68klinux_vec): Declare. * i386linux.c (bfd_i386linux_size_dynamic_sections): Renamed from bfd_linux_size_dynmic_sections to avoid clash with m68klinux.c. * bfd-in.h (bfd_i386linux_size_dynamic_sections): Rename declaration from bfd_linux_size_dynamic_sections. (bfd_m68klinux_size_dynamic_sections): Declare. * bfd-in2.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add m68klinux.o. (BFD32_BACKENDS_CFILES): Add m68klinux.c.
1996-02-06* configure.in (*-*-netbsd*): Set COREFILE to netbsd-core.c.J.T. Conklin7-91/+0
don't define TRAD_HEADER. * configure: Rebuild. * netbsd-core.c: New file, support for NetBSD core files. * hosts/*nbsd.h: Removed.
1996-01-31Wed Jan 31 12:55:49 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor2-0/+17
* coff-aux.c: New file. * hosts/m68kaux.h: New file. * config.bfd (m68*-apple-aux*): New target. * configure.in (m68*-apple-aux*): New native host. (m68kaux_coff_vec): New vector. * configure: Rebuild. * targets.c (m68kaux_coff_vec): Declare. * coffcode.h (bfd_coff_backend_data): Add field _bfd_coff_link_add_one_symbol. (bfd_coff_link_add_one_symbol): Define. (compare_arelent_ptr): New static function if TARG_AUX. (coff_write_relocs): If TARG_AUX, sort the relocs. (coff_write_object_contents): Set A/UX aouthdr magic number. (coff_link_add_one_symbol): Define if not defined. (bfd_coff_std_swap_table): Initialize new field. * libcoff.h: Rebuild. * cofflink.c (coff_link_add_symbols): Call bfd_coff_link_add_one_symbol rather than _bfd_generic_link_add_one_symbol. * coff-m68k.c (COFF_PAGE_SIZE): Don't define if already defined. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field. * coff-mips.c (mips_ecoff_backend_data): Likewise. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add coff-aux.o. (BFD32_BACKENDS_CFILES): Add coff-aux.c.
1995-11-06Mon Nov 6 17:13:15 1995 Harry Dolan <dolan@ssd.intel.com>Ian Lance Taylor2-0/+28
* coff-i860.c: New file, based on coff-i386.c. * cpu-i860.c: New file, based on cpu-i386.c. * hosts/i860mach3.h: New file, based on hosts/i386mach3.h. * config.bfd (i860-*-mach3*, i860-*-osf1*, i860-*-coff*): New targets, using i860coff_vec. * configure.in (i860-*-mach3*, i860-*-osf1*): New hosts, using trad-core.o and hosts/i860mach3.h. (i860coff_vec): Use coff-i860.o and cofflink.o. * configure: Rebuild. * Makefile.in: Rebuild dependencies. (ALL_MACHINES): Add cpu-i860.o. (BFD32_BACKENDS): Add coff-i860.o. (CFILES): Add cpu-i860.c and coff-i860.c. * targets.c (i860coff_vec): Declare. (bfd_target_vector): Add &i860coff_vec. * archures.c (bfd_i860_arch): Declare. (bfd_archures_list): Add &bfd_i860_arch. * coffcode.h (coff_set_arch_mach_hook): Handle I860 magic number. (coff_set_flags): Handle bfd_arch_i860. (coff_write_object_contents): Handle I860 a.out magic number.
1995-11-01Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor1-0/+1
<manfred@lts.sel.alcatel.de> * coff-m88k.c (rtype2howto): New static function. (RTYPE2HOWTO): Use it rather than a macro definition. * coffcode.h (coff_write_object_contents): set internal_a.magic to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS). * configure.in: m68*-motorola-sysv3* does not use ptrace-core.o; define TRAD_HEADER to new file hosts/delta68.h. m88*-motorola-sysv*, however, does use ptrace-core.o. * hosts/delta68.h: New file. * ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc.
1995-10-31Tue Oct 31 15:30:07 1995 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor2-0/+7
* configure.in (alpha*-*-linux*): Set COREFILE to trad-core.o and define TRAD_HEADER as hosts/alphalinux.h. * configure: Rebuild. * hosts/alphalinux.h: New file. * trad-core.c (trad_unix_core_file_p): Cast u.u_ar0 to bfd_vma, not int.
1995-10-31keep files added by Niklas HallqvistKen Raeburn1-0/+1
1995-10-28Initial revisionNiklas Hallqvist1-0/+13
1995-10-28Define HOST_BIG_ENDIAN_P according to <machine/endian.h>.Niklas Hallqvist1-0/+5
1995-10-28Do not define HOST_BIG_ENDIAN_PNiklas Hallqvist2-2/+0
1995-10-05 * hosts/i386bsd.h: Restore file incorrectly deleted on Sep 6.Ian Lance Taylor1-0/+1
1995-10-04NS32k changes from Ian Dall:Ken Raeburn1-1/+1
* aoutx.h (MY_final_link_relocate, MY_relocate_contents): New macros. (aout_link_input_section_std, aout_link_input_section_ext, aout_link_reloc_link_order): Call them instead of _bfd_* versions. * aout-target.h (MY_exec_header_not_counted): New macro, defaults to zero. (backend_data): Use it instead of hardcoded zero. * aout-ns32k.c (CTOR_TABLE_RELOC_HOWTO): New macro. (MY_swap_std_reloc_out): Use udata.i for KEEPIT, don't call stoi. * ns32knetbsd.c: Include bfd.h. (MY_text_includes_header, MY_bfd_reloc_type_lookup): New macros. (MY_bfd_reloc_type_lookup): Declare function too. * pc532-mach.c (set_sizes): Don't declare. (MY_text_includes_header, MY_exec_header_not_counted): Define. (backend_data, MY_backend_data): Don't define. * config.bfd: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and ns32k-*-lites* like ns32k-*-netbsd*. * hosts/nbsd.h: Swap order of sys/vmparam.h and sys/param.h, to compile on lites.
1995-09-29Comings and goings of Mac-specific files.Stan Shebs1-1/+0
1995-09-29 * config.bfd: Add powerpc-*-macos*, powerpc-*-mpw*.Stan Shebs1-90/+0
* configure, configure.in: Add pmac_xcoff_vec case. * Makefile.in (BFD32_BACKENDS): Add coff-pmac.o. * coff-pmac.c: New file, PowerMac XCOFF support. * coffcode.h (coff_set_arch_mach_hook): Add PowerMac case. * targets.c (pmac_xcoff_vec): Declare. * mpw-config.in: Various changes to be compatible with the autoconf-based configury. * mpw-make.sed: New file, sed commands to translate Unix makefile into MPW syntax. * mpw-make.in: Remove. * hosts/mpw.h: Remove. * bfd-in.h, bfd-in2.h: If MPW, include the file that defines true and false as enums, then define TRUE_FALSE_ALREADY_DEFINED.
1995-09-06 * configure.in: Call AC_CONFIG_HEADER. SubstituteIan Lance Taylor45-1398/+0
HOST_64BIT_LONG. Check that various header files exist. Check that fcntl exists. Call BFD_BINARY_FOPEN. Check whether malloc and/or free need to be declared. Don't make a link to sysdep.h. Define TRAD_HEADER for various hosts. * configure: Rebuild. * configure.host: Don't set my_host. Add definitions taken from host header files for various entries. Remove entries which now do nothing. * acconfig.h: New file. * config.h.in: New file, built by autoheader. * sysdep.h: New file. * Makefile.in (do_distclean): Don't remove sysdep.h. (RECONFIG): Remove. (LOCAL_H_DEPS): New variable. ($(BFD_LIBS)): Use $(LOCAL_H_DEPS) rather than libbfd.h and $(RECONFIG). ($(BFD_MACHINES), $(BFD_BACKENDS)): Likewise. ($(OPTIONAL_BACKENDS)): Likewise. (stmp-bfd.h): Just substitute for BFD_HOST_64BIT_LONG, rather than looking through sysdep.h. * bfd-in.h (BFD_HOST_64BIT_LONG): Define; set by Makefile. (BFD_HOST_64_BIT): Define based on BFD_HOST_64BIT_LONG. (fprintf_vma, sprintf_vma): Likewise. (int64_type, uint64_type): Don't define. * bfd-in2.h: Rebuild. * archures.c, bfd.c, srec.c: Include <ctype.h>. * elfcore.h: Check HAVE_SYS_PROCFS_H rather than HAVE_PROCFS. * lynx-core.c: Include stuff from old hosts/lynx.h. * opncls.c (bfd_fdopenr): Check HAVE_FNCTL and defined (F_GETFL), rather than NO_FCNTL. * targets.c (bfd_target_list): Check HOST_HPPAHPUX and ! __STDC__ rather than NATIVE_HPPAHPUX_COMPILER. * trad-core.c: Don't include <errno.h>. Include TRAD_HEADER if it is defined. * hosts/*.h: Remove all header files which merely include, declare, and define things. Leave header files which define information needed by trad-core.c.
1995-08-08 * configure.host: Recognize aix4 explicitly.Jeff Law2-0/+24
* rs6000-core.c (CORE_DATA_SIZE_FIELD): New macro to get a the size of a core dump's data section. Provide alternate definition for aix4. (SAVE_FIELD): Similarly for save state field (register info). (STACK_END_ADDR): Provide definition suitable for aix4. * config/{aix4.mh,aix4.mt}: New configuration files. * hosts/aix4.h: Likewise. Mike's aix4 changes, slightly modified.
1995-07-20 * hosts/i386v4.h (getgid, getuid): Change prototypes to beFred Fish1-2/+2
compatible with Unixware 1.x and Unixware 2.x, and probably other i386 svr4 versions as well.
1995-07-03Mon Jul 3 13:55:18 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-1/+1
* config.bfd (win32): New configuration. * configure.host (pe): Changed to i386win32. * config/i386pe.mh: Deleted. * config/i386win32.mh: New file.
1995-06-29Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-0/+21
* Makefile.in: versados.o is now conditionally built. * coffcode.h (add_data_entry): New function. (coff_write_object_contents): Clean up. Calculate data entries. * cofflink.c (_bfd_coff_generic_relocate_section): .reloc and .edata sections are IMAGE_BASED too. If there's a base_file then write out base information. * configure.host (i386-*-pe): New. * syms.c (coff_section_type): Only scan prefixes. * targets.c (bfd_target_vector): Versados is now conditionally built. * config/m68k-coff.mt: Build versados.o * hosts/i386pe.h: New file.
1995-04-25 * hosts/std-host.h: #include ansidecl.h 'cause PTR is used inJason Molenda1-0/+1
std-host.h.
1995-04-24Provide escape hatch for HAVE_PROCFS being defined.Michael Meissner1-0/+3
1995-04-21Patches from H.J. Lu for Linux ELF core file support.Ken Raeburn1-0/+20
* elfcode.h (elf_core_file_matches_executable_p) [HAVE_PROCFS]: Use prpsinfo_t instead of struct prpsinfo, for consistency. * hosts/i386linux.h (HAVE_PROCFS): Define.
1995-04-04Always keep all MPW support filesStan Shebs1-5/+1
1995-03-04 * hosts/mpw.h (SEEK_SET, SEEK_CUR, BYTES_IN_PRINTF_INT):Stan Shebs1-11/+8
Remove definitions. (mpw_fread, mpw_fwrite): Declare, define as substitutes for fread and fwrite.
1995-02-17 * hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.Ian Lance Taylor1-26/+7
Only define SEEK_SET and SEEK_CUR if they are not already defined. Remove all external function declarations.
1995-02-16 * hosts/std-host.h: Remove all function declarations which returnIan Lance Taylor1-31/+0
int or void, except the one for free.
1994-12-15 * hosts/mpw.h: Include spin.h.Stan Shebs1-0/+2
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.