git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode - Adding hacky pthreads support
[tpg/acess2.git]
/
Externals
/
cross-compiler
/
patches
/
gcc
/
gcc
/
config.gcc.patch
diff --git
a/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch
b/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch
index
d50ab47
..
9c7087a
100644
(file)
--- a/
Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch
+++ b/
Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch
@@
-1,22
+1,29
@@
--- gcc/config.gcc
+++ gcc/config.gcc
--- gcc/config.gcc
+++ gcc/config.gcc
-@@ -519,3 +519,1
0
@@
+@@ -519,3 +519,1
2
@@
# Common parts for widely ported systems.
case ${target} in
+*-*-acess2*)
# Common parts for widely ported systems.
case ${target} in
+*-*-acess2*)
++ extra_options="${extra_options} acess2.opt"
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o crtendT.o"
+ gas=yes
+ gnu_ld=yes
+ default_use_cxa_atexit=yes
+ use_gcc_stdint=provide
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o crtendT.o"
+ gas=yes
+ gnu_ld=yes
+ default_use_cxa_atexit=yes
+ use_gcc_stdint=provide
++ thread_file=posix
+ ;;
*-*-darwin*)
+ ;;
*-*-darwin*)
-@@ -1192,2 +1196,
7
@@
+@@ -1192,2 +1196,
12
@@
;;
+i[3-7]86-*-acess2*)
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h newlib-stdint.h acess2.h"
+ tmake_file="i386/t-i386elf i386/t-crtstuff t-svr4"
+ use_fixproto=yes
;;
+i[3-7]86-*-acess2*)
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h newlib-stdint.h acess2.h"
+ tmake_file="i386/t-i386elf i386/t-crtstuff t-svr4"
+ use_fixproto=yes
++ ;;
++x86_64-*-acess2*)
++ 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"
++ tmake_file="i386/t-i386elf i386/t-crtstuff t-svr4"
++ use_fixproto=yes
+ ;;
i[34567]86-*-elf*)
+ ;;
i[34567]86-*-elf*)
UCC
git Repository :: git.ucc.asn.au