[fpc-devel] Re: strange error with arm compiler whencompiling-running this code
Yury Sidorov
jura at cp-lab.com
Sun Mar 18 10:13:00 CET 2007
From: "Roozbeh GHolizadeh" <roozbehid at yahoo.com>
To: <fpc-devel at lists.freepascal.org>
Sent: Sunday, March 18, 2007 10:59 AM
Subject: [fpc-devel] Re: strange error with arm compiler whencompiling-running this code
> So any ideas a least what it could be related to?
> i mean if i want to fix it what should i test/look
> for?
> problem with alignment of segments or...?
I think the problem is in different meaning of some relocs by ld and eVC linker.
> i just tried to use fpc external linker with microsoft
> linker.and with some headaches creating 1300 line of
> /merge:this section=that section.(by the way why fpc
> creates this too much different sections?why not just
> put all code in .text?!)linked and created program now
> works.
FPC creates section for each procedure/variable. Each section has unique name and looks like .text.xxxxx
> So it seems the problem is related to gnu linker
> script,and i think maybe this script concept is also
> used for internal linker too,so both of them fail
> linking correctly.
Please create bug report in mantis and attach eVC and pascal example code. I will take a look on it later.
Yury.
More information about the fpc-devel
mailing list