aboutsummaryrefslogtreecommitdiff
path: root/include/internalcoff.h
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-10-11 19:44:01 +0000
committerSteve Chamberlain <steve@cygnus>1991-10-11 19:44:01 +0000
commit0c210c9c52e56eda3e50aafbf5517abb538d7132 (patch)
tree33185d00fde16e9d93b63cdcbc1efdedf298dd39 /include/internalcoff.h
parent0d740984208c34b7a2a2a203f620662346794679 (diff)
downloadfsf-binutils-gdb-0c210c9c52e56eda3e50aafbf5517abb538d7132.zip
fsf-binutils-gdb-0c210c9c52e56eda3e50aafbf5517abb538d7132.tar.gz
fsf-binutils-gdb-0c210c9c52e56eda3e50aafbf5517abb538d7132.tar.bz2
* bfd.h:upgrade from bfd.c
* internalcoff.h: add n_name, n_zeroes and n_offset macros * amdcoff.h: Define OMAGIC and AOUTHDRSZ.
Diffstat (limited to 'include/internalcoff.h')
-rwxr-xr-xinclude/internalcoff.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/internalcoff.h b/include/internalcoff.h
index 1cfd0d4..ffd497d 100755
--- a/include/internalcoff.h
+++ b/include/internalcoff.h
@@ -174,6 +174,10 @@ struct internal_syment {
char n_sclass; /* storage class */
char n_numaux; /* number of aux. entries */
};
+#define n_name _n._n_name
+#define n_zeroes _n._n_n._n_zeroes
+#define n_offset _n._n_n._n_offset
+
/* Relocatable symbols have number of the section in which they are defined,
or one of the following: */
@@ -225,11 +229,11 @@ struct internal_syment {
union internal_auxent
{
struct {
+
union {
long l; /* str, un, or enum tag indx */
struct coff_ptr_struct *p;
} x_tagndx;
-
union {
struct {
unsigned short x_lnno; /* declaration line number */