home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / utils / bug / 2014 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.1 KB  |  37 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!lia.di.epfl.CH!simon
  3. From: simon@lia.di.epfl.CH (Simon Leinen)
  4. Subject: Re: gcc-2.3.1 breaks oleo-1.0
  5. Message-ID: <m0moHav-000HMkC@liasg2.epfl.ch>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. References: simon@lia.di.epfl.CH (Simon Leinen)
  9. Distribution: gnu
  10. Date: Sun, 8 Nov 1992 18:42:00 GMT
  11. Approved: bug-gnu-utils@prep.ai.mit.edu
  12. Lines: 23
  13.  
  14. In article <368@eileen.mga.COM> root@mga.COM (Operator) writes:
  15.  
  16.    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
  17.    as: "/usr/tmp/cca23933.s", line 111: error: location counter not on word boundary
  18.  
  19. This happens inside a sequence of asm() statements, so it's not really
  20. GCC's fault---try the patch below.
  21. -- 
  22. Simon.
  23.  
  24. --- 1.1    1992/11/08 18:38:47
  25. +++ io_utils.c    1992/11/05 11:15:26
  26. @@ -64,6 +64,9 @@
  27.  
  28.  #ifndef ASM_INF
  29.  #if defined(__GNUC__) && ! defined(mips)
  30. +#if defined(sparc)
  31. +__asm (".align 4");
  32. +#endif
  33.  __asm (".globl ___plinf");
  34.  __asm ("___plinf: .double 0rinf");
  35.  __asm (".globl ___neinf");
  36.  
  37.