From f14d329e2682c4be6ccc11884a381bd100f4ac94 Mon Sep 17 00:00:00 2001 From: Antti Kantee Date: Wed, 28 Oct 2015 18:27:26 +0000 Subject: [PATCH] makepseudolinkstubs: Use ${NM}, not nm --- platform/makepseudolinkstubs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/makepseudolinkstubs.sh b/platform/makepseudolinkstubs.sh index e333b6c..d9d2ce6 100644 --- a/platform/makepseudolinkstubs.sh +++ b/platform/makepseudolinkstubs.sh @@ -29,7 +29,7 @@ printf 'int _stubnosys(void); int _stubnosys(void) {return -1;}\n' \ printf "__strong_alias(_start,_stubnosys);\n\n" >> ${OUTPUT} # symbols not convered by libc -nm -o -g --defined-only ${BASELIB} | awk ' +${NM} -o -g --defined-only ${BASELIB} | awk ' $(NF-1) == "T" { printf("__strong_alias(%s,_stubnosys);\n", $NF); next -- 2.39.5