x86_64 build working with new compiler
[tpg/acess2.git] / Externals / cross-compiler / patches / gcc / gcc / config.gcc.patch
1 --- gcc/config.gcc
2 +++ gcc/config.gcc
3 @@ -519,3 +519,10 @@
4  # Common parts for widely ported systems.
5  case ${target} in
6 +*-*-acess2*)
7 +  extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o crtendT.o"
8 +  gas=yes
9 +  gnu_ld=yes
10 +  default_use_cxa_atexit=yes
11 +  use_gcc_stdint=provide
12 +  ;;
13  *-*-darwin*)
14
15 @@ -1192,2 +1196,12 @@
16         ;;
17 +i[3-7]86-*-acess2*)
18 +       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h newlib-stdint.h acess2.h"
19 +       tmake_file="i386/t-i386elf i386/t-crtstuff t-svr4"
20 +       use_fixproto=yes
21 +       ;;
22 +x86_64-*-acess2*)
23 +       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"
24 +       tmake_file="i386/t-i386elf i386/t-crtstuff t-svr4"
25 +       use_fixproto=yes
26 +       ;;
27  i[34567]86-*-elf*)

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