From: pavenis AT lanet DOT lv Message-ID: To: Eli Zaretskii , djgpp-workers AT delorie DOT com Date: Mon, 26 Jul 1999 15:16:36 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: .align directives in libc.a References: In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.11) Reply-To: djgpp-workers AT delorie DOT com On 25 Jul 99, at 11:10, Eli Zaretskii wrote: > > On Thu, 22 Jul 1999 pavenis AT lanet DOT lv wrote: > > > Hopefully > > .p2align 4,,7 > > should work for gcc (I haven't tested) > > Can you tell how such a configuration should be done? > At first (untested) #undef ASM_OUTPUT_ALIGN #define ASM_OUTPUT_ALIGN(FILE,LOG) \ if ((LOG) != 0) fprintf ((FILE), "\t.p2align %d,,7\n", LOG) in gcc/config/i386/djgpp.h Additionally we should add other needed alignment related macros into the same file (see gcc info file) > > But I'm still afraid that without support of 16 byte alignment in > > binutils this all is near to useless. > > Sure, Binutils need to be changed to use a 16-byte alignment by > default. We need to make both of these changes. > > Btw, what exactly prevents us from releasing the DJGPP port of > Binutils 2.9.1? I understand that a number of people are using it for > quite some time already. Is there any problems that make its release > undesirable, or is it simply a question of somebody's finding enough > free time to make the release? > I don't think it's so complicated. Anyway cleaning contents of binutils-2.9.1.tar.gz from all unnecessary things (not needed for DJGPP) would require some time. I myself have practically changed to binutils snapshots and I'm building them from original sources with very small modifications. If putting binutils-2.9.1.tar.gz together with script for building binutils (patches embeded in script) would be good enough then it should not require much work. My script should support both binutils 2.9.1 and also latest snapshots. Also if I run it for example under Linux I'm getting cross-binutils for DJGPP without any additional hacking. Andris