Fix compliation with gcc40: Move structure definition within headers.
[dragonfly.git] / gnu / usr.bin / binutils215 / as / as.h.patch
1 $DragonFly: src/gnu/usr.bin/binutils215/as/Attic/as.h.patch,v 1.1 2005/05/08 00:35:48 corecode Exp $
2 Index: as.h
3 ===================================================================
4 RCS file: /space/cvs/dragonfly/src/contrib/binutils-2.15/gas/as.h,v
5 retrieving revision 1.1
6 diff -u -r1.1 as.h
7 --- as.h        18 Dec 2004 20:21:20 -0000      1.1
8 +++ as.h        6 May 2005 20:01:28 -0000
9 @@ -397,6 +397,23 @@
10  /* Enough bits for address, but still an integer type.
11     Could be a problem, cross-assembling for 64-bit machines.  */
12  typedef addressT relax_addressT;
13 +
14 +struct relax_type
15 +{
16 +  /* Forward reach. Signed number. > 0.  */
17 +  long rlx_forward;
18 +  /* Backward reach. Signed number. < 0.  */
19 +  long rlx_backward;
20 +
21 +  /* Bytes length of this address.  */
22 +  unsigned char rlx_length;
23 +
24 +  /* Next longer relax-state.  0 means there is no 'next' relax-state.  */
25 +  relax_substateT rlx_more;
26 +};
27 +
28 +typedef struct relax_type relax_typeS;
29 +
30  \f
31  /* main program "as.c" (command arguments etc) */
32