Просмотр исходного кода

* the libunwind API resides in libgcc_s on Linux
o also link against libc (the current llvm code generator assumes it for
memcpy, and libgcc_s depends on it anyway)

git-svn-id: branches/debug_eh@40433 -

Jonas Maebe 6 лет назад
Родитель
Сommit
42f82f4d40
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      rtl/inc/psabieh.inc

+ 5 - 0
rtl/inc/psabieh.inc

@@ -44,6 +44,11 @@
 
 {$packrecords c}
 
+{$ifdef linux}
+{$linklib c}
+{$linklib libgcc_s}
+{$endif}
+
 {$if (defined(CPUARMEL) or defined(CPUARMHF)) and not defined(darwin)}
 {$define __ARM_EABI_UNWINDER__}
 {$error add ARM EABI unwinder support}