* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning.
This commit is contained in:
parent
26b810ce0e
commit
1808e34136
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-02-17 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Fix warning.
|
||||
|
||||
2005-02-16 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* coff-arm.c (coff_arm_is_local_label_name): Warning fix.
|
||||
|
|
|
@ -482,6 +482,7 @@ _bfd_elf_discard_section_eh_frame
|
|||
on whether to output or discard last encountered CIE (if any). */
|
||||
if ((bfd_size_type) (buf - ehbuf) == sec->size)
|
||||
{
|
||||
hdr.length = 0;
|
||||
hdr.id = (unsigned int) -1;
|
||||
end = buf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue