aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-02-09 13:02:59 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-02-09 13:02:59 -0800
commit10b454953e147d019d6c8043669360db07a655a9 (patch)
tree64a5517930b51262b7a567eab0f180fd81a298fb
parenta821f580fcd6ae4302aa339c5a1cb9d73fbfe1d7 (diff)
downloadriscv-gnu-toolchain-10b454953e147d019d6c8043669360db07a655a9.zip
riscv-gnu-toolchain-10b454953e147d019d6c8043669360db07a655a9.tar.gz
riscv-gnu-toolchain-10b454953e147d019d6c8043669360db07a655a9.tar.bz2
libgcc: build correct multilib files for RV32
-rw-r--r--patches/gcc14
1 files changed, 3 insertions, 11 deletions
diff --git a/patches/gcc b/patches/gcc
index b845b64..e3084ee 100644
--- a/patches/gcc
+++ b/patches/gcc
@@ -213,24 +213,16 @@
sparc64*-*-*)
cpu_type=sparc
;;
-@@ -1064,6 +1067,22 @@ powerpcle-*-eabi*)
+@@ -1064,6 +1067,14 @@ powerpcle-*-eabi*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
;;
-+riscv32*-*-linux*)
-+ tmake_file="${tmake_file} riscv/t-fpbit riscv/t-dpbit riscv/t-tpbit riscv/t-elf riscv/t-elf32"
-+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o crtendS.o crtbeginT.o"
-+ ;;
+riscv*-*-linux*)
-+ tmake_file="${tmake_file} riscv/t-fpbit riscv/t-dpbit riscv/t-tpbit riscv/t-elf riscv/t-elf64"
++ tmake_file="${tmake_file} riscv/t-fpbit riscv/t-dpbit riscv/t-tpbit riscv/t-elf riscv/t-elf${host_address}"
+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o crtendS.o crtbeginT.o"
+ ;;
-+riscv32*-*-*)
-+ tmake_file="${tmake_file} riscv/t-fpbit riscv/t-dpbit riscv/t-elf riscv/t-elf32"
-+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o"
-+ ;;
+riscv*-*-*)
-+ tmake_file="${tmake_file} riscv/t-fpbit riscv/t-dpbit riscv/t-elf riscv/t-elf64"
++ tmake_file="${tmake_file} riscv/t-fpbit riscv/t-dpbit riscv/t-elf riscv/t-elf${host_address}"
+ extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o"
+ ;;
rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)