This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: reorganise SPU crt0 files


Ben Elliston wrote:

> +#undef  STARTFILE_SPEC 
> +#define STARTFILE_SPEC "%{mstdmain: crt2.o%s} %{!mstdmain: crt1.o%s} \
> +			crti.o%s crtbegin.o%s"

If I recall correctly, this exposed a back-end bug triggered by 
crtstuff.c code that uses attribute ((aligned (4))) on global
variables -- the back-end would ignore the aligment and assume
16-byte alignment anyway.

We've got another patch in our queue to fix this, so that should
probably go in first ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]