[Cbe-oss-dev] MARS and SPU-GCC 4.6

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Sat Jan 29 04:57:51 EST 2011


Paul Keir <pkeir at dcs.gla.ac.uk> wrote on 01/28/2011 04:57:54 PM:

> > For your purposes, it should probably just work if you simply
> > use .interrupt instead of .init in the command line above ...
>
> Thankyou. That did indeed work. I transplanted it into my real
> code, and although the elf files there have three segments, not
> four, with .interrupt a part of the first (listed below), your
> suggestion worked here too.

Yes, using .interrupt should work in all cases.

> I've edited that script now to avoid building newlib, and
> am waiting for the build to complete.

If you use .interrupt, there's really no reason to avoid
using the more recent newlib ...

> Many thanks again. I gather you were also responsible for
> the -ffunction-sections etc. work on libgfortran.a Thanks
> also for that, which is actually why I'm using a
> recent spu-gcc.

You're welcome :-)  If you run into any other issues with
current spu-gcc, I'd be interested to know about them.


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand | Phone: +49-7031/16-3727
  STSM, GNU compiler and toolchain for Linux on System z and Cell/B.E.
  IBM Deutschland Research & Development GmbH
  Vorsitzender des Aufsichtsrats: Martin Jetter | Geschäftsführung: Dirk
Wittkopp
  Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht
Stuttgart, HRB 243294



More information about the cbe-oss-dev mailing list