aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2010-06-22 07:43:41 +0000
committerJan Beulich <jbeulich@novell.com>2010-06-22 07:43:41 +0000
commitb7adb16d69397ae6c112d60d2b22f40ec22493b7 (patch)
tree3935ff5357d66bc600e299c6a2170e344e6e2b4e /gas/expr.c
parent41b2c92d4c9fdd2904527d63d401ab48f024351a (diff)
downloadgdb-b7adb16d69397ae6c112d60d2b22f40ec22493b7.zip
gdb-b7adb16d69397ae6c112d60d2b22f40ec22493b7.tar.gz
gdb-b7adb16d69397ae6c112d60d2b22f40ec22493b7.tar.bz2
gas/
2010-06-22 Jan Beulich <jbeulich@novell.com> PR gas/11732 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo symbols named "$". (i386_intel_operand): Remove bogus handling of pseudo symbols named "$". * expr.c (current_location): Remove 'static' and local declaration. * expr.h (current_location): Declare. gas/testsuite/ 2010-06-22 Jan Beulich <jbeulich@novell.com> PR gas/11732 * gas/i386/jump.d: Adjust. * gas/i386/jump.s: Add check for branch to 2+$.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 4517bc6..a6910bf 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -45,7 +45,6 @@ static valueT generic_bignum_to_int64 (void);
#endif
static void integer_constant (int radix, expressionS * expressionP);
static void mri_char_constant (expressionS *);
-static void current_location (expressionS *);
static void clean_up_expression (expressionS * expressionP);
static segT operand (expressionS *, enum expr_mode);
static operatorT operatorf (int *);
@@ -695,7 +694,7 @@ mri_char_constant (expressionS *expressionP)
/* Return an expression representing the current location. This
handles the magic symbol `.'. */
-static void
+void
current_location (expressionS *expressionp)
{
if (now_seg == absolute_section)