
Dear Kumar,
In message 4421AD7B-D8AA-455E-B67D-328C3E7427BD@kernel.crashing.org you wrote:
Look at commit, we dealt with this in the past
commit ce82ff05388b5ddafdf6082ef0776cce72c40b1c Author: Yuri Tikhonov yur@emcraft.com Date: Sat Dec 20 14:54:21 2008 +0300
FPU POST: fix warnings when building with 2.18 binutils
Also:
commit e009cdeb63308f291c54b173484401aab4a3fe54 Author: Kumar Gala galak@kernel.crashing.org Date: Tue Jan 25 03:00:08 2011 -0600
powerpc: Fix FPU post related link warnings
Thanks for pointing out. I have to admit that I had completely forgotten about these.
Hm, unfortunately this appears to have stopped working.
The two objects that are flagged as "Tag_GNU_Power_ABI_FP: Hard float" are post/lib_powerpc/fpu/acc1.o and post/lib_powerpc/fpu/20010226-1.o
Both corresponding source files have the GNU_FPOST_ATTR macro...
It appears with GCC 4.6.1 the explicit "-mhard-float" command line option takes precedence over the ``asm(".gnu_attribute 4, 2");'' in the source file :-(
Is there any way to manually edit the attribute in the object file, using ld or elfedit or ... ?
Best regards,
Wolfgang Denk