X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Externals%2Fcross-compiler%2Fpatches%2Fgcc%2Fgcc%2Fconfig.gcc.patch;h=c6f085ec7e81ef700e0e12bad4a7e227ab738ac7;hb=3d67e21210fbcad7cdcbfa9c348019a191ce1798;hp=8f65ac69706faf803f9a49dfac14ef061628f187;hpb=58034f56ab8478b9524c3f09cdf9f93fcb439691;p=tpg%2Facess2.git diff --git a/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch b/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch index 8f65ac69..c6f085ec 100644 --- a/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch +++ b/Externals/cross-compiler/patches/gcc/gcc/config.gcc.patch @@ -1,18 +1,20 @@ --- gcc/config.gcc +++ gcc/config.gcc -@@ -519,3 +519,10 @@ +@@ -519,3 +519,12 @@ # 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 ++ thread_file=posix + ;; *-*-darwin*) -@@ -1192,2 +1196,12 @@ +@@ -1192,2 +1196,17 @@ ;; +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" @@ -23,5 +25,10 @@ + 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 ++ ;; ++arm-*-acess2*) ++ 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" ++ tmake_file="arm/t-arm arm/t-arm-elf arm/t-bpabi" ++ use_fixproto=yes + ;; i[34567]86-*-elf*)