projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove alloca(0) calls
[deliverable/binutils-gdb.git]
/
gold
/
compressed_output.cc
diff --git
a/gold/compressed_output.cc
b/gold/compressed_output.cc
index 4374ba1bb74182e4e467d03c219d52e84395ee75..a8db3b6f04b5d3dfac6f07fde29167d203fde49e 100644
(file)
--- a/
gold/compressed_output.cc
+++ b/
gold/compressed_output.cc
@@
-1,6
+1,6
@@
// compressed_output.cc -- manage compressed debug sections for gold
// compressed_output.cc -- manage compressed debug sections for gold
-// Copyright (C) 2007-201
7
Free Software Foundation, Inc.
+// Copyright (C) 2007-201
9
Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@
-286,6
+286,8
@@
Output_compressed_section::set_final_data_size()
chdr.put_ch_type(elfcpp::ELFCOMPRESS_ZLIB);
chdr.put_ch_size(uncompressed_size);
chdr.put_ch_addralign(addralign);
chdr.put_ch_type(elfcpp::ELFCOMPRESS_ZLIB);
chdr.put_ch_size(uncompressed_size);
chdr.put_ch_addralign(addralign);
+ // Clear the reserved field.
+ chdr.put_ch_reserved(0);
}
else
{
}
else
{
@@
-293,6
+295,8
@@
Output_compressed_section::set_final_data_size()
chdr.put_ch_type(elfcpp::ELFCOMPRESS_ZLIB);
chdr.put_ch_size(uncompressed_size);
chdr.put_ch_addralign(addralign);
chdr.put_ch_type(elfcpp::ELFCOMPRESS_ZLIB);
chdr.put_ch_size(uncompressed_size);
chdr.put_ch_addralign(addralign);
+ // Clear the reserved field.
+ chdr.put_ch_reserved(0);
}
}
else
}
}
else
This page took
0.023963 seconds
and
4
git commands to generate.