Merge branch 'master' of github.com:thepowersgang/acess2
[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,12 @@
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  i[34567]86-*-elf*)

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