Subject: Re: asn1_compile SIG4 with hp300
To: Jarkko Teppo <>
From: Steve Woodford <>
List: current-users
Date: 10/12/2001 18:27:49
I know Izumi Tsutsui has already posted a patch which works around the
problem. However, I believe the following patch is more appropriate.

The real problem is that when padding the text segment (for the .align
directive, for example), gas(1) on m68k uses 0x0 instead of NOP.

Someone who understands the {init,fini}_fallthru() better than I can
comment on whether this is the *right* fix for m68k (other than fixing

Cheers, Steve

RCS file: /cvsroot/basesrc/lib/csu/m68k_elf/dot_init.h,v
retrieving revision 1.1
diff -u -r1.1 dot_init.h
--- dot_init.h  2001/05/12 00:17:55     1.1
+++ dot_init.h  2001/10/12 17:22:46
@@ -51,7 +51,7 @@
                __asm (                                 \
                ".section "#sect",\"ax\",@progbits      \n"\
                #entry_pt":                             \n"\
-               "       .align  4                       \n"\
+               "       .align  2                       \n"\
                "       /* fall thru */                 \n"\