delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/07/26/08:17:05

From: pavenis AT lanet DOT lv
Message-ID: <B0000095957@stargate.astr.lu.lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Date: Mon, 26 Jul 1999 15:16:36 +0300
MIME-Version: 1.0
Subject: Re: .align directives in libc.a
References: <B0000095702 AT stargate DOT astr DOT lu DOT lv>
In-reply-to: <Pine.SUN.3.91.990725111026.27488H-100000@is>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019