diff --git a/gnu/usr.bin/gas/config/tc-m68k.c b/gnu/usr.bin/gas/config/tc-m68k.c index 943723947d4c..206bf39b5b9f 100644 --- a/gnu/usr.bin/gas/config/tc-m68k.c +++ b/gnu/usr.bin/gas/config/tc-m68k.c @@ -690,6 +690,16 @@ register char **ccp; n= (c[3] == 'r' ? 4 : 3); ret = FPC; } +#ifdef REGISTER_PREFIX + else if (has_register_prefix) { + /* + * Assume it's just %fp, which is + * an alias for %a6. + */ + n = 2; + ret = ADDR + 6; + } +#endif } break; case 'i':