Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / Externals / cross-compiler / patches / gcc / libgcc / config.host.patch
index bcf7a4a..52725e3 100644 (file)
@@ -1,16 +1,22 @@
 --- libgcc/config.host
 +++ libgcc/config.host
-@@ -523,4 +523,12 @@
+@@ -523,4 +523,18 @@
  x86_64-*-elf*)
        tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
        ;;
 +i[3-7]86-*-acess2*)
-+      extra_parts="crtbegin.o crtend.o"
++      extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o crtendT.o"
 +      tmake_file="$tmake_file i386/t-crtstuff"
 +      ;;
 +x86_64-*-acess2*)
-+      extra_parts="crtbegin.o crtend.o"
++      extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o crtendT.o"
 +      tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
++      ;;
++arm-*-acess2*)
++      extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o crtendT.o"
++      tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix arm/t-bpabi t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
++      tm_file="$tm_file arm/bpabi-lib.h"
++      unwind_header=config/arm/unwind-arm.h
 +      ;;
  i[34567]86-*-freebsd*)
 

UCC git Repository :: git.ucc.asn.au