diff options
| author | wolfgang.thaller@gmx.net <unknown> | 2006-02-03 03:52:20 +0000 |
|---|---|---|
| committer | wolfgang.thaller@gmx.net <unknown> | 2006-02-03 03:52:20 +0000 |
| commit | e43eaee702b32ea8a89911484d2abe45d4f3f98e (patch) | |
| tree | b8c942dcc28977aba1978446f7db642714becaa6 | |
| parent | d1e15bd270b971d330238d99b66ff36074873f90 (diff) | |
| download | haskell-e43eaee702b32ea8a89911484d2abe45d4f3f98e.tar.gz | |
Darwin/x86: Handle IMPORT sections in mangler
| -rw-r--r-- | ghc/driver/mangler/ghc-asm.lprl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index d4f06e0aab..bbfe142aa7 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -588,7 +588,8 @@ sub mangle_asm { || /^\s*\.section __TEXT,__symbol_stub\d,.*/ || /^\s*\.section __TEXT,__symbolstub\d,.*/ || /^\s*\.lazy_symbol_pointer/ - || /^\s*\.non_lazy_symbol_pointer/ )) + || /^\s*\.non_lazy_symbol_pointer/ + || /^\s*\.section __IMPORT.*/)) { $chk[++$i] = $_; $chkcat[$i] = 'dyld'; |
