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

--- Comment #2 from Domani Hannes <ssbssa at yahoo dot de> ---
>   Are you saying that that commit broke static constructors ?
Yes, exactly.

>   This would imply that the placement of the __CTOR_LIST__ symbol in
>   libgcc(_ctors.o) is incorrect, so that when the start up code runs,
>   it looks at the data pointed to by __CTOR_LIST__, finds nothing, and
>   so no constructors are run.  Please could you have a look at the
>   executable to see if this is the case ?  (Or upload it to this PR
>   so that I can have a look at it).
__CTOR_LIST__ is empty in this case, I checked in the debugger already.

And once I remove those PROVIDE()'s again, everything works again.

PS: Originally I had opened this gdb bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=22757
Someone mentioned there that I'm not the only one with this problem with the
new binutils version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to