From 98660a48161adcede916c52fbef6cae6d5ccb0f0 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 14 Apr 2026 11:43:29 +0900 Subject: build:cross: Remove section name to dump. * src/gen-lock-obj.sh: Don't specify section name. -- It may be .bss.mtx depending to a toolchain. Signed-off-by: NIIBE Yutaka --- src/gen-lock-obj.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh index 6e78c5f..a8d9352 100755 --- a/src/gen-lock-obj.sh +++ b/src/gen-lock-obj.sh @@ -73,7 +73,7 @@ pthread_mutex_t mtx = PTHREAD_MUTEX_INITIALIZER; EOF if $CC -c conftest.$ac_ext; then : - ac_mtx_size=$($OBJDUMP -j .bss -t conftest.$ac_objext \ + ac_mtx_size=$($OBJDUMP -t conftest.$ac_objext \ | $AWK $AWK_OPTION ' /mtx$/ { mtx_size = int("0x" $5) } END { print mtx_size }') -- cgit