diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-31 18:17:12 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-31 18:17:12 +0000 |
commit | d19df9b51f33394c53d221f559cda4606e25a04b (patch) | |
tree | 878ccd7a3d4d7977b799eddac120dc712c0a27dd /bfd/hosts | |
parent | c31c8827c8eb639a0c6efb9ca716a10b4d6d14f0 (diff) | |
download | gdb-d19df9b51f33394c53d221f559cda4606e25a04b.zip gdb-d19df9b51f33394c53d221f559cda4606e25a04b.tar.gz gdb-d19df9b51f33394c53d221f559cda4606e25a04b.tar.bz2 |
Wed Jan 31 12:55:49 1996 Richard Henderson <rth@tamu.edu>
* 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.
Diffstat (limited to 'bfd/hosts')
-rw-r--r-- | bfd/hosts/.Sanitize | 1 | ||||
-rw-r--r-- | bfd/hosts/m68kaux.h | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize index 39ef327..aa1993f 100644 --- a/bfd/hosts/.Sanitize +++ b/bfd/hosts/.Sanitize @@ -35,6 +35,7 @@ i386mach3.h i386nbsd.h i386sco.h i860mach3.h +m68kaux.h m68knbsd.h m88kmach3.h mipsbsd.h 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]) |