diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2007-04-06 17:43:46 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2007-04-06 17:43:46 +0000 |
commit | 1cf866da1649314dd019b7fe76f13e572b17d100 (patch) | |
tree | bbf30677d04c832be7238f2bda65c77beaa273c3 | |
parent | 2ce641c5c4a4abcf1b9d570b63ec974620adb2d3 (diff) |
Import two binutils header files from FSF 2.15 branch.
These fix binutils compilation on i386/amd64 with GCC 4.1 and
have no other effect.
No response by: obrien
Notes
Notes:
svn path=/vendor/binutils/dist/; revision=168433
-rw-r--r-- | contrib/binutils/gas/as.h | 18 | ||||
-rw-r--r-- | contrib/binutils/gas/tc.h | 19 |
2 files changed, 17 insertions, 20 deletions
diff --git a/contrib/binutils/gas/as.h b/contrib/binutils/gas/as.h index 890ecd8f1056..5e30f478313e 100644 --- a/contrib/binutils/gas/as.h +++ b/contrib/binutils/gas/as.h @@ -1,6 +1,6 @@ /* as.h - global header file Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003 + 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -397,6 +397,22 @@ typedef unsigned int relax_substateT; /* Enough bits for address, but still an integer type. Could be a problem, cross-assembling for 64-bit machines. */ typedef addressT relax_addressT; + +struct relax_type +{ + /* Forward reach. Signed number. > 0. */ + offsetT rlx_forward; + /* Backward reach. Signed number. < 0. */ + offsetT rlx_backward; + + /* Bytes length of this address. */ + unsigned char rlx_length; + + /* Next longer relax-state. 0 means there is no 'next' relax-state. */ + relax_substateT rlx_more; +}; + +typedef struct relax_type relax_typeS; /* main program "as.c" (command arguments etc) */ diff --git a/contrib/binutils/gas/tc.h b/contrib/binutils/gas/tc.h index f4a2826ae07f..5d7b44d66457 100644 --- a/contrib/binutils/gas/tc.h +++ b/contrib/binutils/gas/tc.h @@ -24,25 +24,6 @@ extern const pseudo_typeS md_pseudo_table[]; -/* JF moved this here from as.h under the theory that nobody except MACHINE.c - and write.c care about it anyway. */ - -struct relax_type -{ - /* Forward reach. Signed number. > 0. */ - long rlx_forward; - /* Backward reach. Signed number. < 0. */ - long rlx_backward; - - /* Bytes length of this address. */ - unsigned char rlx_length; - - /* Next longer relax-state. 0 means there is no 'next' relax-state. */ - relax_substateT rlx_more; -}; - -typedef struct relax_type relax_typeS; - extern const int md_reloc_size; /* Size of a relocation record */ char *md_atof (int what_statement_type, char *literalP, int *sizeP); |