From: Alexandros C. Couloumbis Date: Mon, 6 Dec 2010 13:21:09 +0000 (+0000) Subject: tools/mklibs: revert r24282 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=163c4241874cacc4471ab5770593eb566518916c;p=openwrt%2Fstaging%2F981213.git tools/mklibs: revert r24282 SVN-Revision: 24283 --- diff --git a/tools/mklibs/Makefile b/tools/mklibs/Makefile index 0c7fe0690b..bd967217ea 100644 --- a/tools/mklibs/Makefile +++ b/tools/mklibs/Makefile @@ -7,11 +7,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mklibs -PKG_VERSION:=0.1.30 +PKG_VERSION:=0.1.29 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/mklibs/ -PKG_MD5SUM:=15d20c45f786126e31aa3ac06fc08da5 +PKG_MD5SUM:=7f35dfdbde249a090199829c1a1222d8 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mklibs @@ -21,8 +21,8 @@ HOST_CFLAGS += -I$(CURDIR)/include define Host/Install $(INSTALL_BIN) \ - $(HOST_BUILD_DIR)/src/mklibs \ - $(HOST_BUILD_DIR)/src/mklibs-copy \ + $(HOST_BUILD_DIR)/src/mklibs.py \ + $(HOST_BUILD_DIR)/src/mklibs-copy.py \ $(HOST_BUILD_DIR)/src/mklibs-readelf/mklibs-readelf \ $(STAGING_DIR_HOST)/bin/ endef diff --git a/tools/mklibs/patches/002-disable_symbol_checks.patch b/tools/mklibs/patches/002-disable_symbol_checks.patch index cdf21d05cb..7ec63937c4 100644 --- a/tools/mklibs/patches/002-disable_symbol_checks.patch +++ b/tools/mklibs/patches/002-disable_symbol_checks.patch @@ -1,5 +1,5 @@ ---- a/src/mklibs -+++ b/src/mklibs +--- a/src/mklibs.py ++++ b/src/mklibs.py @@ -500,7 +500,7 @@ while 1: # No progress in last pass. Verify all remaining symbols are weak. for name in unresolved: diff --git a/tools/mklibs/patches/003-no_copy.patch b/tools/mklibs/patches/003-no_copy.patch index 28f3215172..bd6505aff9 100644 --- a/tools/mklibs/patches/003-no_copy.patch +++ b/tools/mklibs/patches/003-no_copy.patch @@ -1,5 +1,5 @@ ---- a/src/mklibs -+++ b/src/mklibs +--- a/src/mklibs.py ++++ b/src/mklibs.py @@ -440,7 +440,7 @@ while 1: passnr = passnr + 1 # Gather all already reduced libraries and treat them as objects as well diff --git a/tools/mklibs/patches/004-libpthread_link.patch b/tools/mklibs/patches/004-libpthread_link.patch index 99aafaff67..b4a6e4f513 100644 --- a/tools/mklibs/patches/004-libpthread_link.patch +++ b/tools/mklibs/patches/004-libpthread_link.patch @@ -1,5 +1,5 @@ ---- a/src/mklibs -+++ b/src/mklibs +--- a/src/mklibs.py ++++ b/src/mklibs.py @@ -105,14 +105,14 @@ def library_depends(obj): # Return a list of libraries the passed objects depend on. The diff --git a/tools/mklibs/patches/006-duplicate_syms.patch b/tools/mklibs/patches/006-duplicate_syms.patch index 4aa56b08ba..3f39ee5bb4 100644 --- a/tools/mklibs/patches/006-duplicate_syms.patch +++ b/tools/mklibs/patches/006-duplicate_syms.patch @@ -1,5 +1,5 @@ ---- a/src/mklibs -+++ b/src/mklibs +--- a/src/mklibs.py ++++ b/src/mklibs.py @@ -507,7 +507,6 @@ while 1: library_symbols = {} diff --git a/tools/mklibs/patches/007-uclibc_init.patch b/tools/mklibs/patches/007-uclibc_init.patch index 2334a37094..e76515085c 100644 --- a/tools/mklibs/patches/007-uclibc_init.patch +++ b/tools/mklibs/patches/007-uclibc_init.patch @@ -1,5 +1,5 @@ ---- a/src/mklibs -+++ b/src/mklibs +--- a/src/mklibs.py ++++ b/src/mklibs.py @@ -571,6 +571,11 @@ while 1: extra_post_obj.append(sysroot + libc_extras_dir + "/sofini.o") symbols.add(ProvidedSymbol('__dso_handle', None, None, True)) diff --git a/tools/mklibs/patches/008-gc_sections.patch b/tools/mklibs/patches/008-gc_sections.patch index 4de73f39f8..2775493b09 100644 --- a/tools/mklibs/patches/008-gc_sections.patch +++ b/tools/mklibs/patches/008-gc_sections.patch @@ -1,5 +1,5 @@ ---- a/src/mklibs -+++ b/src/mklibs +--- a/src/mklibs.py ++++ b/src/mklibs.py @@ -583,7 +583,7 @@ while 1: # compile in only used symbols cmd = [] diff --git a/tools/mklibs/patches/009-uclibc_libgcc_link.patch b/tools/mklibs/patches/009-uclibc_libgcc_link.patch index e36b1c14c6..2312d6a2c5 100644 --- a/tools/mklibs/patches/009-uclibc_libgcc_link.patch +++ b/tools/mklibs/patches/009-uclibc_libgcc_link.patch @@ -1,5 +1,5 @@ ---- a/src/mklibs -+++ b/src/mklibs +--- a/src/mklibs.py ++++ b/src/mklibs.py @@ -560,6 +560,7 @@ while 1: extra_flags = [] extra_pre_obj = []