bootstrap/3589: GCC 3.0-CVS illegal instruction on hppa1.1-proelf

Vladimir Makarov vmakarov@redhat.com
Wed Mar 27 12:23:00 GMT 2002


John David Anglin wrote:
> 
> > There is another problem of building toolchains hppa1.1-*-pro* and
> > hppa1.1-*-rtems*.  The reason of problem is in that .comm has syntax
> > different from standard elf one and has no field defining alignment.
> 
> I am puzzled.  ASM_OUTPUT_ALIGNED_LOCAL is defined in pa.h and there
> doesn't appear to be a ".comm" in it.  Your redefinition seems to be
> identical to the one that already exists in pa.h.
> 

  There is elfos.h after pa/pa.h (please see config.gcc) for toolchains
*rtems* and *pro*.  This file defines default ASM_OUTPUT_ALIGNED_LOCAL
which can not be compiled by gas or hp assembler.  elfos.h is not used
for hppa*64*-*-hpux* so the toolchain had no problem.  But the toolchain
uses pa/elf.h as toolchains *rtems* and *pro* do.  Therefore I defined
the macro exactly as in pa.h (although I thought about usage of .lcomm).


> This patch affects hppa*64*-*-hpux* as well as the toolchains mentioned
> above.  Thus, it should be tested to ensure that there are no regressions.
> 

So there should be no problem with hppa*64*-*-hpux*.

Vlad

> > The following patch solves the problem.
> >
> > 2002-03-27  Vladimir Makarov  <vmakarov@redhat.com>
> >
> >       * config/pa/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Redefine it.
>



More information about the Gcc-patches mailing list