gc sections and .eh_frame

Jonathan Larmour jifl@eCosCentric.com
Mon Jul 4 10:55:00 GMT 2005


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



More information about the Binutils mailing list