[U-Boot] [RFC] x86: Do no use reparm as it break libgcc linkage

Mike Frysinger vapier at gentoo.org
Fri Nov 11 17:24:52 CET 2011


On Friday 11 November 2011 00:16:47 Graeme Russ wrote:
> On Fri, Nov 11, 2011 at 4:04 PM, Mike Frysinger wrote:
> > i can't think of any calls off the top of my head which would result in
> > invoking a func in libgcc.a.
> 
> Any function listed here:
> 
> http://gcc.gnu.org/onlinedocs/gccint/Libgcc.html
> 
> But we can discount any float/double routines, exception handling and
> split stack which leaves just:
> 
> http://gcc.gnu.org/onlinedocs/gccint/Integer-library-routines.html

yes, and pretty much all of those are emitted implicitly due to math 
operations (64bit divs/mults/etc...), or explicitly when the user does 
__builtin_xxx() (and use of __builtin_xxx is not affected by -fno-builtins).  
none of those that i can see would come via a C library call that gcc would 
implicitly rewrite.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111111/594c08d2/attachment.pgp 


More information about the U-Boot mailing list