From: sewardj Date: Mon, 12 Feb 2001 12:08:44 +0000 (+0000) Subject: [project @ 2001-02-12 12:08:44 by sewardj] X-Git-Tag: Approximately_9120_patches~2674 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7954c508053537178d83ef9b107e29f330be1c2d;p=ghc-hetmet.git [project @ 2001-02-12 12:08:44 by sewardj] GNU ld 2.9.1 on sparc can't handle object files lacking a symbol table. Give it a bogus symbol to keep it happy (a.k.a a workaround.) --- diff --git a/ghc/rts/universal_call_c.S b/ghc/rts/universal_call_c.S index f4ed0ab..77f425a 100644 --- a/ghc/rts/universal_call_c.S +++ b/ghc/rts/universal_call_c.S @@ -3,12 +3,17 @@ * * Copyright (c) 1994-2001. * - * $Id: universal_call_c.S,v 1.10 2001/02/09 17:15:20 simonmar Exp $ + * $Id: universal_call_c.S,v 1.11 2001/02/12 12:08:44 sewardj Exp $ * ------------------------------------------------------------------------*/ -#if 0 /* later: GHCI */ - #include "config.h" + +#if sparc_TARGET_ARCH + .text +only_here_to_work_around_a_bug_in_GNU_ld_291_on_sparc: +#endif + +#if 0 /* later: GHCI */ .file "universal_call_c.S"