[fpc-devel] Re: BFD (GNU Binutils) 2.23.1 assertion fail elf32-arm.c:12328

Jonas Maebe jonas.maebe at elis.ugent.be
Sat May 25 08:52:49 CEST 2013


On 25 May 2013, at 06:22, Bruce Tulloch <pascal at causal.com> wrote:

> Okay it appears this problem is related to smart link; removal of -XX avoids it.
> 
> Given advances with dead code elimination in ld I'm guessing smartlink
> isn't really needed these days anyway or is there still some advantage
> to it at the compiler level?

"Smart linking" is simply the term used in the (Borland-derivative) Pascal community to describe dead code stripping/elimination. If you don't use -XX, the compiler will not instruct the linker to eliminate dead code.


Jonas


More information about the fpc-devel mailing list