diff options
author | Nick Clifton <nickc@redhat.com> | 2009-12-14 10:59:37 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-12-14 10:59:37 +0000 |
commit | 34ab888845310822b46b6a37ed5fe7e954bdc848 (patch) | |
tree | 9634266b5b54690ba5b517e68eda0528021438db /gas | |
parent | c7d6f51805ec1c4d479cfcfda666dc91b2459d13 (diff) | |
download | gdb-34ab888845310822b46b6a37ed5fe7e954bdc848.zip gdb-34ab888845310822b46b6a37ed5fe7e954bdc848.tar.gz gdb-34ab888845310822b46b6a37ed5fe7e954bdc848.tar.bz2 |
PR gas/11089
* config/tc-rx.c (rx_equ): Rename 'expr' to 'expression' in order
to avoid shadowing a global symbol of the same name.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 8 | ||||
-rw-r--r-- | gas/config/tc-rx.c | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0c588af..b8447d4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,7 +1,13 @@ +2009-12-14 Yoshinori Sato <ysato@users.sourceforge.jp> + + PR gas/11089 + * config/tc-rx.c (rx_equ): Rename 'expr' to 'expression' in order + to avoid shadowing a global symbol of the same name. + 2009-12-14 Nick Clifton <nickc@redhat.com> * config/tc-microblaze.c (md_assemble): Rename 'imm' to 'immed' in - order to avoid shadowing global variable of the same name. + order to avoid shadowing a global symbol of the same name. 2009-12-11 Andrew Jenner <andrew@codesourcery.com> diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c index f635321..3bb9a5a 100644 --- a/gas/config/tc-rx.c +++ b/gas/config/tc-rx.c @@ -895,7 +895,7 @@ rx_frag_init (fragS * fragP) <symbol_name> .equ <expression> */ static void -rx_equ (char * name, char * expr) +rx_equ (char * name, char * expression) { char saved_name_end_char; char * name_end; @@ -912,7 +912,7 @@ rx_equ (char * name, char * expr) * name_end = 0; saved_ilp = input_line_pointer; - input_line_pointer = expr; + input_line_pointer = expression; equals (name, 1); |