This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: gc sections and .eh_frame
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>,binutils at sources dot redhat dot com
- Date: Mon, 04 Jul 2005 11:55:27 +0100
- Subject: Re: gc sections and .eh_frame
- References: <42A5DE0C.9050108@eCosCentric.com> <200506280940.28723.ebotcazou@adacore.com> <20050628114133.GC8706@bubble.grove.modra.org> <200506281357.59145.ebotcazou@adacore.com> <20050629012401.GD8706@bubble.grove.modra.org> <20050629135426.GD28975@bubble.grove.modra.org> <42C32126.9010409@eCosCentric.com> <20050630222755.GK28975@bubble.grove.modra.org> <42C545C0.4090403@eCosCentric.com> <20050704045029.GD5308@bubble.grove.modra.org>
Alan Modra wrote:
On Fri, Jul 01, 2005 at 02:31:44PM +0100, Jonathan Larmour wrote:
A workaround is to link with --noinhibit-exec.
Ick. I'm sure we should be recommending something better than that.
The reason I haven't worried too much is that --gc-sections doing
anything on dynamic executables is a relatively new feature.
Ah well, we (the eCos project), have been using it on static builds for
embedded targets since before it was publically released (it was written
for us) :-). 1998 I think. powerpc-eabi was one of the first.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine