From 99630778988bcd5195fc056fbd013d32d1362d5a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 4 Apr 2006 08:04:57 +0000 Subject: PR 997 * frags.c (frag_offset_fixed_p): New function. * frags.h (frag_offset_fixed_p): Declare. * expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction. (resolve_expression): Likewise. --- gas/frags.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gas/frags.h') diff --git a/gas/frags.h b/gas/frags.h index e6c6170..8804467 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 Free Software Foundation, Inc. + 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -148,4 +148,6 @@ char *frag_var (relax_stateT type, offsetT offset, char *opcode); +bfd_boolean frag_offset_fixed_p (fragS *, fragS *, bfd_vma *); + #endif /* FRAGS_H */ -- cgit v1.1