* object.cc (Sized_relobj_file::do_layout): Remove assertion which
triggered if object has no symbols.
This commit is contained in:
parent
caa900384a
commit
1b045aac31
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-09-12 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* object.cc (Sized_relobj_file::do_layout): Remove assertion which
|
||||
triggered if object has no symbols.
|
||||
|
||||
2011-09-09 David S. Miller <davem@davemloft.net>
|
||||
|
||||
* output.cc (Output_fill_debug_info::do_write): Use Swap_unaligned.
|
||||
|
|
|
@ -1582,8 +1582,6 @@ Sized_relobj_file<size, big_endian>::do_layout(Symbol_table* symtab,
|
|||
p != eh_frame_sections.end();
|
||||
++p)
|
||||
{
|
||||
gold_assert(external_symbols_offset != 0);
|
||||
|
||||
unsigned int i = *p;
|
||||
const unsigned char* pshdr;
|
||||
pshdr = section_headers_data + i * This::shdr_size;
|
||||
|
|
Loading…
Add table
Reference in a new issue