Dear Kumar,

In message <4421ad7b-d8aa-455e-b67d-328c3e742...@kernel.crashing.org> you wrote:
> 
> Look at commit, we dealt with this in the past
> 
> commit ce82ff05388b5ddafdf6082ef0776cce72c40b1c
> Author: Yuri Tikhonov <y...@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 <ga...@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

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
God made machine language; all the rest is the work of man.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to