From 56c90995c6b241984ecf7a0474e0e33c5cc24c04 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 19 Oct 2010 11:59:18 +0000 Subject: 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. --- gas/frags.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gas/frags.h') 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; -- cgit v1.2.1