diff options
author | Jan Beulich <jbeulich@suse.com> | 2020-06-08 08:38:54 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2020-06-08 08:38:54 +0200 |
commit | af32b7220966364b083ce771ba45f35491293d55 (patch) | |
tree | c5fdea2de131791e24bfd08c2389201633333f9c /gas/config/tc-i386.c | |
parent | 8a6fb3f9bb5105e58f6800de9089a4bdb0cc0cd6 (diff) | |
download | gdb-af32b7220966364b083ce771ba45f35491293d55.zip gdb-af32b7220966364b083ce771ba45f35491293d55.tar.gz gdb-af32b7220966364b083ce771ba45f35491293d55.tar.bz2 |
x86: also allow %st(N) in CFI directives
In 0e0eea782025 ("x86: x87-related adjustments") I screwed up CFI
directives with FPU support disabled, by moving the conditional there
across a check of "allow_pseudo_reg". Add the missing check.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index e34ff85..6b94798 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -12452,7 +12452,8 @@ parse_real_register (char *reg_string, char **end_op) { if (!cpu_arch_flags.bitfield.cpu8087 && !cpu_arch_flags.bitfield.cpu287 - && !cpu_arch_flags.bitfield.cpu387) + && !cpu_arch_flags.bitfield.cpu387 + && !allow_pseudo_reg) return (const reg_entry *) NULL; if (is_space_char (*s)) |