diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-09-30 21:36:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-09-30 21:36:28 +0000 |
commit | cb119e2a69ddf235255398175ecaba7d8081b775 (patch) | |
tree | b4d530ae2a45f90e96e4f955c8ffdc759d7ab3ee /toolchain/gcc/patches/4.9-linaro/820-libgcc_pic.patch | |
parent | 1637363e95163a4643ffa285a38f9e6fc8b25b8f (diff) | |
download | upstream-cb119e2a69ddf235255398175ecaba7d8081b775.tar.gz upstream-cb119e2a69ddf235255398175ecaba7d8081b775.tar.bz2 upstream-cb119e2a69ddf235255398175ecaba7d8081b775.zip |
gcc: add 4.9-linaro based on the 2014.09 release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42706
Diffstat (limited to 'toolchain/gcc/patches/4.9-linaro/820-libgcc_pic.patch')
-rw-r--r-- | toolchain/gcc/patches/4.9-linaro/820-libgcc_pic.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.9-linaro/820-libgcc_pic.patch b/toolchain/gcc/patches/4.9-linaro/820-libgcc_pic.patch new file mode 100644 index 0000000000..ebd87f5826 --- /dev/null +++ b/toolchain/gcc/patches/4.9-linaro/820-libgcc_pic.patch @@ -0,0 +1,36 @@ +--- a/libgcc/Makefile.in ++++ b/libgcc/Makefile.in +@@ -881,11 +881,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)"; \ +@@ -907,7 +908,7 @@ libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_E + 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) + endif +@@ -1090,6 +1091,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)))) |