summaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2010-06-22 07:43:39 +0000
committerJan Beulich <jbeulich@novell.com>2010-06-22 07:43:39 +0000
commit024b4f40a1df0347bbc97e6d1e67bc9f3fecf5b4 (patch)
tree29779eb82a1b9aee2ee2b50c938a6c98d9385dfa /gas/expr.c
parentcbddd026e6e7cfa5cf81bfc417cdbe401b8b00e7 (diff)
downloadbinutils-redhat-024b4f40a1df0347bbc97e6d1e67bc9f3fecf5b4.tar.gz
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 4517bc6d82..a6910bf91e 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)