aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-evax.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/obj-evax.c')
-rw-r--r--gas/config/obj-evax.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/obj-evax.c b/gas/config/obj-evax.c
index b3702ef..b712e13 100644
--- a/gas/config/obj-evax.c
+++ b/gas/config/obj-evax.c
@@ -60,10 +60,9 @@ s_evax_weak (int ignore ATTRIBUTE_UNUSED)
do
{
- name = input_line_pointer;
- c = get_symbol_end ();
+ c = get_symbol_name (&name);
symbolP = symbol_find_or_make (name);
- *input_line_pointer = c;
+ (void) restore_line_pointer (c);
SKIP_WHITESPACE ();
S_SET_WEAK (symbolP);
if (c == ',')