This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fix sparc build with current gcc


Hello,

Recent versions of gcc have a limit of 30 (not 10) arguments to asm
statement, so there is no need to "fool" gcc using register variables
and clobber lists in order to pass 12 arguments, as it's done in
sysdeps/sparc/sparc32/soft-fp/sfp-machine.h.
Current gcc (from 4.2.0 branch) even don't accept clobbering of register
reserved for variable, refusing to compile this code.

With attached patch glibc builds with gcc 4.2.0 snapshot and
math/test-ldouble is passed on sparc.


-- 
Jakub Bogusz    http://qboosh.pl/

Attachment: glibc-sparc-softfp-gcc.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]