aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-18 09:20:38 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-18 09:39:02 -0700
commitd94077e27d279c4ff0ee26bad786f89c350e2aea (patch)
treed1754937f779a1878b78f8fc418f08a5f57f82dc /gas/write.c
parent27aaeda0cdf9f69625b96e3abdb25c8fdbbb3435 (diff)
downloadgdb-d94077e27d279c4ff0ee26bad786f89c350e2aea.zip
gdb-d94077e27d279c4ff0ee26bad786f89c350e2aea.tar.gz
gdb-d94077e27d279c4ff0ee26bad786f89c350e2aea.tar.bz2
Add a testcase for PR gas/18087
PR gas/18087 * gas/i386/dw2-compress-1.d: Revert the last change. * gas/i386/dw2-compress-3.d: New. * gas/i386/dw2-compress-3.s: Likewise. * gas/i386/i386.exp: Run dw2-compress-3 for ELF targets.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/write.c b/gas/write.c
index e3570ac..397ea48 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -1530,7 +1530,7 @@ compress_debug (bfd *abfd, asection *sec, void *xxx ATTRIBUTE_UNUSED)
the section smaller, just keep it uncompressed. */
if (compressed_size > sec->size)
return;
-
+
/* Replace the uncompressed frag list with the compressed frag list. */
seginfo->frchainP->frch_root = first_newf;
seginfo->frchainP->frch_last = last_newf;