diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-07-25 22:16:37 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-07-25 22:16:37 +0200 |
commit | 82bab389a4f5e871dae68ff376fb74537b1e75b6 (patch) | |
tree | 00bb643162853e282e04eeae6c1f06e232216027 /toolchain | |
parent | f94dbc199e0abcdd3b8cc9d9d7226d8a1a6b47e1 (diff) | |
parent | dba433e831fb3fe7ea5e6ced99c92643b8e7f9e8 (diff) |
Merge branch 'master' of gogs.waldemar-brodkorb.de:linux/openadk
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/binutils/Makefile.inc | 2 | ||||
-rw-r--r-- | toolchain/gcc/Makefile.inc | 8 | ||||
-rw-r--r-- | toolchain/gcc/patches/6.3.0/fix-dwarf-fdpic.uclibc-ng | 33 | ||||
-rw-r--r-- | toolchain/musl/patches/git/s390-hotfix.patch | 25 |
4 files changed, 38 insertions, 30 deletions
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc index b76fdc7b1..d6c09ef93 100644 --- a/toolchain/binutils/Makefile.inc +++ b/toolchain/binutils/Makefile.inc @@ -24,7 +24,7 @@ PKG_SITES:= ${MASTER_SITE_GNU:=binutils/} DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz endif ifeq ($(ADK_TOOLCHAIN_BINUTILS_ARC),y) -PKG_VERSION:= arc-2017.03-release +PKG_VERSION:= arc-2016.09-release PKG_GIT:= tag PKG_RELEASE:= 1 PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb.git diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc index e646e5536..0b4103c91 100644 --- a/toolchain/gcc/Makefile.inc +++ b/toolchain/gcc/Makefile.inc @@ -27,19 +27,19 @@ DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz LIBSTDCXXVER:= 20 endif ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y) -PKG_VERSION:= arc-2017.03-release +PKG_VERSION:= arc-2016.09-release PKG_GIT:= tag PKG_SITES:= https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git PKG_RELEASE:= 1 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz endif ifeq ($(ADK_TOOLCHAIN_GCC_OR1K),y) -PKG_VERSION:= or1k-7-2 +PKG_VERSION:= musl-5.4.0 PKG_GIT:= branch -PKG_SITES:= https://github.com/rth7680/gcc.git +PKG_SITES:= https://github.com/openrisc/or1k-gcc.git PKG_RELEASE:= 1 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz -LIBSTDCXXVER:= 23 +LIBSTDCXXVER:= 21 endif ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y) PKG_VERSION:= 4.9.3-nds32 diff --git a/toolchain/gcc/patches/6.3.0/fix-dwarf-fdpic.uclibc-ng b/toolchain/gcc/patches/6.3.0/fix-dwarf-fdpic.uclibc-ng new file mode 100644 index 000000000..d462a6c7a --- /dev/null +++ b/toolchain/gcc/patches/6.3.0/fix-dwarf-fdpic.uclibc-ng @@ -0,0 +1,33 @@ +diff -Nur gcc-6.3.0.orig/libgcc/unwind-dw2-fde-dip.c gcc-6.3.0/libgcc/unwind-dw2-fde-dip.c +--- gcc-6.3.0.orig/libgcc/unwind-dw2-fde-dip.c 2016-01-04 15:30:50.000000000 +0100 ++++ gcc-6.3.0/libgcc/unwind-dw2-fde-dip.c 2017-05-18 00:43:58.000000000 +0200 +@@ -124,7 +124,11 @@ + { + _Unwind_Ptr pc_low; + _Unwind_Ptr pc_high; ++#if defined __FRV_FDPIC__ || defined __BFIN_FDPIC__ || defined __SH_FDPIC__ ++ struct elf32_fdpic_loadaddr load_base; ++#else + _Unwind_Ptr load_base; ++#endif + const ElfW(Phdr) *p_eh_frame_hdr; + const ElfW(Phdr) *p_dynamic; + struct frame_hdr_cache_element *link; +@@ -163,7 +167,7 @@ + struct unw_eh_callback_data *data = (struct unw_eh_callback_data *) ptr; + const ElfW(Phdr) *phdr, *p_eh_frame_hdr, *p_dynamic; + long n, match; +-#ifdef __FRV_FDPIC__ ++#if defined __FRV_FDPIC__ || defined __BFIN_FDPIC__ || defined __SH_FDPIC__ + struct elf32_fdpic_loadaddr load_base; + #else + _Unwind_Ptr load_base; +@@ -347,7 +351,7 @@ + break; + } + } +-# elif defined __FRV_FDPIC__ && defined __linux__ ++# elif (defined __FRV_FDPIC__ || defined __BFIN_FDPIC__) || defined __SH_FDPIC__ && defined __linux__ + data->dbase = load_base.got_value; + # else + # error What is DW_EH_PE_datarel base on this platform? diff --git a/toolchain/musl/patches/git/s390-hotfix.patch b/toolchain/musl/patches/git/s390-hotfix.patch deleted file mode 100644 index ad5dee080..000000000 --- a/toolchain/musl/patches/git/s390-hotfix.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 67d252fe0c131e3a1fa56d8bec9c25613a7f3bcd Mon Sep 17 00:00:00 2001 -From: Bobby Bingham <koorogi@koorogi.info> -Date: Fri, 25 Nov 2016 12:58:04 -0600 -Subject: [PATCH] s390: replace absolute branch with relative branch - ---- - src/signal/s390x/sigsetjmp.s | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/signal/s390x/sigsetjmp.s b/src/signal/s390x/sigsetjmp.s -index 72dfc25..41b1bd9 100644 ---- a/src/signal/s390x/sigsetjmp.s -+++ b/src/signal/s390x/sigsetjmp.s -@@ -6,7 +6,7 @@ - sigsetjmp: - __sigsetjmp: - ltgr %r3, %r3 -- bz ___setjmp -+ jz ___setjmp - - stg %r14, 18*8(%r2) - stg %r6, 20*8(%r2) --- -2.10.2 - |