aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-03-20 03:12:01 +0000
committerAlan Modra <amodra@gmail.com>2001-03-20 03:12:01 +0000
commit38686296b33380716ebee5e36a6915c8ae90fc01 (patch)
tree36029e6487e6b2286247a3c6f10f12c983eac082 /gas/frags.h
parent486363b69b062711ab7e542b7f5ae6d3d9f4bbde (diff)
downloadgdb-38686296b33380716ebee5e36a6915c8ae90fc01.zip
gdb-38686296b33380716ebee5e36a6915c8ae90fc01.tar.gz
gdb-38686296b33380716ebee5e36a6915c8ae90fc01.tar.bz2
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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/frags.h b/gas/frags.h
index 7c29621..e4cb050 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;