From 7954c508053537178d83ef9b107e29f330be1c2d Mon Sep 17 00:00:00 2001 From: sewardj Date: Mon, 12 Feb 2001 12:08:44 +0000 Subject: [PATCH] [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.) --- ghc/rts/universal_call_c.S | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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" -- 1.7.10.4