Add support for .extCondCode, .extCoreRegister and .extAuxRegister.
[deliverable/binutils-gdb.git] / ld / genscrba.sh
index 621de7ab47a4261543966dc1f77f70da33def304..030cb7d42ecc1aae851843a27e9aa44e8f5cfc00 100644 (file)
@@ -8,7 +8,9 @@ source_em()
 }
 fragment()
 {
-  local lineno=$[${BASH_LINENO[0]} + 1]
-  echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\""
+  if [ ${BASH_VERSINFO[3]} -ge 3 ]; then
+    local lineno=$[${BASH_LINENO[0]} + 1]
+    echo >> e${EMULATION_NAME}.c "#line $lineno \"$em_script\""
+  fi
   cat >> e${EMULATION_NAME}.c
 }
This page took 0.024452 seconds and 4 git commands to generate.