Re: [U-Boot] [PATCH] PPC: fix "Warning: FOO uses hard float, BAR uses soft float".

2011-12-23 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1324564181-8949-1-git-send-email...@denx.de> you wrote: > It appears that with recent versions of GCC the explicit > "-mhard-float" command line option takes precedence over the > ``asm(".gnu_attribute 4, 2");'' in the source file, so this no longer > helps to avoid

Re: [U-Boot] [PATCH] PPC: fix "Warning: FOO uses hard float, BAR uses soft float".

2011-12-23 Thread Anatolij Gustschin
Hi Wolfgang, On Thu, 22 Dec 2011 15:29:41 +0100 Wolfgang Denk wrote: > It appears that with recent versions of GCC the explicit > "-mhard-float" command line option takes precedence over the > ``asm(".gnu_attribute 4, 2");'' in the source file, so this no longer > helps to avoid the warnings we

Re: [U-Boot] [PATCH] PPC: fix "Warning: FOO uses hard float, BAR uses soft float".

2011-12-22 Thread Stefan Roese
Hi Wolfgang, On Thursday 22 December 2011 15:29:41 Wolfgang Denk wrote: > It appears that with recent versions of GCC the explicit > "-mhard-float" command line option takes precedence over the > ``asm(".gnu_attribute 4, 2");'' in the source file, so this no longer > helps to avoid the warnings we

[U-Boot] [PATCH] PPC: fix "Warning: FOO uses hard float, BAR uses soft float".

2011-12-22 Thread Wolfgang Denk
It appears that with recent versions of GCC the explicit "-mhard-float" command line option takes precedence over the ``asm(".gnu_attribute 4, 2");'' in the source file, so this no longer helps to avoid the warnings we get when linking code that uses FP instructions with other code that was built u