jow
f580ce76b0
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:11:32 +00:00
mirko
d7f2b105ad
[tools/mklibs] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 12:19:56 +00:00
nbd
9c26cd0e62
mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 18:17:02 +00:00
nbd
f49117a33b
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 16:17:04 +00:00
jow
9e2306be1f
[tools] mklibs: import missing symbol workaround from Freetz project ( #7590 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:49:41 +00:00
acoul
2ad1d18700
tools/mklibs: revert r24282
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 13:21:09 +00:00
acoul
75a80d1ea4
tools/mklibs: update to version 0.1.30
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:32:04 +00:00
nbd
a3aca9dfa3
mklibs: fix missing __pack_f symbol in uclibc after relink
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-17 04:36:07 +00:00
nbd
80d3676987
mklibs: use -Wl,--gc-sections when relinking - currently only saves a few bytes, maybe more in the future
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 16:54:18 +00:00
nbd
e758e059e7
mklibs: preserve the uclibc init symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:26:05 +00:00
nbd
22660b11c8
mklibs: handle duplicate symbols properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:26:00 +00:00
nbd
6691016918
mklibs: fix crashes on nonexistant sections in readelf (thx, justus)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:25:42 +00:00
nbd
a1e0ae5b41
mklibs: fix libpthread link error ( #5851 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 12:51:48 +00:00
nbd
479aa972ad
mklibs: do not touch libraries that cannot be rebuilt
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:59 +00:00
nbd
5d8da1c596
upgrade mklibs to 0.1.29 - fixes runtime errors in mklibs-readelf
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:54 +00:00
nbd
36ee26128c
mklibs: do not fail on unresolved symbols, but print warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:49 +00:00
florian
8ba3245d96
[tools] fix mklibs compilation failures on stdio.h not being included
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 10:31:27 +00:00
nbd
df1a3208d3
add mklibs (based on a patch by florian) in preparation for optional library symbol stripping
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 00:07:18 +00:00