This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Strange linking behaviour in conjunction with ARM-EABI unwinding routines (__cxa_begin_cleanup)
- From: "Thomas Schmid via binutils" <binutils at sourceware dot org>
- To: Andreas Schwab <schwab at suse dot de>, Thomas Schmid via Binutils <binutils at sourceware dot org>
- Date: Wed, 13 Sep 2017 14:29:04 +0000 (UTC)
- Subject: Re: Strange linking behaviour in conjunction with ARM-EABI unwinding routines (__cxa_begin_cleanup)
- Authentication-results: sourceware.org; auth=none
- References: <2091035514.147309.1505201756429.ref@mail.yahoo.com> <2091035514.147309.1505201756429@mail.yahoo.com> <mvmwp549wdy.fsf@suse.de>
- Reply-to: Thomas Schmid <scth2000 at yahoo dot de>
- Reply-to: Thomas Schmid <scth2000 at yahoo dot de>
________________________________
Von: Andreas Schwab <schwab@suse.de>
>Weak references don't pull in archive members.
Ok, thank you. We found the linker option '-u symbol' to handle this for each symbol separately:
"Force symbol to be entered in the output file as an undefined symbol. Doing this may, for example, trigger linking of additional modules from standard libraries."
Is there a way (preferred: a linker option) to change this in general?
Regards,
Thomas Schmid