Dear Michael Roth,

In message <[email protected]> you wrote:
> 
> > Because the whole weak-linking looks like it is somewhat broken or at
> > least very difficult to get it correctly.
...
> But as you can see from u-boot.map, the result is not as expected:
> 
>       0x23f00340      0x35c lib_arm/libarm.a(board.o)
>       0x23f00390                __red_LED_off
>       ...
>       0x23f00390                red_LED_off
>       ...
>       0x23f0038c                red_LED_on
>       0x23f0038c                __red_LED_on

Link led.o explicitely, and early, in your linker script.

I don't see what's very difficult to do that.

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: [email protected]
You don't have to stay up nights to succeed; you have to  stay  awake
days.
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to