From f777a401dba51fc1b9c12cbc61236843c4000674 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 14 Dec 1999 17:05:13 +0000 Subject: [PATCH] Accept %fp as an alias for %a6 (prefix *MUST* be present for this alias to work). --- gnu/usr.bin/gas/config/tc-m68k.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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':