diff options
author | Evgeniy Didin <Evgeniy.Didin@synopsys.com> | 2017-07-12 18:00:31 +0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-07-18 23:23:27 +0200 |
commit | 8647f4f018e4dee663b65948d75105fae7bb3cdc (patch) | |
tree | 35e9dc4b1775d9935c846ca4f99cc314715ba57c /toolchain/gcc/patches/arc-2017.03-release/820-libgcc_pic.patch | |
parent | 6f133a44023e4f6941341186a0951e77dd108d50 (diff) | |
download | mtk-20170518-8647f4f018e4dee663b65948d75105fae7bb3cdc.zip mtk-20170518-8647f4f018e4dee663b65948d75105fae7bb3cdc.tar.gz mtk-20170518-8647f4f018e4dee663b65948d75105fae7bb3cdc.tar.bz2 |
toolchain/arc: update to the most recent release arc-2017.03
arc-2017.03 is the most recent release toolchain for ARC cores
and it is based on upstream Binutils 2.28 and GCC 6.3.0
Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: John Crispin <john@phrozen.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'toolchain/gcc/patches/arc-2017.03-release/820-libgcc_pic.patch')
-rw-r--r-- | toolchain/gcc/patches/arc-2017.03-release/820-libgcc_pic.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/arc-2017.03-release/820-libgcc_pic.patch b/toolchain/gcc/patches/arc-2017.03-release/820-libgcc_pic.patch new file mode 100644 index 0000000..f925d96 --- /dev/null +++ b/toolchain/gcc/patches/arc-2017.03-release/820-libgcc_pic.patch @@ -0,0 +1,36 @@ +--- a/libgcc/Makefile.in ++++ b/libgcc/Makefile.in +@@ -888,11 +888,12 @@ $(libgcov-driver-objects): %$(objext): $ + + # Static libraries. + libgcc.a: $(libgcc-objects) ++libgcc_pic.a: $(libgcc-s-objects) + libgcov.a: $(libgcov-objects) + libunwind.a: $(libunwind-objects) + libgcc_eh.a: $(libgcc-eh-objects) + +-libgcc.a libgcov.a libunwind.a libgcc_eh.a: ++libgcc.a libgcov.a libunwind.a libgcc_eh.a libgcc_pic.a: + -rm -f $@ + + objects="$(objects)"; \ +@@ -913,7 +914,7 @@ all: libunwind.a + endif + + ifeq ($(enable_shared),yes) +-all: libgcc_eh.a libgcc_s$(SHLIB_EXT) ++all: libgcc_eh.a libgcc_pic.a libgcc_s$(SHLIB_EXT) + ifneq ($(LIBUNWIND),) + all: libunwind$(SHLIB_EXT) + libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_EXT) +@@ -1115,6 +1116,10 @@ install-shared: + chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_eh.a + $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_eh.a + ++ $(INSTALL_DATA) libgcc_pic.a $(mapfile) $(DESTDIR)$(inst_libdir)/ ++ chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_pic.a ++ $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_pic.a ++ + $(subst @multilib_dir@,$(MULTIDIR),$(subst \ + @shlib_base_name@,libgcc_s,$(subst \ + @shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(SHLIB_INSTALL)))) |