diff options
author | Richard Henderson <rth@redhat.com> | 1999-05-03 07:29:11 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-05-03 07:29:11 +0000 |
commit | 252b5132c753830d5fd56823373aed85f2a0db63 (patch) | |
tree | 1af963bfd8d3e55167b81def4207f175eaff3a56 /bfd/hosts | |
download | gdb-252b5132c753830d5fd56823373aed85f2a0db63.zip gdb-252b5132c753830d5fd56823373aed85f2a0db63.tar.gz gdb-252b5132c753830d5fd56823373aed85f2a0db63.tar.bz2 |
19990502 sourceware importbinu_ss_19990502
Diffstat (limited to 'bfd/hosts')
-rw-r--r-- | bfd/hosts/alphalinux.h | 6 | ||||
-rw-r--r-- | bfd/hosts/alphavms.h | 69 | ||||
-rw-r--r-- | bfd/hosts/decstation.h | 17 | ||||
-rw-r--r-- | bfd/hosts/delta68.h | 18 | ||||
-rw-r--r-- | bfd/hosts/dpx2.h | 8 | ||||
-rw-r--r-- | bfd/hosts/hp300bsd.h | 13 | ||||
-rw-r--r-- | bfd/hosts/i386bsd.h | 32 | ||||
-rw-r--r-- | bfd/hosts/i386linux.h | 8 | ||||
-rw-r--r-- | bfd/hosts/i386mach3.h | 25 | ||||
-rw-r--r-- | bfd/hosts/i386sco.h | 19 | ||||
-rw-r--r-- | bfd/hosts/i860mach3.h | 27 | ||||
-rw-r--r-- | bfd/hosts/m68kaux.h | 16 | ||||
-rw-r--r-- | bfd/hosts/m68klinux.h | 6 | ||||
-rw-r--r-- | bfd/hosts/m88kmach3.h | 11 | ||||
-rw-r--r-- | bfd/hosts/mipsbsd.h | 12 | ||||
-rw-r--r-- | bfd/hosts/mipsmach3.h | 10 | ||||
-rw-r--r-- | bfd/hosts/news-mips.h | 12 | ||||
-rw-r--r-- | bfd/hosts/news.h | 9 | ||||
-rw-r--r-- | bfd/hosts/pc532mach.h | 24 | ||||
-rw-r--r-- | bfd/hosts/riscos.h | 10 | ||||
-rw-r--r-- | bfd/hosts/symmetry.h | 20 | ||||
-rw-r--r-- | bfd/hosts/tahoe.h | 12 | ||||
-rw-r--r-- | bfd/hosts/vaxbsd.h | 19 | ||||
-rw-r--r-- | bfd/hosts/vaxult.h | 8 | ||||
-rw-r--r-- | bfd/hosts/vaxult2.h | 8 |
25 files changed, 419 insertions, 0 deletions
diff --git a/bfd/hosts/alphalinux.h b/bfd/hosts/alphalinux.h new file mode 100644 index 0000000..d9ba1b7 --- /dev/null +++ b/bfd/hosts/alphalinux.h @@ -0,0 +1,6 @@ +/* Linux dumps "struct task_struct" at the end of the core-file. This + structure is currently 920 bytes long, but we allow up to 1024 + bytes to allow for some future growth. */ +#define TRAD_CORE_EXTRA_SIZE_ALLOWED 1024 +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \ + ((abfd)->tdata.trad_core_data->u.signal) diff --git a/bfd/hosts/alphavms.h b/bfd/hosts/alphavms.h new file mode 100644 index 0000000..eee391a --- /dev/null +++ b/bfd/hosts/alphavms.h @@ -0,0 +1,69 @@ +/* alphavms.h -- BFD definitions for an openVMS host + Copyright 1996 Free Software Foundation, Inc. + Written by Klaus Kämpf (kkaempf@progis.de) + of proGIS Softwareentwicklung, Aachen, Germany + +This file is part of BFD, the Binary File Descriptor library. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#include <stddef.h> +#include <fcntl.h> +#include <errno.h> +#include <stdio.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <ctype.h> +#include <string.h> +#include <sys/file.h> +#include <stdlib.h> +#include <unixlib.h> +#include <unixio.h> +#include <time.h> + +#include "bfd.h" + +#ifndef BFD_HOST_64_BIT +/* Make the basic types 64-bit quantities on the host. + Also provide the support macros BFD needs. */ +# ifdef __GNUC__ +# define BFD_HOST_64_BIT long long +# else +# define BFD_HOST_64_BIT long +# endif +typedef unsigned BFD_HOST_64_BIT uint64_type; +typedef BFD_HOST_64_BIT int64_type; + +# define sprintf_vma(s,x) sprintf (s, "%016lx", x) /* BFD_HOST_64_BIT */ +# define fprintf_vma(f,x) fprintf (f, "%016lx", x) /* BFD_HOST_64_BIT */ + +# define BYTES_IN_PRINTF_INT 4 + +/* These must have type unsigned long because they are used as + arguments in printf functions. */ +# define uint64_typeLOW(x) ((unsigned long) (((x) & 0xffffffff))) /* BFD_HOST_64_BIT */ +# define uint64_typeHIGH(x) ((unsigned long) (((x) >> 32) & 0xffffffff)) /* BFD_HOST_64_BIT */ + +#endif /* BFD_HOST_64_BIT */ + +#include "fopen-vms.h" + +#define NO_FCNTL 1 + +#ifndef O_ACCMODE +#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) +#endif + +extern int getpagesize PARAMS ((void)); diff --git a/bfd/hosts/decstation.h b/bfd/hosts/decstation.h new file mode 100644 index 0000000..a80c143 --- /dev/null +++ b/bfd/hosts/decstation.h @@ -0,0 +1,17 @@ +/* Hopefully this should include either machine/param.h (Ultrix) or + machine/machparam.h (Mach), whichever is its name on this system. */ +#include <sys/param.h> + +#include <machine/vmparam.h> + +#define HOST_PAGE_SIZE NBPG +/* #define HOST_SEGMENT_SIZE NBPG -- we use HOST_DATA_START_ADDR */ +#define HOST_MACHINE_ARCH bfd_arch_mips +/* #define HOST_MACHINE_MACHINE */ + +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_DATA_START_ADDR USRDATA +#define HOST_STACK_END_ADDR USRSTACK + +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \ + ((core_bfd)->tdata.trad_core_data->u.u_arg[0]) diff --git a/bfd/hosts/delta68.h b/bfd/hosts/delta68.h new file mode 100644 index 0000000..1a6a6e6 --- /dev/null +++ b/bfd/hosts/delta68.h @@ -0,0 +1,18 @@ +/* Definitions for a Motorola Delta 3300 box running System V R3.0. + Contributed by manfred@lts.sel.alcatel.de. */ + +#include <sys/param.h> + +/* Definitions used by trad-core.c. */ +#define NBPG NBPC +#define HOST_DATA_START_ADDR u.u_exdata.ux_datorg +#define HOST_TEXT_START_ADDR u.u_exdata.ux_txtorg +#if 0 +#define HOST_STACK_END_ADDR 0x40000000 +#else +/* User's stack, copied from sys/param.h */ +#define HOST_STACK_END_ADDR USRSTACK +#endif +#define UPAGES USIZE +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \ + abfd->tdata.trad_core_data->u.u_abort diff --git a/bfd/hosts/dpx2.h b/bfd/hosts/dpx2.h new file mode 100644 index 0000000..ea6395f --- /dev/null +++ b/bfd/hosts/dpx2.h @@ -0,0 +1,8 @@ +/* Definitions that are needed for core files. Core section sizes for + the DPX2 are in bytes. */ + +#include <sys/param.h> +#define NBPG 1 +#define UPAGES (USIZE * NBPP) +#define HOST_DATA_START_ADDR (u.u_exdata.ux_datorg) +#define HOST_STACK_END_ADDR (USERSTACK) diff --git a/bfd/hosts/hp300bsd.h b/bfd/hosts/hp300bsd.h new file mode 100644 index 0000000..9828717 --- /dev/null +++ b/bfd/hosts/hp300bsd.h @@ -0,0 +1,13 @@ +#include <sys/param.h> +#ifdef BSD4_4 +#define NO_CORE_COMMAND +#endif + +#define HOST_PAGE_SIZE NBPG +#define HOST_SEGMENT_SIZE NBPG /* Data seg start addr rounds to NBPG */ +#define HOST_MACHINE_ARCH bfd_arch_m68k +/* #define HOST_MACHINE_MACHINE */ + +#define HOST_TEXT_START_ADDR 0 +#define HOST_STACK_END_ADDR 0xfff00000 +#define HOST_BIG_ENDIAN_P diff --git a/bfd/hosts/i386bsd.h b/bfd/hosts/i386bsd.h new file mode 100644 index 0000000..8eee3d8 --- /dev/null +++ b/bfd/hosts/i386bsd.h @@ -0,0 +1,32 @@ +/* Intel 386 running any BSD Unix */ + +#include <machine/param.h> +#include <machine/vmparam.h> + +/* Recent versions of FreeBSD don't define NBPG. */ +#ifndef NBPG +#ifdef PAGE_SIZE +#define NBPG PAGE_SIZE +#endif +#endif + +#define HOST_PAGE_SIZE NBPG +#define HOST_MACHINE_ARCH bfd_arch_i386 +#define HOST_TEXT_START_ADDR USRTEXT + +/* Jolitz suggested defining HOST_STACK_END_ADDR to + (u.u_kproc.kp_eproc.e_vm.vm_maxsaddr + MAXSSIZ), which should work on + both BSDI and 386BSD, but that is believed not to work for BSD 4.4. */ + +#ifdef __bsdi__ +/* This seems to be the right thing for BSDI. */ +#define HOST_STACK_END_ADDR USRSTACK +#define HOST_DATA_START_ADDR ((bfd_vma)u.u_kproc.kp_eproc.e_vm.vm_daddr) +#else +/* This seems to be the right thing for 386BSD release 0.1. */ +#define HOST_STACK_END_ADDR (USRSTACK - MAXSSIZ) +#endif + +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \ + ((core_bfd)->tdata.trad_core_data->u.u_sig) +#define u_comm u_kproc.kp_proc.p_comm diff --git a/bfd/hosts/i386linux.h b/bfd/hosts/i386linux.h new file mode 100644 index 0000000..13a51f1 --- /dev/null +++ b/bfd/hosts/i386linux.h @@ -0,0 +1,8 @@ +/* Linux writes the task structure at the end of the core file. Currently it + is 2912 bytes. It is possible that this should be a pickier check, but + we should probably not be too picky (the size of the task structure might + vary, and if it's not the length we expect it to be, it doesn't affect + our ability to process the core file). So allow 0-4096 extra bytes at + the end. */ + +#define TRAD_CORE_EXTRA_SIZE_ALLOWED 4096 diff --git a/bfd/hosts/i386mach3.h b/bfd/hosts/i386mach3.h new file mode 100644 index 0000000..dcc61e3 --- /dev/null +++ b/bfd/hosts/i386mach3.h @@ -0,0 +1,25 @@ +#include <machine/vmparam.h> +#include <sys/param.h> + +/* This is an ugly way to hack around the incorrect + * definition of UPAGES in i386/machparam.h. + * + * The definition should specify the size reserved + * for "struct user" in core files in PAGES, + * but instead it gives it in 512-byte core-clicks + * for i386 and i860. UPAGES is used only in trad-core.c. + */ +#if UPAGES == 16 +#undef UPAGES +#define UPAGES 2 +#endif + +#if UPAGES != 2 +FIXME!! UPAGES is neither 2 nor 16 +#endif + +#define HOST_PAGE_SIZE 1 +#define HOST_SEGMENT_SIZE NBPG +#define HOST_MACHINE_ARCH bfd_arch_i386 +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_STACK_END_ADDR USRSTACK diff --git a/bfd/hosts/i386sco.h b/bfd/hosts/i386sco.h new file mode 100644 index 0000000..ec8608c --- /dev/null +++ b/bfd/hosts/i386sco.h @@ -0,0 +1,19 @@ +/* Core file stuff. At least some, perhaps all, of the following + defines work on many more systems than just SCO. */ + +#define NBPG NBPC +#define UPAGES USIZE +#define HOST_DATA_START_ADDR u.u_exdata.ux_datorg +#define HOST_STACK_START_ADDR u.u_sub +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \ + ((core_upage(abfd)->u_sysabort != 0) \ + ? core_upage(abfd)->u_sysabort \ + : -1) + +/* According to the manpage, a version 2 SCO corefile can contain + various additional sections (it is cleverly arranged so the u area, + data, and stack are first where we can find them). So without + writing lots of code to parse all their headers and stuff, we can't + know whether a corefile is bigger than it should be. */ + +#define TRAD_CORE_ALLOW_ANY_EXTRA_SIZE 1 diff --git a/bfd/hosts/i860mach3.h b/bfd/hosts/i860mach3.h new file mode 100644 index 0000000..edd2aa1 --- /dev/null +++ b/bfd/hosts/i860mach3.h @@ -0,0 +1,27 @@ +/* This file was hacked from i386mach3.h [dolan@ssd.intel.com] */ + +#include <machine/vmparam.h> +#include <sys/param.h> + +/* This is an ugly way to hack around the incorrect + * definition of UPAGES in i386/machparam.h. + * + * The definition should specify the size reserved + * for "struct user" in core files in PAGES, + * but instead it gives it in 512-byte core-clicks + * for i386 and i860. UPAGES is used only in trad-core.c. + */ +#if UPAGES == 16 +#undef UPAGES +#define UPAGES 2 +#endif + +#if UPAGES != 2 +FIXME!! UPAGES is neither 2 nor 16 +#endif + +#define HOST_PAGE_SIZE 1 +#define HOST_SEGMENT_SIZE NBPG +#define HOST_MACHINE_ARCH bfd_arch_i860 +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_STACK_END_ADDR USRSTACK diff --git a/bfd/hosts/m68kaux.h b/bfd/hosts/m68kaux.h new file mode 100644 index 0000000..6237755 --- /dev/null +++ b/bfd/hosts/m68kaux.h @@ -0,0 +1,16 @@ +/* Definitions for an Apple Macintosh running A/UX 3.x. */ + +#include <sys/param.h> +#include <sys/page.h> + +/* Definitions used by trad-core.c. */ +#define NBPG NBPP + +#define HOST_DATA_START_ADDR u.u_exdata.ux_datorg +#define HOST_TEXT_START_ADDR u.u_exdata.ux_txtorg +#define HOST_STACK_END_ADDR 0x100000000 + +#define UPAGES USIZE + +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \ + (abfd->tdata.trad_core_data->u.u_arg[0]) diff --git a/bfd/hosts/m68klinux.h b/bfd/hosts/m68klinux.h new file mode 100644 index 0000000..0067dfa --- /dev/null +++ b/bfd/hosts/m68klinux.h @@ -0,0 +1,6 @@ +/* Linux dumps "struct task_struct" at the end of the core-file. This + structure is currently 2512 bytes long, but we allow up to 4096 + bytes to allow for some future growth. */ +#define TRAD_CORE_EXTRA_SIZE_ALLOWED 4096 +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \ + ((abfd)->tdata.trad_core_data->u.signal) diff --git a/bfd/hosts/m88kmach3.h b/bfd/hosts/m88kmach3.h new file mode 100644 index 0000000..4215538 --- /dev/null +++ b/bfd/hosts/m88kmach3.h @@ -0,0 +1,11 @@ +#include <machine/vmparam.h> +#include <sys/param.h> + +#undef UPAGES +#define UPAGES 3 + +#define HOST_PAGE_SIZE NBPG +#define HOST_SEGMENT_SIZE NBPG +#define HOST_MACHINE_ARCH bfd_arch_m88k +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_STACK_END_ADDR USRSTACK diff --git a/bfd/hosts/mipsbsd.h b/bfd/hosts/mipsbsd.h new file mode 100644 index 0000000..a2fad21 --- /dev/null +++ b/bfd/hosts/mipsbsd.h @@ -0,0 +1,12 @@ +#include <machine/param.h> +#include <machine/vmparam.h> +#undef ALIGN + +#define HOST_PAGE_SIZE NBPG +/* #define HOST_SEGMENT_SIZE NBPG -- we use HOST_DATA_START_ADDR */ +#define HOST_MACHINE_ARCH bfd_arch_mips +/* #define HOST_MACHINE_MACHINE */ + +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_STACK_END_ADDR USRSTACK +#define NO_CORE_COMMAND diff --git a/bfd/hosts/mipsmach3.h b/bfd/hosts/mipsmach3.h new file mode 100644 index 0000000..c5c468d --- /dev/null +++ b/bfd/hosts/mipsmach3.h @@ -0,0 +1,10 @@ +#include <machine/vmparam.h> +#include <machine/machparam.h> +#include <sys/param.h> + +#define HOST_PAGE_SIZE NBPG +/* #define HOST_SEGMENT_SIZE NBPG */ +#define HOST_MACHINE_ARCH bfd_arch_mips +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_DATA_START_ADDR USRDATA +#define HOST_STACK_END_ADDR USRSTACK diff --git a/bfd/hosts/news-mips.h b/bfd/hosts/news-mips.h new file mode 100644 index 0000000..9e799be --- /dev/null +++ b/bfd/hosts/news-mips.h @@ -0,0 +1,12 @@ +/* Sony News running NewsOS 3.2. */ + +#include <sys/param.h> +#include <machine/vmparam.h> + +#define HOST_PAGE_SIZE NBPG + +#define HOST_MACHINE_ARCH bfd_arch_mips + +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_DATA_START_ADDR USRDATA +#define HOST_STACK_END_ADDR USRSTACK diff --git a/bfd/hosts/news.h b/bfd/hosts/news.h new file mode 100644 index 0000000..bf7946c --- /dev/null +++ b/bfd/hosts/news.h @@ -0,0 +1,9 @@ +/* Sony News running NewsOS 3.2. */ + +#include <machine/vmparam.h> + +#define HOST_PAGE_SIZE NBPG +#define HOST_SEGMENT_SIZE NBPG +#define HOST_MACHINE_ARCH bfd_arch_m68k +#define HOST_TEXT_START_ADDR 0 +#define HOST_STACK_END_ADDR (KERNBASE - (UPAGES * NBPG)) diff --git a/bfd/hosts/pc532mach.h b/bfd/hosts/pc532mach.h new file mode 100644 index 0000000..ab96f59 --- /dev/null +++ b/bfd/hosts/pc532mach.h @@ -0,0 +1,24 @@ +#include <machine/vmparam.h> +#include <sys/param.h> + +/* This is an ugly way to hack around the incorrect + * definition of UPAGES in ns532/machparam.h. + * + * The definition should specify the size reserved + * for "struct user" in core files in PAGES, + * but instead it gives it in 512-byte core-clicks + * for ns532, i386 and i860. UPAGES is used only in trad-core.c. + */ +#if UPAGES == 16 +#undef UPAGES +#define UPAGES 2 +#endif + +#if UPAGES != 2 +#error UPAGES is neither 2 nor 16 +#endif + +#define HOST_PAGE_SIZE 1 +#define HOST_SEGMENT_SIZE NBPG +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_STACK_END_ADDR USRSTACK diff --git a/bfd/hosts/riscos.h b/bfd/hosts/riscos.h new file mode 100644 index 0000000..8ffa826 --- /dev/null +++ b/bfd/hosts/riscos.h @@ -0,0 +1,10 @@ +/* RISC/os 4.52C, and presumably other versions. */ + +#include <bsd43/machine/machparam.h> +#include <bsd43/machine/vmparam.h> + +#define NBPG BSD43_NBPG +#define UPAGES BSD43_UPAGES +#define HOST_TEXT_START_ADDR BSD43_USRTEXT +#define HOST_DATA_START_ADDR BSD43_USRDATA +#define HOST_STACK_END_ADDR BSD43_USRSTACK diff --git a/bfd/hosts/symmetry.h b/bfd/hosts/symmetry.h new file mode 100644 index 0000000..75717b3 --- /dev/null +++ b/bfd/hosts/symmetry.h @@ -0,0 +1,20 @@ +/* Symmetry running either dynix 3.1 (bsd) or ptx (sysv). */ + +#define NBPG 4096 +#define UPAGES 1 + +#ifdef _SEQUENT_ +/* ptx */ +#define HOST_TEXT_START_ADDR 0 +#define HOST_STACK_END_ADDR 0x3fffe000 +#define TRAD_CORE_USER_OFFSET ((UPAGES * NBPG) - sizeof (struct user)) +#else +/* dynix */ +#define HOST_TEXT_START_ADDR 0x1000 +#define HOST_DATA_START_ADDR (NBPG * u.u_tsize) +#define HOST_STACK_END_ADDR 0x3ffff000 +#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \ + ((core_bfd)->tdata.trad_core_data->u.u_arg[0]) +#endif + +#define TRAD_CORE_DSIZE_INCLUDES_TSIZE diff --git a/bfd/hosts/tahoe.h b/bfd/hosts/tahoe.h new file mode 100644 index 0000000..716cee2 --- /dev/null +++ b/bfd/hosts/tahoe.h @@ -0,0 +1,12 @@ +#define NO_CORE_COMMAND + +#undef ALIGN /* They use it, we use it too */ +#include <machine/param.h> +#undef ALIGN /* They use it, we use it too */ + +#define HOST_PAGE_SIZE NBPG +#define HOST_MACHINE_ARCH bfd_arch_tahoe + +#define HOST_TEXT_START_ADDR 0 +#define HOST_STACK_END_ADDR (KERNBASE - (UPAGES * NBPG)) +#define HOST_BIG_ENDIAN_P diff --git a/bfd/hosts/vaxbsd.h b/bfd/hosts/vaxbsd.h new file mode 100644 index 0000000..ceb9cce --- /dev/null +++ b/bfd/hosts/vaxbsd.h @@ -0,0 +1,19 @@ +#define NO_CORE_COMMAND /* No command name in core file */ + +#if 0 +#undef ALIGN /* They use it, we use it too */ +/* Does not exist on BSD 4.3, it uses machine/machparam.h. + Whatever it is, it's included by <sys/param.h>, which trad-core.c, + the only place that uses this (I think), already includes. */ +#include <machine/param.h> +#endif +#undef ALIGN /* They use it, we use it too */ + +/* Note that HOST_PAGE_SIZE -- the page size as far as executable files + are concerned -- is not the same as NBPG, because of page clustering. */ +#define HOST_PAGE_SIZE 1024 +#define HOST_MACHINE_ARCH bfd_arch_vax + +#define HOST_TEXT_START_ADDR 0 +#define HOST_STACK_END_ADDR (0x80000000 - (UPAGES * NBPG)) +#undef HOST_BIG_ENDIAN_P diff --git a/bfd/hosts/vaxult.h b/bfd/hosts/vaxult.h new file mode 100644 index 0000000..13731b7 --- /dev/null +++ b/bfd/hosts/vaxult.h @@ -0,0 +1,8 @@ +#include <machine/param.h> +#include <machine/vmparam.h> +#define HOST_PAGE_SIZE (NBPG*CLSIZE) +#define HOST_MACHINE_ARCH bfd_arch_vax + +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_STACK_END_ADDR USRSTACK +#undef HOST_BIG_ENDIAN_P diff --git a/bfd/hosts/vaxult2.h b/bfd/hosts/vaxult2.h new file mode 100644 index 0000000..13731b7 --- /dev/null +++ b/bfd/hosts/vaxult2.h @@ -0,0 +1,8 @@ +#include <machine/param.h> +#include <machine/vmparam.h> +#define HOST_PAGE_SIZE (NBPG*CLSIZE) +#define HOST_MACHINE_ARCH bfd_arch_vax + +#define HOST_TEXT_START_ADDR USRTEXT +#define HOST_STACK_END_ADDR USRSTACK +#undef HOST_BIG_ENDIAN_P |