aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorAndrew Paprocki <andrew@ishiboo.com>2019-01-09 13:51:08 +1030
committerAlan Modra <amodra@gmail.com>2019-01-09 13:51:08 +1030
commit3107326d3df950b0578a895bb835b2a8dfa8fab7 (patch)
tree9d6bbfcceea0af8f4044a755beea1cc0ac4a4d6d /gprof
parent923c6a756476f3a1f92d6625aacbbf5253b7739b (diff)
downloadbinutils-3107326d3df950b0578a895bb835b2a8dfa8fab7.zip
binutils-3107326d3df950b0578a895bb835b2a8dfa8fab7.tar.gz
binutils-3107326d3df950b0578a895bb835b2a8dfa8fab7.tar.bz2
Adjust bfd/warning.m4 egrep patterns
Adjust the `bfd/warning.m4` `egrep` patterns to handle preprocessors that do not define `__GNUC__`, leaving the string in the output. bfd/ * warning.m4: Adjust egrep pattern for non-GNU compilers. * configure: Regenerate. binutils/ * configure: Regenerate. gas/ * configure: Regenerate. gold/ * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate. opcodes/ * configure: Regenerate.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog4
-rwxr-xr-xgprof/configure10
2 files changed, 9 insertions, 5 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 3fc4606..d3138f6 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
+
+ * configure: Regenerate.
+
2019-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.
diff --git a/gprof/configure b/gprof/configure
index 447cea7..f84efab 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -12405,7 +12405,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
__GNUC__
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "^[0-3]$" >/dev/null 2>&1; then :
+ $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
else
GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
@@ -12419,7 +12419,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
__GNUC__
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "^[0-4]$" >/dev/null 2>&1; then :
+ $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
else
GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
@@ -12434,7 +12434,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
__GNUC__
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "^[0-3]$" >/dev/null 2>&1; then :
+ $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
else
WARN_WRITE_STRINGS="-Wwrite-strings"
@@ -12450,7 +12450,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
__GNUC__
_ACEOF
if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
- $EGREP "^[0-3]$" >/dev/null 2>&1; then :
+ $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
else
GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
@@ -12464,7 +12464,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
__GNUC__
_ACEOF
if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
- $EGREP "^[0-4]$" >/dev/null 2>&1; then :
+ $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
else
GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"