From 0d0617ff14b8b020896680de1f1a49c7ba8a5e0d Mon Sep 17 00:00:00 2001 From: Luiz Angelo Daros de Luca Date: Fri, 16 Aug 2019 01:33:58 -0300 Subject: musl: ldso/dlsym: fix mips returning undef dlsym This happens only the second time a library is loaded by dlopen(). After lib1 is loaded, dlsym(lib1,"undef1") correctly resolves the undef symbol from lib1 dependencies. After the second library is loaded, dlsym(lib2,"undef1") was returning the address of "undef1" in lib2 instead of searching lib2 dependencies. Using upstream fix which now uses the same logic for relocation time and dlsym. Fixes openwrt/packages#9297 Signed-off-by: Luiz Angelo Daros de Luca --- package/libs/toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/libs/toolchain') diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile index d76b0a875c..a63746c448 100644 --- a/package/libs/toolchain/Makefile +++ b/package/libs/toolchain/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=toolchain -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Felix Fietkau PKG_LICENSE:=GPL-3.0-with-GCC-exception -- cgit v1.2.3