ARMv7 - Fix compiler and partial compilation
[tpg/acess2.git] / Externals / cross-compiler / patches / gcc / gcc / config.gcc.patch
1 --- gcc/config.gcc
2 +++ gcc/config.gcc
3 @@ -519,3 +519,12 @@
4  # Common parts for widely ported systems.
5  case ${target} in
6 +*-*-acess2*)
7 +  extra_options="${extra_options} acess2.opt"
8 +  extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o crtendT.o"
9 +  gas=yes
10 +  gnu_ld=yes
11 +  default_use_cxa_atexit=yes
12 +  use_gcc_stdint=provide
13 +  thread_file=posix
14 +  ;;
15  *-*-darwin*)
16
17 @@ -1192,2 +1196,17 @@
18         ;;
19 +i[3-7]86-*-acess2*)
20 +       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h newlib-stdint.h acess2.h"
21 +       tmake_file="i386/t-i386elf i386/t-crtstuff t-svr4"
22 +       use_fixproto=yes
23 +       ;;
24 +x86_64-*-acess2*)
25 +       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h acess2.h"
26 +       tmake_file="i386/t-i386elf i386/t-crtstuff t-svr4"
27 +       use_fixproto=yes
28 +       ;;
29 +arm-*-acess2*)
30 +       tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h newlib-stdint.h acess2.h arm/aout.h arm/arm.h"
31 +       tmake_file="arm/t-arm arm/t-arm-elf arm/t-bpabi"
32 +       use_fixproto=yes
33 +       ;;
34  i[34567]86-*-elf*)

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