aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-10-19 12:00:33 +0000
committerAlan Modra <amodra@gmail.com>2010-10-19 12:00:33 +0000
commite35a414d3cd7c422e39db2611a063664cee3be70 (patch)
treea6fac698c13364598d6fe58a071f776e8d34cab0 /gas/frags.h
parent8c540a24cf3403ee2d92d495bde7c8ac472da1d0 (diff)
downloadgdb-e35a414d3cd7c422e39db2611a063664cee3be70.zip
gdb-e35a414d3cd7c422e39db2611a063664cee3be70.tar.gz
gdb-e35a414d3cd7c422e39db2611a063664cee3be70.tar.bz2
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 a14e3a2..650ea5e 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;