This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -malign on Pentiums
- To: Robert Lipe <robertl at dgii dot com>
- Subject: Re: -malign on Pentiums
- From: Tobias Ringström <tori at prosolvia dot se>
- Date: Tue, 02 Jun 1998 09:39:22 +0200 (CEST)
- Cc: egcs at cygnus dot com, Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Organization: Prosolvia AB
On 28-May-98 Robert Lipe wrote:
>> > > Is that what the ".p2align" stuff was about?
>> > Yes.
>>
>> While playing with the i386 backend yesterday I noticed that gas.h doesn't
>> appear to get included on ix86-linux platforms, so this feature isn't used.
>
> It's picked up at configure time unless gas.h is explictly included.
> Look in the gcc/configure.in. When I do a build on my RH5 box, it
> definitely gets detected.
Then you have better luck than I do. Using an up-to-date CVS version, I tried
the following:
sds10> ../egcs/configure --prefix=/usr/local/egcs-dev --enable-threads
--with-gnu-ld --with-gnu-as
sds10> cd gcc ; make final.o
sds10> strings final.o | grep p2align
sds10>
It does not help to do a full 'make bootstrap'. I also tried:
sds10> gcc -M -DIN_GCC -g -DHAVE_CONFIG_H -I. -I../../egcs/gcc
-I../../egcs/gcc/config ../../egcs/gcc/final.c | grep gas
sds10>
Looking at gcc/configure.in, all I find is:
i[[34567]]86-*-linux-gnu*) # Intel 80386's running GNU/Linux
# with ELF format using glibc 2
# aka GNU/Linux C library 6
xmake_file=x-linux
tm_file=i386/linux.h
tmake_file="t-linux i386/t-crtstuff"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
fixincludes=Makefile.in #On Linux, the headers are ok already.
gnu_ld=yes
if [[ x$enable_threads = xyes ]]; then
thread_file='posix'
fi
;;
I cannot see anything about gas.h. Am I looking at the wrong place?
Maybe you were just commenting on the autoconf detection of the .p2align
statement. In that case I agree with you that it is indeed detected. The
problem is that it is not used, at least not in final.c.
/ Tobias