diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-02-08 18:12:25 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2011-02-08 18:12:25 +0000 |
commit | a586129ea545f1b7c04565c346081e9e4069fc0d (patch) | |
tree | 7c7d17e681ea86b50013d7e1f408f70340359ca2 /gas/config | |
parent | 56d2815c981b20ae146e8ff6891e52d324fb2778 (diff) | |
download | gdb-a586129ea545f1b7c04565c346081e9e4069fc0d.zip gdb-a586129ea545f1b7c04565c346081e9e4069fc0d.tar.gz gdb-a586129ea545f1b7c04565c346081e9e4069fc0d.tar.bz2 |
Also update cpu_arch_isa_flags for ISA extensions.
gas/
2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
for ISA extensions.
(md_parse_option): Likewise.
gas/testsuite/
2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run nops-4a-i686 and nops-6.
* gas/i386/nops-4a-i686.d: New.
* gas/i386/nops-6.d: Likewise.
* gas/i386/nops-6.s: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-i386.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 0028f17..777d7cf 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -2176,6 +2176,7 @@ set_cpu_arch (int dummy ATTRIBUTE_UNUSED) else cpu_sub_arch_name = xstrdup (cpu_arch[j].name); cpu_arch_flags = flags; + cpu_arch_isa_flags = flags; } *input_line_pointer = e; demand_empty_rest_of_line (); @@ -8343,6 +8344,7 @@ md_parse_option (int c, char *arg) else cpu_sub_arch_name = xstrdup (cpu_arch[j].name); cpu_arch_flags = flags; + cpu_arch_isa_flags = flags; } break; } |