aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-22 07:44:05 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-22 07:44:05 -0700
commit9b4c123c959085bb11a1e8126242a79d9de18995 (patch)
tree8f96d2b1cbd295c640af07ea62b4e3d4eff12a04 /ld
parentc287bfe4297ec9c12db292fae5562be1758cf14f (diff)
downloadgdb-9b4c123c959085bb11a1e8126242a79d9de18995.zip
gdb-9b4c123c959085bb11a1e8126242a79d9de18995.tar.gz
gdb-9b4c123c959085bb11a1e8126242a79d9de18995.tar.bz2
Properly check --enable-compressed-debug-sections={yes,all}
gas/ * configure.ac: Properly check --enable-compressed-debug-sections={yes,all}. * configure: Regenerated. ld/ * configure.ac: Properly check --enable-compressed-debug-sections={yes,all}. * configure: Regenerated.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rwxr-xr-xld/configure2
-rw-r--r--ld/configure.ac2
3 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 089075e..2cb506a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,11 @@
2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
+ * configure.ac: Properly check
+ --enable-compressed-debug-sections={yes,all}.
+ * configure: Regenerated.
+
+2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
+
PR gas/19109
* configure.ac: Handle --enable-compressed-debug-sections=*,ld,*.
* configure: Regenerated.
diff --git a/ld/configure b/ld/configure
index ce51f5f..b41efe8 100755
--- a/ld/configure
+++ b/ld/configure
@@ -15531,7 +15531,7 @@ ac_default_compressed_debug_sections=unset
# Check whether --enable-compressed_debug_sections was given.
if test "${enable_compressed_debug_sections+set}" = set; then :
enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
- *,yes,* | *,all,* | *,ld,*) ac_default_compressed_debug_sections=yes ;;
+ ,yes, | ,all, | *,ld,*) ac_default_compressed_debug_sections=yes ;;
,no, | ,none,) ac_default_compressed_debug_sections=no ;;
esac
fi
diff --git a/ld/configure.ac b/ld/configure.ac
index 84d1b03..188172d 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
@@ -151,7 +151,7 @@ AC_ARG_ENABLE(compressed_debug_sections,
AS_HELP_STRING([--enable-compressed-debug-sections={all,ld,none}],
[compress debug sections by default])],
[case ,"${enableval}", in
- *,yes,* | *,all,* | *,ld,*) ac_default_compressed_debug_sections=yes ;;
+ ,yes, | ,all, | *,ld,*) ac_default_compressed_debug_sections=yes ;;
,no, | ,none,) ac_default_compressed_debug_sections=no ;;
esac])dnl