mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
Update to ns32k support, from Ian Dall (dall@hfrd.dsto.gov.au).
* aout-ns32k.c: Add declarations that were in aout-ns32k.h, change declarations to traditional form. (MY_reloc_howto, MY_put_reloc): Change from macro to function. (ns32k_relocate_contents): New function. * aout-ns32k.h: Remove. * cpu-ns32k.c: Add declarations that were in aout-ns32k.h, change declarations to traditional form. (ns32k_final_link_relocate): Call ns32k_relocate_contents. * netbsd532.c: Reformat to standards, add copyright notice. (ARCH): Don't define. (aout-ns32k.h): Don't include. * pc532-mach.c: Ditto.
This commit is contained in:
@ -1,3 +1,24 @@
|
|||||||
|
Mon Aug 8 17:18:49 1994 Stan Shebs (shebs@andros.cygnus.com)
|
||||||
|
|
||||||
|
Update to ns32k support, from Ian Dall (dall@hfrd.dsto.gov.au).
|
||||||
|
* aout-ns32k.c: Add declarations that were in aout-ns32k.h, change
|
||||||
|
declarations to traditional form.
|
||||||
|
(MY_reloc_howto, MY_put_reloc): Change from macro to function.
|
||||||
|
(ns32k_relocate_contents): New function.
|
||||||
|
* aout-ns32k.h: Remove.
|
||||||
|
* cpu-ns32k.c: Add declarations that were in aout-ns32k.h, change
|
||||||
|
declarations to traditional form.
|
||||||
|
(ns32k_final_link_relocate): Call ns32k_relocate_contents.
|
||||||
|
* netbsd532.c: Reformat to standards, add copyright notice.
|
||||||
|
(ARCH): Don't define.
|
||||||
|
(aout-ns32k.h): Don't include.
|
||||||
|
* pc532-mach.c: Ditto.
|
||||||
|
|
||||||
|
Mon Aug 8 17:55:52 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
|
||||||
|
|
||||||
|
* coff-i960.c (coff_i960_relocate): Don't try to convert relocs
|
||||||
|
against common symbols.
|
||||||
|
|
||||||
Sat Aug 6 22:27:30 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
Sat Aug 6 22:27:30 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
|
||||||
* irix-core.c (irix_core_core_file_p): Ignore sections that
|
* irix-core.c (irix_core_core_file_p): Ignore sections that
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
/* Written by Ian Dall
|
|
||||||
* 5-Jun-94
|
|
||||||
*/
|
|
||||||
#define MYNS(OP) CAT(ns32kaout_,OP)
|
|
||||||
CONST struct reloc_howto_struct *
|
|
||||||
MYNS(bfd_reloc_type_lookup)
|
|
||||||
PARAMS((bfd *abfd AND
|
|
||||||
bfd_reloc_code_real_type code));
|
|
||||||
|
|
||||||
boolean
|
|
||||||
MYNS(write_object_contents)
|
|
||||||
PARAMS((bfd *abfd));
|
|
||||||
|
|
||||||
/* Avoid multiple definitions from aoutx if supporting standard a.out format(s)
|
|
||||||
* as well as this one
|
|
||||||
*/
|
|
||||||
#define NAME(x,y) CAT3(ns32kaout, _32_, y)
|
|
@ -1,5 +1,5 @@
|
|||||||
/* BFD back-end for NetBSD/532 a.out-ish binaries.
|
/* BFD back-end for NetBSD/532 a.out-ish binaries.
|
||||||
Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
|
Copyright (C) 1990, 1991, 1992, 1994 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
||||||
|
|
||||||
@ -24,7 +24,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define BYTES_IN_WORD 4
|
#define BYTES_IN_WORD 4
|
||||||
#define ARCH 32
|
|
||||||
|
|
||||||
/* ZMAGIC files never include the header in the text. */
|
/* ZMAGIC files never include the header in the text. */
|
||||||
#define N_HEADER_IN_TEXT(x) 1
|
#define N_HEADER_IN_TEXT(x) 1
|
||||||
@ -123,10 +122,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
#include "sysdep.h"
|
#include "sysdep.h"
|
||||||
#include "aout-ns32k.h"
|
|
||||||
#include "libbfd.h"
|
#include "libbfd.h"
|
||||||
#include "libaout.h"
|
#include "libaout.h"
|
||||||
|
|
||||||
@ -138,6 +135,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#include "aout/aout64.h"
|
#include "aout/aout64.h"
|
||||||
|
|
||||||
/* Forward declaration. Defined in aout-target.h */
|
/* Forward declaration. Defined in aout-target.h */
|
||||||
|
|
||||||
static boolean MY(set_sizes)();
|
static boolean MY(set_sizes)();
|
||||||
|
|
||||||
static CONST struct aout_backend_data MY(backend_data) = {
|
static CONST struct aout_backend_data MY(backend_data) = {
|
||||||
@ -151,7 +149,6 @@ static CONST struct aout_backend_data MY(backend_data) = {
|
|||||||
|
|
||||||
#define MY_backend_data &MY(backend_data)
|
#define MY_backend_data &MY(backend_data)
|
||||||
|
|
||||||
|
|
||||||
/* We can`t use the MYNS macro here for cpp reasons too subtle
|
/* We can`t use the MYNS macro here for cpp reasons too subtle
|
||||||
* for me -- IWD
|
* for me -- IWD
|
||||||
*/
|
*/
|
||||||
@ -160,6 +157,16 @@ static CONST struct aout_backend_data MY(backend_data) = {
|
|||||||
/* libaout doesn't use NAME for these ... */
|
/* libaout doesn't use NAME for these ... */
|
||||||
#define MY_get_section_contents aout_32_get_section_contents
|
#define MY_get_section_contents aout_32_get_section_contents
|
||||||
|
|
||||||
|
#define MYNSX(OP) CAT(ns32kaout_,OP)
|
||||||
|
CONST struct reloc_howto_struct *
|
||||||
|
MYNSX(bfd_reloc_type_lookup)
|
||||||
|
PARAMS((bfd *abfd AND
|
||||||
|
bfd_reloc_code_real_type code));
|
||||||
|
|
||||||
|
boolean
|
||||||
|
MYNSX(write_object_contents)
|
||||||
|
PARAMS((bfd *abfd));
|
||||||
|
|
||||||
static boolean
|
static boolean
|
||||||
MY(write_object_contents) (abfd)
|
MY(write_object_contents) (abfd)
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
|
Reference in New Issue
Block a user