[binutils-gdb/binutils-2_44-branch] ld: fix bashism in scripttempl/elf.sc
Sam James
sjames@sourceware.org
Thu Jan 23 00:06:46 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3f1585d9c8e809cbdfc725583f361d51f2d50744
commit 3f1585d9c8e809cbdfc725583f361d51f2d50744
Author: Sam James <sam@gentoo.org>
Date: Thu Jan 23 00:03:07 2025 +0000
ld: fix bashism in scripttempl/elf.sc
ld/
PR ld/32580
* scripttempl/elf.sc: Fix '==' bashism.
(cherry picked from commit 6999916e6c7fe6ba3a7661d852757f59223416a3)
Diff:
---
ld/scripttempl/elf.sc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index deb69dde543..be8d19fcf11 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -912,7 +912,7 @@ emit_large_bss()
return
fi
- if test "$1" == "0"; then
+ if test "$1" = "0"; then
if test -n "${LARGE_BSS_AFTER_BSS}"; then
return
fi
More information about the Binutils-cvs
mailing list