diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-01-21 23:28:34 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-01-21 23:28:34 +0000 |
commit | 1903b037de2fb3e75826406b46f055acb70963fa (patch) | |
tree | 604cd8b790fe14e5fbe441d4cd647c80d2a36a9a /compiler/powerpc/symcpu.pas | |
parent | ad1141d52f8353457053b925cd674fe1d5c4eafc (diff) | |
parent | 953d907e4d6c3a5c2f8aaee6e5e4f73c55ce5985 (diff) | |
download | fpc-blocks.tar.gz |
* synchronised with trunk till r29513blocks
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/blocks@29516 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/powerpc/symcpu.pas')
-rw-r--r-- | compiler/powerpc/symcpu.pas | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/compiler/powerpc/symcpu.pas b/compiler/powerpc/symcpu.pas index 0e76662a88..30bbefe212 100644 --- a/compiler/powerpc/symcpu.pas +++ b/compiler/powerpc/symcpu.pas @@ -186,14 +186,16 @@ implementation procedure tcpuprocdef.ppuload_platform(ppufile: tcompilerppufile); begin inherited; - ppufile.getderef(libsymderef); + if po_syscall_has_libsym in procoptions then + ppufile.getderef(libsymderef); end; procedure tcpuprocdef.ppuwrite_platform(ppufile: tcompilerppufile); begin inherited; - ppufile.putderef(libsymderef); + if po_syscall_has_libsym in procoptions then + ppufile.putderef(libsymderef); end; @@ -208,14 +210,18 @@ implementation procedure tcpuprocdef.buildderef; begin inherited; - libsymderef.build(libsym); + if po_syscall_has_libsym in procoptions then + libsymderef.build(libsym); end; procedure tcpuprocdef.deref; begin inherited; - libsym:=tsym(libsymderef.resolve); + if po_syscall_has_libsym in procoptions then + libsym:=tsym(libsymderef.resolve) + else + libsym:=nil; end; begin |