[PATCH] Fix `defined in discarded section' errors when building ia64 gcc

Alan Modra amodra@bigpond.net.au
Tue Aug 17 13:54:00 GMT 2004


On Tue, Aug 17, 2004 at 12:04:29PM +0200, Jakub Jelinek wrote:
> On Tue, Aug 17, 2004 at 11:02:01AM +0200, Jakub Jelinek wrote:
> > Not sure what should be done here, but certainly the compiler
> > isn't at fault here, it is a binutils problem.

Arguable.  :)

> > One fix could be to create empty .gnu.linkonce.ia64unw.* section
> > in assembler, another special case ia64 unwind sections in the linker.
> 
> Here is a patch for the first possibility.

The idea seems good to me.  Patch approved.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list