diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/read.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 715614e..d1b9399 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2009-01-19 Andrew Stubbs <ams@codesourcery.com> + + * read.c (s_vendor_attribute): Allow for unknown flag bits in type. + 2009-01-16 Mark Shinwell <shinwell@codesourcery.com> * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5. @@ -2123,7 +2123,7 @@ s_vendor_attribute (int vendor) } i = exp.X_add_number; } - if (type == 3 + if ((type & 3) == 3 && skip_past_comma (&input_line_pointer) == -1) { as_bad (_("expected comma")); @@ -2140,7 +2140,7 @@ s_vendor_attribute (int vendor) s = demand_copy_C_string (&len); } - switch (type) + switch (type & 3) { case 3: bfd_elf_add_obj_attr_int_string (stdoutput, vendor, tag, i, s); |