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

Bruce Tulloch pascal at causal.com
Sat May 25 10:39:19 CEST 2013

Okay, well that would seem to imply there's a problem with dead code
stripping in binutils 2.23.1, at least for this arm target if all FPC
is doing is instructing ld to strip dead code but is otherwise doing
nothing else differently. No matter, I'll just not use it for now,

On a related point, presumably there is no point specifying -CX without -XX?


On Sat, May 25, 2013 at 4:52 PM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> 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_______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel

More information about the fpc-devel mailing list