diff options
Diffstat (limited to 'gas/config/obj-som.c')
-rw-r--r-- | gas/config/obj-som.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/obj-som.c b/gas/config/obj-som.c index b085b89..1b87de5 100644 --- a/gas/config/obj-som.c +++ b/gas/config/obj-som.c @@ -302,11 +302,10 @@ obj_som_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; - SKIP_WHITESPACE (); + SKIP_WHITESPACE_AFTER_NAME (); S_SET_WEAK (symbolP); if (c == ',') { |