eh_frame section, cfi directives
Alan Modra
amodra@bigpond.net.au
Mon Aug 16 03:06:00 GMT 2004
On Sun, Aug 15, 2004 at 07:55:04PM -0600, Edward Ruddick wrote:
> By the way, it didn't like
> it when I tried to set .cfi_offset for the cr. Said it was a bad register
> expression.
gas typo. Patch applied mainline.
* config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
{ "cc", 68 }, with { "cr", 70 }.
Actually, I could have told you to use cr2. That's a gcc convention
for saying that the whole cr is saved.
Index: gas/config/tc-ppc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.c,v
retrieving revision 1.91
diff -u -p -r1.91 tc-ppc.c
--- gas/config/tc-ppc.c 27 Jul 2004 13:56:55 -0000 1.91
+++ gas/config/tc-ppc.c 16 Aug 2004 03:03:30 -0000
@@ -6038,7 +6038,7 @@ tc_ppc_regname_to_dw2regnum (const char
{
{ "sp", 1 }, { "r.sp", 1 }, { "rtoc", 2 }, { "r.toc", 2 },
{ "mq", 64 }, { "lr", 65 }, { "ctr", 66 }, { "ap", 67 },
- { "cc", 68 }, { "xer", 76 }, { "vrsave", 109 }, { "vscr", 110 },
+ { "cr", 70 }, { "xer", 76 }, { "vrsave", 109 }, { "vscr", 110 },
{ "spe_acc", 111 }, { "spefscr", 112 }
};
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list