mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-13 11:20:55 +08:00
*** empty log message ***
This commit is contained in:
bfd
binutils
include
ld/config
@ -66,6 +66,7 @@ liboasys.h
|
|||||||
m68kcoff.c
|
m68kcoff.c
|
||||||
m88k-bcs.c
|
m88k-bcs.c
|
||||||
newsos3.c
|
newsos3.c
|
||||||
|
amdcoff.c
|
||||||
oasys.c
|
oasys.c
|
||||||
opncls.c
|
opncls.c
|
||||||
reloc.c
|
reloc.c
|
||||||
@ -84,7 +85,10 @@ echo Done in `pwd`.
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.4 1991/07/04 16:52:54 steve
|
# Revision 1.5 1991/07/15 23:32:40 steve
|
||||||
|
# *** empty log message ***
|
||||||
|
#
|
||||||
|
# Revision 1.4 1991/07/04 16:52:54 steve
|
||||||
# Now full of documentation. Yum Yum.
|
# Now full of documentation. Yum Yum.
|
||||||
#
|
#
|
||||||
# Revision 1.3 1991/05/31 11:22:12 gnu
|
# Revision 1.3 1991/05/31 11:22:12 gnu
|
||||||
|
@ -40,6 +40,7 @@ copy.c
|
|||||||
cplus-dem.c
|
cplus-dem.c
|
||||||
filemode.c
|
filemode.c
|
||||||
gmalloc.c
|
gmalloc.c
|
||||||
|
am29k-pinsn.c
|
||||||
i960-pinsn.c
|
i960-pinsn.c
|
||||||
m68k-pinsn.c
|
m68k-pinsn.c
|
||||||
nm.c
|
nm.c
|
||||||
@ -57,7 +58,10 @@ echo Done in `pwd`.
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.1 1991/05/23 21:49:14 rich
|
# Revision 1.2 1991/07/15 23:38:04 steve
|
||||||
|
# *** empty log message ***
|
||||||
|
#
|
||||||
|
# Revision 1.1 1991/05/23 21:49:14 rich
|
||||||
# Initial revision
|
# Initial revision
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
@ -33,6 +33,7 @@ a.out.host.h
|
|||||||
a.out.sun4.h
|
a.out.sun4.h
|
||||||
a.out.vax.h
|
a.out.vax.h
|
||||||
a29k-opcode.h
|
a29k-opcode.h
|
||||||
|
amdcoff.h
|
||||||
ansidecl.h
|
ansidecl.h
|
||||||
aout64.h
|
aout64.h
|
||||||
ar.h
|
ar.h
|
||||||
@ -91,7 +92,10 @@ echo Done in `pwd`.
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.3 1991/06/14 22:14:07 steve
|
# Revision 1.4 1991/07/15 23:34:14 steve
|
||||||
|
# *** empty log message ***
|
||||||
|
#
|
||||||
|
# Revision 1.3 1991/06/14 22:14:07 steve
|
||||||
# *** empty log message ***
|
# *** empty log message ***
|
||||||
#
|
#
|
||||||
# Revision 1.2 1991/05/31 11:26:52 gnu
|
# Revision 1.2 1991/05/31 11:26:52 gnu
|
||||||
|
@ -63,7 +63,7 @@ struct a29k_opcode {
|
|||||||
char *args;
|
char *args;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct a29k_opcode a29k_opcodes[] =
|
static CONST struct a29k_opcode a29k_opcodes[] =
|
||||||
{
|
{
|
||||||
|
|
||||||
{ "add", 0x14000000, "c,a,b" },
|
{ "add", 0x14000000, "c,a,b" },
|
||||||
@ -279,11 +279,14 @@ static const struct a29k_opcode a29k_opcodes[] =
|
|||||||
if we've run off the end of the table. */
|
if we've run off the end of the table. */
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned int num_opcodes = (((sizeof a29k_opcodes) / (sizeof a29k_opcodes[0])) - 1);
|
CONST unsigned int num_opcodes = (((sizeof a29k_opcodes) / (sizeof a29k_opcodes[0])) - 1);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log$
|
* $Log$
|
||||||
* Revision 1.1 1991/05/19 00:19:33 rich
|
* Revision 1.2 1991/07/15 23:34:04 steve
|
||||||
|
* *** empty log message ***
|
||||||
|
*
|
||||||
|
* Revision 1.1 1991/05/19 00:19:33 rich
|
||||||
* Initial revision
|
* Initial revision
|
||||||
*
|
*
|
||||||
* Revision 1.1.1.1 1991/04/04 18:15:23 rich
|
* Revision 1.1.1.1 1991/04/04 18:15:23 rich
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
/*** coff information for 88k bcs */
|
/*** coff information for 88k bcs */
|
||||||
|
|
||||||
|
#ifndef M88
|
||||||
|
#define M88
|
||||||
|
#endif
|
||||||
|
|
||||||
/********************** FILE HEADER **********************/
|
/********************** FILE HEADER **********************/
|
||||||
|
|
||||||
struct filehdr {
|
struct filehdr {
|
||||||
|
@ -78,8 +78,8 @@ typedef unsigned long bfd_word;
|
|||||||
typedef unsigned long bfd_size;
|
typedef unsigned long bfd_size;
|
||||||
typedef unsigned long symvalue;
|
typedef unsigned long symvalue;
|
||||||
typedef unsigned long bfd_size_type;
|
typedef unsigned long bfd_size_type;
|
||||||
#define printf_vma(x) printf( "%08x", x)
|
#define printf_vma(x) printf( "%08lx", x)
|
||||||
#define fprintf_vma(s,x) fprintf(s, "%08x", x)
|
#define fprintf_vma(s,x) fprintf(s, "%08lx", x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef unsigned int flagword; /* 32 bits of flags */
|
typedef unsigned int flagword; /* 32 bits of flags */
|
||||||
@ -914,7 +914,7 @@ struct _bfd
|
|||||||
*/
|
*/
|
||||||
char *iostream;
|
char *iostream;
|
||||||
|
|
||||||
/* Is the file being cached @xref{Caching}.
|
/* Is the file being cached @xref{File Caching}.
|
||||||
*/
|
*/
|
||||||
boolean cacheable;
|
boolean cacheable;
|
||||||
|
|
||||||
@ -1050,18 +1050,6 @@ before); else determine modify time, cache it, and return it.
|
|||||||
#define bfd_stat_arch_elt(abfd, stat) \
|
#define bfd_stat_arch_elt(abfd, stat) \
|
||||||
BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
|
BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
|
||||||
|
|
||||||
/* Special entry points for gdb to swap in coff symbol table parts */
|
|
||||||
|
|
||||||
#define bfd_coff_swap_aux_in(abfd, ext, type, class, in) \
|
|
||||||
BFD_SEND (abfd, _bfd_coff_swap_aux_in, (abfd, ext, type, class, in))
|
|
||||||
|
|
||||||
#define bfd_coff_swap_sym_in(abfd, ext, in) \
|
|
||||||
BFD_SEND (abfd, _bfd_coff_swap_sym_in, (abfd, ext, in))
|
|
||||||
|
|
||||||
#define bfd_coff_swap_lineno_in(abfd, ext, in) \
|
|
||||||
BFD_SEND (abfd, _bfd_coff_swap_lineno_in, (abfd, ext, in))
|
|
||||||
|
|
||||||
|
|
||||||
/* What this does
|
/* What this does
|
||||||
*/
|
*/
|
||||||
PROTO(symindex, bfd_get_next_mapent, (bfd *, symindex, carsym **));
|
PROTO(symindex, bfd_get_next_mapent, (bfd *, symindex, carsym **));
|
||||||
@ -1078,6 +1066,22 @@ NULL is returned when there are no more.
|
|||||||
*/
|
*/
|
||||||
PROTO(bfd*, bfd_openr_next_archived_file,
|
PROTO(bfd*, bfd_openr_next_archived_file,
|
||||||
(bfd *archive, bfd *previous));
|
(bfd *archive, bfd *previous));
|
||||||
|
/* Returns a read-only string explaining what program was running when
|
||||||
|
it failed and produced the core file being read
|
||||||
|
|
||||||
|
*/
|
||||||
|
PROTO(CONST char *, bfd_core_file_failing_command, (bfd *));
|
||||||
|
/* Returns the signal number which caused the core dump which generated
|
||||||
|
the file the bfd is attatched to.
|
||||||
|
|
||||||
|
*/
|
||||||
|
PROTO(int, bfd_core_file_failing_signal, (bfd *));
|
||||||
|
/* Returns @code{true} if the core file attatched to @var{core_bfd} was
|
||||||
|
generated by a run of the executable file attatched to @var{exec_bfd},
|
||||||
|
or else @code{false}.
|
||||||
|
*/
|
||||||
|
PROTO(boolean, core_file_matches_executable_p,
|
||||||
|
(bfd *core_bfd, bfd *exec_bfd));
|
||||||
/* The relocation routine returns as a status an enumerated type:
|
/* The relocation routine returns as a status an enumerated type:
|
||||||
|
|
||||||
*/
|
*/
|
||||||
@ -1138,7 +1142,7 @@ typedef struct reloc_cache_entry
|
|||||||
|
|
||||||
/* Pointer to how to perform the required relocation
|
/* Pointer to how to perform the required relocation
|
||||||
*/
|
*/
|
||||||
struct reloc_howto_struct *howto;
|
CONST struct reloc_howto_struct *howto;
|
||||||
} arelent;
|
} arelent;
|
||||||
|
|
||||||
/* The @code{reloc_howto_type} is a structure which contains all the
|
/* The @code{reloc_howto_type} is a structure which contains all the
|
||||||
@ -1263,6 +1267,7 @@ PROTO(bfd_reloc_status_enum_type,
|
|||||||
asection *input_section,
|
asection *input_section,
|
||||||
bfd *output_bfd));
|
bfd *output_bfd));
|
||||||
/* @node bfd_target
|
/* @node bfd_target
|
||||||
|
@subsection bfd_target
|
||||||
This structure contains everything that BFD knows about a target.
|
This structure contains everything that BFD knows about a target.
|
||||||
It includes things like its byte order, name, what routines to call
|
It includes things like its byte order, name, what routines to call
|
||||||
to do various operations, etc.
|
to do various operations, etc.
|
||||||
@ -1519,13 +1524,5 @@ returns a pointer to a const string "invalid", "object", "archive",
|
|||||||
"core" or "unknown" depending upon the value of the enumeration.
|
"core" or "unknown" depending upon the value of the enumeration.
|
||||||
*/
|
*/
|
||||||
PROTO(CONST char *, bfd_format_string, (bfd_format));
|
PROTO(CONST char *, bfd_format_string, (bfd_format));
|
||||||
|
|
||||||
/* Core file stuff */
|
|
||||||
|
|
||||||
PROTO(CONST char *, bfd_core_file_failing_command, (bfd *));
|
|
||||||
PROTO(int, bfd_core_file_failing_signal, (bfd *));
|
|
||||||
PROTO(boolean, core_file_matches_executable_p,
|
|
||||||
(bfd *core_bfd, bfd *exec_bfd));
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -203,20 +203,20 @@ union external_auxent {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GET_FCN_LNNOPTR(abfd, ext) bfd_h_get_32(abfd,ext->x_sym.x_fcn.x_lnnoptr)
|
#define GET_FCN_LNNOPTR(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *)ext->x_sym.x_fcn.x_lnnoptr)
|
||||||
#define GET_FCN_ENDNDX(abfd, ext) bfd_h_get_32(abfd, ext->x_sym.x_fcn.x_endndx)
|
#define GET_FCN_ENDNDX(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *) ext->x_sym.x_fcn.x_endndx)
|
||||||
#define PUT_FCN_LNNOPTR(abfd, in, ext) bfd_h_put_32(abfd, in, ext->x_sym.x_fcn.x_lnnoptr)
|
#define PUT_FCN_LNNOPTR(abfd, in, ext) bfd_h_put_32(abfd, in, (bfd_byte *) ext->x_sym.x_fcn.x_lnnoptr)
|
||||||
#define PUT_FCN_ENDNDX(abfd, in, ext) bfd_h_put_32(abfd, in, ext->x_sym.x_fcn.x_endndx)
|
#define PUT_FCN_ENDNDX(abfd, in, ext) bfd_h_put_32(abfd, in, (bfd_byte *) ext->x_sym.x_fcn.x_endndx)
|
||||||
#define GET_LNSZ_SIZE(abfd, ext) bfd_h_get_32(abfd, ext->x_sym.x_misc.x_lnsz.x_size)
|
#define GET_LNSZ_SIZE(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *) ext->x_sym.x_misc.x_lnsz.x_size)
|
||||||
#define GET_LNSZ_LNNO(abfd, ext) bfd_h_get_32(abfd, ext->x_sym.x_misc.x_lnsz.x_lnno)
|
#define GET_LNSZ_LNNO(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *) ext->x_sym.x_misc.x_lnsz.x_lnno)
|
||||||
#define PUT_LNSZ_LNNO(abfd, in, ext) bfd_h_put_32(abfd, in, ext->x_sym.x_misc.x_lnsz.x_lnno)
|
#define PUT_LNSZ_LNNO(abfd, in, ext) bfd_h_put_32(abfd, in, (bfd_byte *) ext->x_sym.x_misc.x_lnsz.x_lnno)
|
||||||
#define PUT_LNSZ_SIZE(abfd, in, ext) bfd_h_put_32(abfd, in, ext->x_sym.x_misc.x_lnsz.x_size)
|
#define PUT_LNSZ_SIZE(abfd, in, ext) bfd_h_put_32(abfd, in, (bfd_byte *) ext->x_sym.x_misc.x_lnsz.x_size)
|
||||||
#define GET_SCN_SCNLEN(abfd, ext) bfd_h_get_32(abfd, ext->x_scn.x_scnlen)
|
#define GET_SCN_SCNLEN(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *) ext->x_scn.x_scnlen)
|
||||||
#define GET_SCN_NRELOC(abfd, ext) bfd_h_get_32(abfd, ext->x_scn.x_nreloc)
|
#define GET_SCN_NRELOC(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *) ext->x_scn.x_nreloc)
|
||||||
#define GET_SCN_NLINNO(abfd, ext) bfd_h_get_32(abfd, ext->x_scn.x_nlinno)
|
#define GET_SCN_NLINNO(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *) ext->x_scn.x_nlinno)
|
||||||
#define PUT_SCN_SCNLEN(abfd,in, ext) bfd_h_put_32(abfd, in, ext->x_scn.x_scnlen)
|
#define PUT_SCN_SCNLEN(abfd,in, ext) bfd_h_put_32(abfd, in, (bfd_byte *) ext->x_scn.x_scnlen)
|
||||||
#define PUT_SCN_NRELOC(abfd,in, ext) bfd_h_put_32(abfd, in,ext->x_scn.x_nreloc)
|
#define PUT_SCN_NRELOC(abfd,in, ext) bfd_h_put_32(abfd, in, (bfd_byte *)ext->x_scn.x_nreloc)
|
||||||
#define PUT_SCN_NLINNO(abfd,in, ext) bfd_h_put_32(abfd,in, ext->x_scn.x_nlinno)
|
#define PUT_SCN_NLINNO(abfd,in, ext) bfd_h_put_32(abfd,in, (bfd_byte *) ext->x_scn.x_nlinno)
|
||||||
|
|
||||||
#define SYMENT struct external_syment
|
#define SYMENT struct external_syment
|
||||||
#define SYMESZ 20
|
#define SYMESZ 20
|
||||||
|
@ -91,8 +91,13 @@ struct internal_scnhdr {
|
|||||||
long s_scnptr; /* file ptr to raw data for section */
|
long s_scnptr; /* file ptr to raw data for section */
|
||||||
long s_relptr; /* file ptr to relocation */
|
long s_relptr; /* file ptr to relocation */
|
||||||
long s_lnnoptr; /* file ptr to line numbers */
|
long s_lnnoptr; /* file ptr to line numbers */
|
||||||
|
#ifdef M88
|
||||||
|
unsigned long s_nreloc;
|
||||||
|
unsigned long s_nlnno;
|
||||||
|
#else
|
||||||
unsigned short s_nreloc; /* number of relocation entries */
|
unsigned short s_nreloc; /* number of relocation entries */
|
||||||
unsigned short s_nlnno; /* number of line number entries*/
|
unsigned short s_nlnno; /* number of line number entries*/
|
||||||
|
#endif
|
||||||
long s_flags; /* flags */
|
long s_flags; /* flags */
|
||||||
#ifdef I960
|
#ifdef I960
|
||||||
long s_align;
|
long s_align;
|
||||||
@ -143,7 +148,11 @@ struct internal_lineno {
|
|||||||
long l_symndx; /* function name symbol index, iff l_lnno == 0*/
|
long l_symndx; /* function name symbol index, iff l_lnno == 0*/
|
||||||
long l_paddr; /* (physical) address of line number */
|
long l_paddr; /* (physical) address of line number */
|
||||||
} l_addr;
|
} l_addr;
|
||||||
|
#ifdef M88
|
||||||
|
unsigned long l_lnno; /* line number */
|
||||||
|
#else
|
||||||
unsigned short l_lnno; /* line number */
|
unsigned short l_lnno; /* line number */
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/********************** SYMBOLS **********************/
|
/********************** SYMBOLS **********************/
|
||||||
@ -160,6 +169,9 @@ struct internal_syment {
|
|||||||
short n_scnum; /* section number */
|
short n_scnum; /* section number */
|
||||||
unsigned short n_flags; /* copy of flags from filhdr */
|
unsigned short n_flags; /* copy of flags from filhdr */
|
||||||
unsigned short n_type; /* type and derived type */
|
unsigned short n_type; /* type and derived type */
|
||||||
|
#if __STDC__
|
||||||
|
signed
|
||||||
|
#endif
|
||||||
char n_sclass; /* storage class */
|
char n_sclass; /* storage class */
|
||||||
char n_numaux; /* number of aux. entries */
|
char n_numaux; /* number of aux. entries */
|
||||||
};
|
};
|
||||||
|
@ -46,6 +46,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#define DOS_SYS 13
|
#define DOS_SYS 13
|
||||||
#define VAX_BSD_SYS 14
|
#define VAX_BSD_SYS 14
|
||||||
#define TAHOE_BSD_SYS 15
|
#define TAHOE_BSD_SYS 15
|
||||||
|
#define RTBSD_SYS 16 /* IBM RT/PC running bsd Unix */
|
||||||
|
|
||||||
#include <ansidecl.h>
|
#include <ansidecl.h>
|
||||||
|
|
||||||
@ -122,4 +123,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#include <sys/h-tahoebsd.h>
|
#include <sys/h-tahoebsd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HOST_SYS == RTBSD_SYS
|
||||||
|
#include <sys/h-rtbsd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -30,14 +30,14 @@ fi
|
|||||||
# with rm -rf.
|
# with rm -rf.
|
||||||
|
|
||||||
Things-to-keep:
|
Things-to-keep:
|
||||||
|
hmake-rtbsd
|
||||||
hmake-dgux
|
hmake-dgux
|
||||||
hmake-sun3
|
hmake-sun3
|
||||||
hmake-sun4
|
hmake-sun4
|
||||||
hmake-dec3100
|
hmake-dec3100
|
||||||
tmake-sun4
|
tmake-sun4
|
||||||
tmake-m88k-bcs
|
tmake-m88k-bcs
|
||||||
|
tmake-coff-a29k
|
||||||
Do-last:
|
Do-last:
|
||||||
|
|
||||||
echo Done in `pwd`.
|
echo Done in `pwd`.
|
||||||
@ -45,7 +45,10 @@ echo Done in `pwd`.
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.3 1991/06/14 22:11:24 steve
|
# Revision 1.4 1991/07/15 23:41:06 steve
|
||||||
|
# *** empty log message ***
|
||||||
|
#
|
||||||
|
# Revision 1.3 1991/06/14 22:11:24 steve
|
||||||
# *** empty log message ***
|
# *** empty log message ***
|
||||||
#
|
#
|
||||||
# Revision 1.2 1991/05/31 01:01:51 steve
|
# Revision 1.2 1991/05/31 01:01:51 steve
|
||||||
|
Reference in New Issue
Block a user