https://sourceware.org/bugzilla/show_bug.cgi?id=22762
--- Comment #7 from Nick Clifton <nickc at redhat dot com> ---
Hi Domani,
Thanks for the _ctor.o file. I think that I understand the problem
now. The _ctor.o file defines the __CTOR_LIST__ symbol as a common
symbol (ie uninitialized). These symbols can be overriden by a
definition that does define a value, which is why the linker scripts
used to work in the past. But the addition of the PROVIDE directive
changed that, because PROVIDE will not override a common symbol.
Hmm, I need to think about how to fix this.
In the meantime please could you see if adding:
-Wl,--defsym,__CTOR_LIST__=.ctors
to your command line will act a workaround for the problem ?
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils