This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Update MIPS for syscall-list changes
On 5/30/2012 2:46 PM, Joseph S. Myers wrote:
> On Wed, 30 May 2012, Chris Metcalf wrote:
>
>> In fact, syscall.h was problematic, since by default we were only getting
>> the -m64 names, not the -m32 names. I added a
>> sysdeps/unix/sysv/linux/tile/tilegx/Makefile that has:
>>
>> +ifeq ($(subdir),misc)
>> +
>> +# Provide biarch definitions.
>> +abi-variants := 64 32
>> +abi-64-options := -D__LP64__
>> +abi-64-condition := __WORDSIZE == 64
>> +abi-32-options := -U__LP64__
>> +abi-32-condition := __WORDSIZE == 32
>> +
>> +endif
> For stubs.h to work correctly you should also have default-abi definitions
> in appropriate files for each ABI.
Thanks, I pushed appropriate Makefile changes.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com