andy@CSVAX.CALTECH.EDU (Andy Fyfe) (09/27/89)
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"); \