]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld: fix bashism in scripttempl/elf.sc
authorSam James <sam@gentoo.org>
Thu, 23 Jan 2025 00:03:07 +0000 (00:03 +0000)
committerSam James <sam@gentoo.org>
Thu, 23 Jan 2025 00:06:39 +0000 (00:06 +0000)
ld/
PR ld/32580

* scripttempl/elf.sc: Fix '==' bashism.

(cherry picked from commit 6999916e6c7fe6ba3a7661d852757f59223416a3)

ld/scripttempl/elf.sc

index deb69dde54330a54818b3818abda723d70b556b2..be8d19fcf1112bc42741d102c3f292dd0cc4512a 100644 (file)
@@ -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