summaryrefslogtreecommitdiff
path: root/gas/frags.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-10-19 11:59:18 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-10-19 11:59:18 +0000
commit56c90995c6b241984ecf7a0474e0e33c5cc24c04 (patch)
tree8c289d78dd12f00eb47bf1ef17e3f26c4f918152 /gas/frags.h
parentb7df6985669c4cc5d8f933c97878ea27c7859576 (diff)
downloadbinutils-redhat-56c90995c6b241984ecf7a0474e0e33c5cc24c04.tar.gz
PR gas/12049
* frags.h (struct frag): Add "region" field. * write.c (relax_frag): Don't add "stretch" to forward reference target if there is an intervening org or align. (relax_segment): Set region.
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 a14e3a2554..650ea5ed6a 100644
--- a/gas/frags.h
+++ b/gas/frags.h
@@ -1,6 +1,6 @@
/* frags.h - Header file for the frag concept.
Copyright 1987, 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001,
- 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+ 2002, 2003, 2004, 2005, 2006, 2007, 2010 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -68,6 +68,10 @@ struct frag {
struct list_info_struct *line;
#endif
+ /* A serial number for a sequence of frags having at most one alignment
+ or org frag, and that at the tail of the sequence. */
+ unsigned int region:16;
+
/* Flipped each relax pass so we can easily determine whether
fr_address has been adjusted. */
unsigned int relax_marker:1;