Index: sim/common/gennltvals.sh |
diff --git a/sim/common/gennltvals.sh b/sim/common/gennltvals.sh |
index bbab1451cfd5ee090fe617d422056b3e718d53ba..9036cf3ceebc3c48c5a0c0929745ac01fbdb84c8 100644 |
--- a/sim/common/gennltvals.sh |
+++ b/sim/common/gennltvals.sh |
@@ -14,13 +14,13 @@ echo '/* Newlib/libgloss macro values needed by remote target support. */' |
echo '/* This file is machine generated by gennltvals.sh. */' |
$shell ${srccom}/gentvals.sh "" errno ${srcroot}/newlib/libc/include \ |
- "errno.h sys/errno.h" 'E[A-Z0-9]*' "${cpp}" |
+ "errno.h sys/errno.h" 'E[[:upper:][:digit:]]*' "${cpp}" |
$shell ${srccom}/gentvals.sh "" signal ${srcroot}/newlib/libc/include \ |
- "signal.h sys/signal.h" 'SIG[A-Z0-9]*' "${cpp}" |
+ "signal.h sys/signal.h" 'SIG[[:upper:][:digit:]]*' "${cpp}" |
$shell ${srccom}/gentvals.sh "" open ${srcroot}/newlib/libc/include \ |
- "fcntl.h sys/fcntl.h sys/_default_fcntl.h" 'O_[A-Z0-9]*' "${cpp}" |
+ "fcntl.h sys/fcntl.h sys/_default_fcntl.h" 'O_[[:upper:][:digit:]]*' "${cpp}" |
# Unfortunately, each newlib/libgloss port has seen fit to define their own |
# syscall.h file. This means that system call numbers can vary for each port. |
@@ -31,52 +31,52 @@ $shell ${srccom}/gentvals.sh "" open ${srcroot}/newlib/libc/include \ |
dir=libgloss target=bfin |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=newlib/libc/sys/d10v/sys target=d10v |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
# OBSOLETE dir=libgloss target=d30v |
# OBSOLETE $shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
-# OBSOLETE "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+# OBSOLETE "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss target=cr16 |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss target=fr30 |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss target=frv |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss/i960 target=i960 |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss target=m32r |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss target=mn10200 |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss target=mn10300 |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss target=sparc |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss/v850/sys target=v850 |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |
dir=libgloss target=lm32 |
$shell ${srccom}/gentvals.sh $target sys ${srcroot}/$dir \ |
- "syscall.h" 'SYS_[_A-Za-z0-9]*' "${cpp}" |
+ "syscall.h" 'SYS_[_[:alnum:]]*' "${cpp}" |