Support Xilinx PowerPC single-precision FPU

Peter Bergner bergner@vnet.ibm.com
Thu Oct 9 15:47:00 GMT 2008


On Thu, 2008-10-09 at 09:24 -0500, Peter Bergner wrote:
> On Wed, 2008-10-08 at 13:29 -0700, Michael Eager wrote:
> > The attached patch adds support for Xilinx PPC 405/440
> > with a single-precision FPU.
> 
> I'll bootstrap and regtest your patch (actually your fixed patch given
> Joseph's comment) on my powerpc64-linux system.

The build failed for me using your patch from:

  http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00349.html

with:

gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -fno-common  -DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \
  main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/local/gmp/lib -L/usr/local/mpfr/lib -lmpfr -lgmp   -L/usr/local/gmp/lib -L/usr/local/mpfr/lib -lmpfr -lgmp
libbackend.a(rs6000.o): In function `rs6000_hard_regno_mode_ok':
/home/bergner/gcc/gcc-mainline-xilinx/gcc/config/rs6000/rs6000.c:1318: multiple definition of `rs6000_xilinx_fpu'
libbackend.a(options.o):/home/bergner/gcc/build/gcc-mainline-xilinx/gcc/options.c:5711: first defined here
collect2: ld returned 1 exit status

Peter





More information about the Gcc-patches mailing list