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, thanks.
On a related point, presumably there is no point specifying -CX without -XX? Bruce On Sat, May 25, 2013 at 4:52 PM, Jonas Maebe <jonas.ma...@elis.ugent.be> wrote: > > On 25 May 2013, at 06:22, Bruce Tulloch <pas...@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@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel