[gccgo] Turn on garbage collector

Ian Lance Taylor iant@google.com
Wed Jul 28 13:38:00 GMT 2010


Richard Henderson <rth@redhat.com> writes:

> On 07/23/2010 09:51 AM, Ian Lance Taylor wrote:
>> +#elif defined(__x86_64__)
>> + #ifndef __PIC__
>> +  #define SAVE_REGS asm ("" : : : "r12", "r13", "r14", "r15", "rbp", "rbx")
>> + #else
>> +  #define SAVE_REGS asm ("" : : : "r12", "r13", "r14", "r15", "rbp")
>> + #endif
>> +#else
>
> rbx is not special for x86_64 with or without -fpic.

Fixed like so.  Thanks.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 569 bytes
Desc: rbx
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100728/c32ba98f/attachment.bin>


More information about the Gcc-patches mailing list