Article View: gnu.utils.bug
Article #1055Re: gcc-2.3.1 breaks oleo-1.0
From: Simon Leinen
Date: Sun, 08 Nov 1992 18:42
Date: Sun, 08 Nov 1992 18:42
22 lines
1165 bytes
1165 bytes
In article <368@eileen.mga.COM> root@mga.COM (Operator) writes:
gcc -O -c -g -DSTDC_HEADERS=1 -DHAVE_X11_X_H=1 -DHAVE_UALARM=1 -DHAVE_SETITIMER=1 -DHAVE_RENAME=1 -DHAVE_VPRINTF=1 io_utils.c
as: "/usr/tmp/cca23933.s", line 111: error: location counter not on word boundary
This happens inside a sequence of asm() statements, so it's not really
GCC's fault---try the patch below.
--
Simon.
--- 1.1 1992/11/08 18:38:47
+++ io_utils.c 1992/11/05 11:15:26
@@ -64,6 +64,9 @@
#ifndef ASM_INF
#if defined(__GNUC__) && ! defined(mips)
+#if defined(sparc)
+__asm (".align 4");
+#endif
__asm (".globl ___plinf");
__asm ("___plinf: .double 0rinf");
__asm (".globl ___neinf");
Technical Details
Message-ID:
<m0moHav-000HMkC@liasg2.epfl.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lia.di.epfl.CH!simonReferences:
simon@lia.di.epfl.CH (Simon Leinen)Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lia.di.epfl.CH!simon From: simon@lia.di.epfl.CH (Simon Leinen) Subject: Re: gcc-2.3.1 breaks oleo-1.0 Message-ID: <m0moHav-000HMkC@liasg2.epfl.ch> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: simon@lia.di.epfl.CH (Simon Leinen) Distribution: gnu Date: Sun, 8 Nov 1992 18:42:00 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 23