summaryrefslogtreecommitdiff
path: root/gas/frags.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2006-04-04 08:04:57 +0000
committerAlan Modra <amodra@bigpond.net.au>2006-04-04 08:04:57 +0000
commit462cd0c4859dd0cce72fc61bff61ca6a4d8996e5 (patch)
treea05cc247361b309d6e77be564f5a2afd73632a10 /gas/frags.h
parent11ff6654d91a8ecee1517d690612dd41a04debc6 (diff)
downloadbinutils-redhat-462cd0c4859dd0cce72fc61bff61ca6a4d8996e5.tar.gz
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.
Diffstat (limited to 'gas/frags.h')
-rw-r--r--gas/frags.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/frags.h b/gas/frags.h
index e6c6170919..880446763a 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 */