Fix crash when processing merge section with entsize of 0.
authorCary Coutant <ccoutant@google.com>
Mon, 2 Mar 2015 18:20:21 +0000 (10:20 -0800)
committerCary Coutant <ccoutant@google.com>
Mon, 2 Mar 2015 18:20:21 +0000 (10:20 -0800)
commit2c7b626ceef8ee50d6ef6fb575cfe55b93ef7a0f
tree69aaa16769b829dc75667bf1b1126b0cb4695ecd
parent5b07cd848db1dbe9e3498e94bea5e69c8e438153
Fix crash when processing merge section with entsize of 0.

2015-02-04  Peter Collingbourne  <pcc@google.com>
            Cary Coutant  <ccoutant@google.com>

gold/
* output.cc (Output_section::add_merge_input_section): Do not
attempt to merge sections with an entsize of 0.
gold/ChangeLog
gold/output.cc