summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gas/as.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/gas/as.h')
-rw-r--r--gnu/usr.bin/binutils/gas/as.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gas/as.h b/gnu/usr.bin/binutils/gas/as.h
index 890ecd8f105..58dde367eae 100644
--- a/gnu/usr.bin/binutils/gas/as.h
+++ b/gnu/usr.bin/binutils/gas/as.h
@@ -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. */
+ 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;
/* main program "as.c" (command arguments etc) */
@@ -605,7 +621,6 @@ void print_dependencies (void);
struct expressionS;
struct fix;
typedef struct symbol symbolS;
-struct relax_type;
typedef struct frag fragS;
#ifdef BFD_ASSEMBLER