summaryrefslogtreecommitdiff
path: root/compiler/systems
diff options
context:
space:
mode:
authorkaroly <karoly@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-01-04 08:27:23 +0000
committerkaroly <karoly@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-01-04 08:27:23 +0000
commit5fdcce2489d6acccd6990e5ca3d5ec30a0aab029 (patch)
tree471e3f3cb5ed3b868cc881916dc7df5b79a2191b /compiler/systems
parent97613d67a56428d0935b0d0c025ac7d14270be3a (diff)
downloadfpc-5fdcce2489d6acccd6990e5ca3d5ec30a0aab029.tar.gz
palmos: also pass --embedded-relocs to the linker. mimics what prc-tools GCC does
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@37899 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/systems')
-rw-r--r--compiler/systems/t_palmos.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/systems/t_palmos.pas b/compiler/systems/t_palmos.pas
index 754430784d..5582858b80 100644
--- a/compiler/systems/t_palmos.pas
+++ b/compiler/systems/t_palmos.pas
@@ -70,7 +70,7 @@ begin
{ This is based on my successful experiment with prc-tools remix.
Anyone who has more insight into this Palm magic, feel free to fix. (KB) }
- ExeCmd[1]:='ld $OPT $STRIP --no-check-sections -N -dy -o $EXE $RES';
+ ExeCmd[1]:='ld $OPT $STRIP --embedded-relocs --no-check-sections -N -dy -o $EXE $RES';
ExeCmd[2]:='build-prc $EXE.prc "$APPNAME" $APPID $EXE';
end;
end;