diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-03-20 03:12:01 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-03-20 03:12:01 +0000 |
commit | ec7cca76ba15eacb871467dc4cd6ff5b99b247fb (patch) | |
tree | afca911bf07d52999c9864fa8e77f16a0e61e195 /gas/frags.h | |
parent | 5ee8313d72e5570c199925a7636c16d1f3c6ab72 (diff) | |
download | binutils-redhat-ec7cca76ba15eacb871467dc4cd6ff5b99b247fb.tar.gz |
Use `relax_marker' instead of fragile address test code to determine
whether a frag's fr_address has been updated.
Diffstat (limited to 'gas/frags.h')
-rw-r--r-- | gas/frags.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/frags.h b/gas/frags.h index 7c2962109b..e4cb0509db 100644 --- a/gas/frags.h +++ b/gas/frags.h @@ -1,5 +1,5 @@ /* frags.h - Header file for the frag concept. - Copyright 1987, 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2000 + Copyright 1987, 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -62,6 +62,10 @@ struct frag { struct list_info_struct *line; #endif + /* Flipped each relax pass so we can easily determine whether + fr_address has been adjusted. */ + unsigned int relax_marker:1; + /* What state is my tail in? */ relax_stateT fr_type; relax_substateT fr_subtype; |