bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22762] missing static variable constructor calls


From: nickc at redhat dot com
Subject: [Bug ld/22762] missing static variable constructor calls
Date: Sat, 03 Feb 2018 13:00:08 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22762

--- Comment #9 from Nick Clifton <nickc at redhat dot com> ---
Hi Hannes,

> But I've just removed the PROVIDE()'s to make it work again, that's good
> enough as a workaround for me.

Well I have been wracking my brains for a couple of days now, and I cannot
think of a better solution either.

I will revert the addition of the PROVIDE()s, but leave the rest of the patch
in place, and add a comment about why PROVIDE cannot be used.

If someone does want to provide their own __CTOR_LIST__ and __DTOR_LIST__
symbols, and not just common ones, then they will have to use a custom linker
script to achieve this.  Not ideal, but I do not see a better way.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]