Commit Graph

19 Commits (77219290e109add0f99fd9ec444d06e7112bf504)

Author SHA1 Message Date
Jo-Philipp Wich c379502147 mklibs: revert r31315
SVN-Revision: 31316
2012-04-16 15:35:45 +00:00
Jo-Philipp Wich a8d663260d tools/mklibs: add missing <unistd.h> in readelf/elf.cpp
Fixes compile on my Arch Linux system, as unistd.h is needed for ::close().

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 31315
2012-04-16 15:11:32 +00:00
Mirko Vogt 1b75788451 add missing includes ('unistd.h') for mklibs
This is needed when compiling with GCC >= 4.7.0 since it doesn't implicitly include 'unistd.h' anymore (needed e.g. for file operations in this particular case)

 - Thanks to Luka Perkov

SVN-Revision: 31259
2012-04-12 12:19:56 +00:00
Felix Fietkau ad45e24bd0 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
SVN-Revision: 25795
2011-02-28 18:17:02 +00:00
Felix Fietkau 04e3dae4ad mklibs: properly fix library linking - the relinking in some instances used static libraries instead of shared ones with the same name, that led to some nasty symbol conflicts and pic issues. fix this by always using the full path to the libraries and also fix the libc vs libpthread linking order
SVN-Revision: 25793
2011-02-28 16:17:04 +00:00
Jo-Philipp Wich 531e5e5386 mklibs: import missing symbol workaround from Freetz project (#7590)
SVN-Revision: 24984
2011-01-14 10:49:41 +00:00
Alexandros C. Couloumbis 163c424187 tools/mklibs: revert r24282
SVN-Revision: 24283
2010-12-06 13:21:09 +00:00
Alexandros C. Couloumbis be47a78299 tools/mklibs: update to version 0.1.30
SVN-Revision: 24282
2010-12-06 12:32:04 +00:00
Felix Fietkau 73384dd1ff mklibs: fix missing __pack_f symbol in uclibc after relink
SVN-Revision: 18438
2009-11-17 04:36:07 +00:00
Felix Fietkau 28d3db089d mklibs: use -Wl,--gc-sections when relinking - currently only saves a few bytes, maybe more in the future
SVN-Revision: 18123
2009-10-22 16:54:18 +00:00
Felix Fietkau 6f52504a97 mklibs: preserve the uclibc init symbol
SVN-Revision: 18085
2009-10-19 23:26:05 +00:00
Felix Fietkau 57d29edb07 mklibs: handle duplicate symbols properly
SVN-Revision: 18084
2009-10-19 23:26:00 +00:00
Felix Fietkau eeadbde8ea mklibs: fix crashes on nonexistant sections in readelf (thx, justus)
SVN-Revision: 18083
2009-10-19 23:25:42 +00:00
Felix Fietkau 76c655e96b mklibs: fix libpthread link error (#5851)
SVN-Revision: 17639
2009-09-20 12:51:48 +00:00
Felix Fietkau d9f9d74f69 mklibs: do not touch libraries that cannot be rebuilt
SVN-Revision: 17172
2009-08-08 02:24:59 +00:00
Felix Fietkau a6a83985a0 upgrade mklibs to 0.1.29 - fixes runtime errors in mklibs-readelf
SVN-Revision: 17171
2009-08-08 02:24:54 +00:00
Felix Fietkau 583f6f2d6a mklibs: do not fail on unresolved symbols, but print warnings
SVN-Revision: 17170
2009-08-08 02:24:49 +00:00
Florian Fainelli a865c9deb5 fix mklibs compilation failures on stdio.h not being included
SVN-Revision: 17164
2009-08-07 10:31:27 +00:00
Felix Fietkau 36aa20bdab add mklibs (based on a patch by florian) in preparation for optional library symbol stripping
SVN-Revision: 17154
2009-08-07 00:07:18 +00:00