aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-04-04 08:04:57 +0000
committerAlan Modra <amodra@gmail.com>2006-04-04 08:04:57 +0000
commit99630778988bcd5195fc056fbd013d32d1362d5a (patch)
tree2dcd9e309b7a988ed9fbe72ea53005e3a2d38b2d /gas/frags.h
parentbb3af66b415e4c7b92894d0aca52119b05d728ec (diff)
downloadgdb-99630778988bcd5195fc056fbd013d32d1362d5a.zip
gdb-99630778988bcd5195fc056fbd013d32d1362d5a.tar.gz
gdb-99630778988bcd5195fc056fbd013d32d1362d5a.tar.bz2
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 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 */