aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/patches
Commit message (Collapse)AuthorAgeFilesLines
* musl: mips: add vdso supportHauke Mehrtens2016-01-231-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | vdso support is available on mips starting with kernel 4.4, see kernel commit a7f4df4e21 "MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()" for details. These are my micro benchmark results for 1.000.000 calls to clock_gettime(CLOCK_MONOTONIC, &tp) without vdso: root@OpenWrt:/# time ./vdso-test real 0m 0.95s user 0m 0.24s sys 0m 0.70s with vdso: root@OpenWrt:/# time /usr/bin/vdso-test real 0m 0.35s user 0m 0.34s sys 0m 0.00s Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48466
* musl: backport a fix that caused the wrong relocations to be emitted on some ↵Felix Fietkau2016-01-211-0/+55
| | | | | | | | architectures Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48444
* musl: fix handling of point-to-point interfaces in getifaddrs()Jo-Philipp Wich2015-11-161-0/+18
| | | | | | | | | | | | Current musl reports the peer (remote) address of a point-to-point interface and does not store the local address at all. Apply the same special treatment of IFA_LOCAL to musl's getifaddrs() which is also used in glibc and uclibc. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47488
* musl: add upstream patch for open_[w]memstreamJohn Crispin2015-11-021-0/+79
| | | | | | | | | | This patch fixes corner case in open_memstrem, when stream is created, but nothing is written. This case is present in tgtadm, tgtd management tool. Signed-off-by: Maxim Storchak <m.storchak@gmail.com> SVN-Revision: 47339
* musl: re-enable des crypto support, fixes pppd MPPE issuesFelix Fietkau2015-10-011-56/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47078
* Revert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental ↵Felix Fietkau2015-09-131-141/+0
| | | | | | commit) SVN-Revision: 46898
* musl: fix termios struct c_ispeed/c_ospeed field namesFelix Fietkau2015-09-131-0/+141
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46896
* musl: add a hack to remove unused crypt() algorithms, saves ~14k after lzmaFelix Fietkau2015-09-081-0/+110
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46816
* musl: update to version 1.1.11Felix Fietkau2015-09-025-3178/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46772
* musl: fix getsubopt functionSteven Barth2015-08-181-0/+29
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46684
* musl: update to latest git versionFelix Fietkau2015-07-245-214/+829
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46481
* gcc: use the -sf suffix for musl ldso on powerpcFelix Fietkau2015-07-121-2/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46313
* musl: add powerpc soft-float supportFelix Fietkau2015-07-081-0/+141
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46267
* musl: call a_crash() inside __stack_chk_fail_local instead of calling ↵Felix Fietkau2015-07-081-2/+2
| | | | | | | | | | __stack_chk_fail Fixes relocation errors on PowerPC Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46266
* musl: update to latest git to fix MIPS and PowerPC TLS issuesFelix Fietkau2015-06-271-137/+392
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46134
* fix mklibs with muslMatteo Croce2015-06-251-0/+11
| | | | | | | crate a relative symlink to libc.so because make wildcard function ignores broken symlinks SVN-Revision: 46123
* gcc/musl: rework SSP-supportSteven Barth2015-06-221-0/+58
| | | | | | | | | | | Make musl provide libssp_nonshared.a and make GCC link it unconditionally if musl is used. This should be a no-op if SSP is disabled and seems to be the only reliable way of dealing with SSP over all packages due to the mess that is linkerflags handling in packages. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46108
* musl: update musl to 2015-06-20Steven Barth2015-06-201-73/+763
| | | | | | | | Fixes a mips-regression and a missing SSP function Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46075
* musl: read the timezone from /etc/TZFelix Fietkau2015-06-191-0/+28
| | | | | | | | | | | | | | | | | | | | | | Currently the OpenWRT boot scripts write the timezone configuration to /tmp/TZ, relying on the behaviour of uClibc that the timezone is read from /etc/TZ if no TZ env variable is found. This works because /etc/TZ is a symlink to /tmp/TZ. Musl libc however only reads the timezone from the TZ env variable and if it doesn't find it or it's empty, it will look for a zoneinfo file, that doesn't exist. So in musl builds no timezone is ever set. This patch fixes the issue by having musl libc behave like uClibc: if no TZ env variable is found it will try to load it from /etc/TZ. Signed-off-by: Gianluca Anzolin <gianluca at sottospazio.it> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46069
* musl: update to version 1.1.10+gitFelix Fietkau2015-06-163-2021/+1584
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46001
* musl: update to version 1.1.9Felix Fietkau2015-06-043-99/+2021
| | | | | | | | | Patch to 2015-06-04 to fix ldso related regressions on PPC and MIPS. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45886
* Revert "musl: update to version 1.1.9" (r45754)Felix Fietkau2015-06-032-805/+93
| | | | | | The current version seems to be broken on MIPS. SVN-Revision: 45879
* musl: update to version 1.1.9Felix Fietkau2015-05-252-93/+805
| | | | | | | | Patch to 2015-05-25 to fix ldso related regressions on PPC and MIPS. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 45754
* toolchain/musl: update to the latest version, adds aarch64 supportFelix Fietkau2015-03-281-0/+93
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45091
* musl: update to version 1.1.6Felix Fietkau2015-01-152-3553/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43977
* musl: merge changes from git, includes further getopt fixesFelix Fietkau2015-01-114-63/+3553
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43939
* musl: add getopt support for non-option argumentsJohn Crispin2014-11-191-0/+43
| | | | | | | | | | | | | | | musl libc doesn't support the GNU getopt extension to parse non-option arguments when the optstring starts with '-'. This extension is used by some utilities, notably iptables, that currently return with errors even with perfectly valid invocations. The patch adds the code needed by getopt.c and getopt_long.c to implement that extension. Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it> SVN-Revision: 43309
* musl: fix getopt optional argument processingFelix Fietkau2014-10-211-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43009
* musl: add a hack to rip out excessive iconv bloatFelix Fietkau2014-05-281-0/+68
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40875
* musl: update to version 1.1.1Felix Fietkau2014-05-211-0/+11
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40820