Article View: gnu.gcc.bug
Article #642bug in gcc 1.36
From: Andy Fyfe
Date: Wed, 27 Sep 1989 04:16
Date: Wed, 27 Sep 1989 04:16
35 lines
1727 bytes
1727 bytes
The macro for ASM_OUTPUT_SKIP on the 3b1 outputs the wrong
number of 0-bytes in the text segment. The following patch
corrects the problem (and assumes my last patch was already
applied).
*** old/tm-3b1.h Tue Sep 26 20:33:21 1989
--- tm-3b1.h Tue Sep 26 20:35:58 1989
***************
*** 150,161 ****
if (is_text_section ()) \
{ \
! int i; \
! for (i = 0; i < (SIZE); i += 20) \
fprintf (FILE, "\tbyte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n"); \
! if (i < (SIZE)) \
{ \
fprintf (FILE, "\tbyte 0"); \
i++; \
! for (; i < (SIZE); i++) \
fprintf (FILE, ",0"); \
fprintf (FILE, "\n"); \
--- 150,162 ----
if (is_text_section ()) \
{ \
! int i, _skip_size; \
! _skip_size = (SIZE); \
! for (i = 0; i <= _skip_size-20; i += 20) \
fprintf (FILE, "\tbyte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n"); \
! if (i < _skip_size) \
{ \
fprintf (FILE, "\tbyte 0"); \
i++; \
! for (; i < _skip_size; i++) \
fprintf (FILE, ",0"); \
fprintf (FILE, "\n"); \
Technical Details
Message-ID:
<8909270416.AA17772@csvax.caltech.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andy From: andy@CSVAX.CALTECH.EDU (Andy Fyfe) Newsgroups: gnu.gcc.bug Subject: bug in gcc 1.36 Message-ID: <8909270416.AA17772@csvax.caltech.edu> Date: 27 Sep 89 04:16:14 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 35