summaryrefslogtreecommitdiff
path: root/gas/frags.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-06-30 00:27:30 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-06-30 00:27:30 +0000
commitf633e3c356ab572f5ef7b7158abfbb4949ba2d8a (patch)
tree8d89c96dbf63eb559570c0f0533b7229c10b2095 /gas/frags.c
parentb8edf585634a1568194780ac8ddf292b791fb02a (diff)
downloadbinutils-redhat-f633e3c356ab572f5ef7b7158abfbb4949ba2d8a.tar.gz
* frags.h (frag_offset_fixed_p): Update prototype.
* frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT. * expr.c (expr, resolve_expression): Likewise for frag_off var.
Diffstat (limited to 'gas/frags.c')
-rw-r--r--gas/frags.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/frags.c b/gas/frags.c
index fe3e78f574..c6ac4259aa 100644
--- a/gas/frags.c
+++ b/gas/frags.c
@@ -1,6 +1,6 @@
/* frags.c - manage frags -
Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+ 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -394,10 +394,10 @@ frag_append_1_char (int datum)
not already accounted for in the frag FR_ADDRESS. */
bfd_boolean
-frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, bfd_vma *offset)
+frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, offsetT *offset)
{
const fragS *frag;
- bfd_vma off;
+ offsetT off;
/* Start with offset initialised to difference between the two frags.
Prior to assigning frag addresses this will be zero. */