This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH COMMITTED: Implement constructor priorities in gold
- From: Alexander Neundorf <neundorf at kde dot org>
- To: binutils at sourceware dot org
- Date: Fri, 11 Apr 2008 00:40:08 +0200
- Subject: Re: PATCH COMMITTED: Implement constructor priorities in gold
- References: <m3ej9uv56q.fsf@google.com>
- Reply-to: neundorf at kde dot org
On Friday 28 March 2008, Ian Lance Taylor wrote:
> Another gcc testsuite failure pointed out that gold did not implement
> constructor priorities. Unfortunately, when I wrote that code for GNU
> ld some 10 or 12 years ago, I picked a goofy implementation based on
> linker scripts. Since gold doesn't use a linker script by default,
> hacking in the special case support was a pain. But it seems to be
> required in order for constructor priorities to work. Not that many
> people use them anyhow.
The eCos RTOS (http://ecos.sourceware.org) relies on ctor priorities, it
doesn't work otherwise.
Alex