diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-18 00:54:48 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-08-18 00:54:48 +0000 |
commit | 13cadf768b4749b5e6ce5645d702d1ee559ab14d (patch) | |
tree | d3dce76a8924d939a3233f01fa7dd8d0adc542a8 /bfd | |
parent | 5670002f8f7f164d0e8b11b46a61edb49ab150f7 (diff) | |
download | gdb-13cadf768b4749b5e6ce5645d702d1ee559ab14d.zip gdb-13cadf768b4749b5e6ce5645d702d1ee559ab14d.tar.gz gdb-13cadf768b4749b5e6ce5645d702d1ee559ab14d.tar.bz2 |
* hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
* 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>.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/Makefile.in | 11 | ||||
-rw-r--r-- | bfd/configure.host | 35 | ||||
-rw-r--r-- | bfd/hosts/i386osf1mk.h | 11 |
4 files changed, 47 insertions, 18 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 302532b..3c8abd7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +Tue Aug 17 18:12:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting. + * 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>. + Tue Aug 17 15:19:41 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * coffgen.c (coff_section_symbol): If section's output_section is diff --git a/bfd/Makefile.in b/bfd/Makefile.in index f36330f..f5beccf 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -72,7 +72,7 @@ BFD_H = bfd.h # Some of these files should be in BFD*_BACKENDS below, but some programs # won't link without them. So, in order for some of the minimal-bfd # hacks to work, they're also included here for now. -# gdb: ecoff.o +# gdb: ecoff.o elf.o # objdump: elf.o # # Also, Jim Kingdon notes: @@ -97,13 +97,13 @@ BFD32_BACKENDS = \ nlm.o \ nlm32.o nlm32-gen.o nlm32-i386.o \ aout32.o sunos.o newsos3.o mipsbsd.o aout-adobe.o \ - i386aout.o i386bsd.o i386linux.o i386lynx.o \ + i386aout.o i386bsd.o i386linux.o i386lynx.o i386mach3.o \ hp300bsd.o hp300hpux.o bout.o \ coff-i960.o coff-a29k.o coff-m68k.o coff-u68k.o \ coff-i386.o coff-m88k.o \ coff-rs6000.o coff-h8300.o coff-h8500.o coff-z8k.o coff-we32k.o \ coff-mips.o coff-sh.o \ - hppa.o oasys.o ieee.o srec.o \ + hppa.o oasys.o ieee.o reloc16.o \ stab-syms.o BFD64_BACKENDS = \ @@ -149,7 +149,7 @@ CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \ coff-a29k.c coff-rs6000.c coffgen.c format.c \ section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \ seclet.c coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \ - i386aout.c i386linux.c bout.c aout-adobe.c coff-we32k.c \ + i386aout.c i386linux.c i386mach3.c bout.c aout-adobe.c coff-we32k.c \ i386bsd.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \ cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c \ cpu-rs6000.c coff-h8300.c hppa.c cpu-hppa.c cpu-we32k.c reloc16.c \ @@ -486,6 +486,9 @@ i386lynx.o : i386lynx.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ i386aout.o : i386aout.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ $(INCDIR)/aout/ar.h libaout.h +i386mach3.o : i386mach3.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ + $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ + $(INCDIR)/aout/ar.h libaout.h i386linux.o : i386linux.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ $(INCDIR)/aout/ar.h libaout.h diff --git a/bfd/configure.host b/bfd/configure.host index 0c2faeb..bf6cf07 100644 --- a/bfd/configure.host +++ b/bfd/configure.host @@ -20,20 +20,24 @@ case "${host}" in alpha-*-*) my_host=alphaosf ; host64=true ;; a29k-*-*) my_host=ultra3 ;; -hppa*-hp-hpux) my_host=hppahpux ;; -hppa*-hp-bsd) my_host=hppabsd ;; -hppa*-hp-osf) my_host=hppaosf ;; +hppa*-hp-hpux*) my_host=hppahpux ;; +hppa*-hp-bsd*) my_host=hppabsd ;; +hppa*-hp-osf*) my_host=hppaosf ;; -i[34]86-*-bsd) my_host=i386bsd ;; +i[34]86-*-bsd*) my_host=i386bsd ;; +i[34]86-*-lynx*) my_host=i386lynx ;; i[34]86-ncr*-sysv4*) my_host=ncr3000 ;; -i[34]86-*-go32) my_host=go32 ;; +i[34]86-*-go32*) my_host=go32 ;; +i[34]86-esix-sysv3*) my_host=esix ;; i[34]86-*-sysv4*) my_host=i386v4 ;; i[34]86-*-sysv*) my_host=i386v ;; i[34]86-*-solaris*) my_host=i386v ;; -i[34]86-*-sco*) my_host=i386v ;; -i[34]86-*-mach*) my_host=i386mach ;; +i[34]86-*-sco*) my_host=i386sco ;; +i[34]86-*-mach*) my_host=i386mach3 ;; +i[34]86-*-osf1mk*) my_host=i386osf1mk ;; i[34]86-*-msdos*) my_host=dose ;; -i[34]86-*-linux) my_host=i386linux ;; +i[34]86-*-linux*) my_host=i386linux ;; +i[34]86-*-lynxos*) my_host=i386lynx ;; i[34]86-*-isc*) my_host=i386isc ;; i[34]86-*-aix*) my_host=i386aix ;; @@ -50,26 +54,29 @@ m68*-apollo*-sysv*) my_host=apollov68 ;; m68*-apollo*-bsd*) my_host=apollo68 ;; m68*-bull*-sysv*) my_host=dpx2 ;; m68*-convergent-sysv*) my_host=miniframe ;; -m68*-cbm-amigados) my_host=amigados ;; +m68*-cbm-amigados*) my_host=amigados ;; m68*-cbm-sysv4*) my_host=amix ;; -m68*-hp-hpux) my_host=hp300 ;; -m68*-hp-bsd) my_host=hp300bsd ;; +m68*-hp-hpux*) my_host=hp300 ;; +m68*-hp-bsd*) my_host=hp300bsd ;; m68*-motorola-sysv*) my_host=delta68 ;; m68*-sony-*) my_host=news ;; m68*-sun-*) my_host=sun3 ;; m88k-motorola-*) my_host=delta88 ;; m88k-harris-*) my_host=harris ;; -m88k-*-dgux) my_host=dgux ;; +m88k-*-dgux*) my_host=dgux ;; + +# Apparently the same config file as for 386 works. +ns32k-*-mach*) my_host=i386mach3 ;; romp-*-*) my_host=rtbsd ;; rs6000-*-*) my_host=rs6000 ;; -sparc-*-sunos64) my_host=sparc-ll ;; +sparc-*-sunos64*) my_host=sparc-ll ;; sparc-*-sysv4*) my_host=sysv4 ;; sparc-*-solaris2*) my_host=solaris2 ;; -sparc-*-sysv64) my_host=sysv4-ll ;; +sparc-*-sysv64*) my_host=sysv4-ll ;; sparc-*-*) my_host=sparc ;; tahoe-*-*) my_host=tahoe ;; diff --git a/bfd/hosts/i386osf1mk.h b/bfd/hosts/i386osf1mk.h index e69de29..cef73b4 100644 --- a/bfd/hosts/i386osf1mk.h +++ b/bfd/hosts/i386osf1mk.h @@ -0,0 +1,11 @@ +#include "hosts/std-host.h" + +#include <machine/machparam.h> + +#define HAVE_STRERROR + +#define HOST_PAGE_SIZE NBPG +#define HOST_SEGMENT_SIZE NBPG +#define HOST_MACHINE_ARCH bfd_arch_i386 +#define HOST_TEXT_START_ADDR 0x10000 /* By inspection */ +#define HOST_STACK_END_ADDR KERNBASE |