mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-03 01:30:50 +00:00
Add workaround for bash 4.2 scripting problem.
* emulparams/elf32bmipn32-defs.sh: Shift quote of "x$EMULATION_NAME" to the left to work around <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
This commit is contained in:
parent
c620c3e48d
commit
249471c08a
@ -1,3 +1,9 @@
|
||||
2016-10-06 Ludovic Courtès <ludo@gnu.org>
|
||||
|
||||
* emulparams/elf32bmipn32-defs.sh: Shift quote of
|
||||
"x$EMULATION_NAME" to the left to work around
|
||||
<http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
|
||||
|
||||
2016-10-06 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* lexsup.c: Spell fall through comments consistently and add
|
||||
|
@ -13,7 +13,8 @@ LITTLE_OUTPUT_FORMAT="elf32-littlemips"
|
||||
TEMPLATE_NAME=elf32
|
||||
EXTRA_EM_FILE=mipself
|
||||
|
||||
case x"$EMULATION_NAME" in
|
||||
# Note: use "x$var" not x"$var" in case directive in order to work around bug in bash 4.2
|
||||
case "x$EMULATION_NAME" in
|
||||
xelf32*n32*) ELFSIZE=32 ;;
|
||||
xelf64*) ELFSIZE=64 ;;
|
||||
x) ;;
|
||||
|
Loading…
Reference in New Issue
Block a user