From aa0707005c2f862892951840bb041f511f05ee7b Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 28 Jun 2017 18:28:02 +0200 Subject: [PATCH] tools: fix the PowerPC build On ppc archtecture the "nm_bt_vtable_network_server" symbol in the small objects section instead of .bss, represencted by a "S" letter. Also include "G" which is an equivalent thing for initialized data. We don't seem to have such objects at the moment, but when we do it could result in a nasty surprise. --- tools/create-exports-NetworkManager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh index 439aa909f9..b44e44bfa5 100755 --- a/tools/create-exports-NetworkManager.sh +++ b/tools/create-exports-NetworkManager.sh @@ -36,7 +36,7 @@ call_nm() { get_symbols_nm () { call_nm ./src/.libs/libNetworkManager.a | - sed -n 's/^[tTDRB] //p' | + sed -n 's/^[tTDGRBS] //p' | _sort }