« Return to Thread: [Bug ld/13991] New: powerpc-rtems ld failure [regression]

[Bug ld/13991] powerpc-rtems ld failure [regression]

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View in Thread

http://sourceware.org/bugzilla/show_bug.cgi?id=13991

--- Comment #2 from Joel Sherrill <joel.sherrill at oarcorp dot com> 2012-04-20 16:13:42 UTC ---

(In reply to comment #1)
> I don't think this is a bug in binutils, but a bug in RTEMS.
>
> cf. http://www.rtems.org/pipermail/rtems-users/2012-April/009843.html

I respectfully think you are completely wrong. That change is a hack in the
linker script to ignore the start address in __rtems_start that in the linked
executable. It may be zero on some of the BSP variants using this linker script
but it is a hack.

This linker script and procedure has been in RTEMS since around 1999. The file
only has 3 changes in that entire time.

http://git.rtems.org/rtems/log/c/src/lib/libbsp/powerpc/shared/bootloader/ppcboot.lds

The hack may be a work around but ld broke.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@...
https://lists.gnu.org/mailman/listinfo/bug-binutils

 « Return to Thread: [Bug ld/13991] New: powerpc-rtems ld failure [regression]