* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
logic for null_input_bfd detection.
This commit is contained in:
parent
ed47347a6d
commit
d13d89fafa
|
@ -1,3 +1,8 @@
|
||||||
|
2004-03-17 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
|
||||||
|
logic for null_input_bfd detection.
|
||||||
|
|
||||||
2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* config.bfd: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
|
* config.bfd: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
|
||||||
|
|
|
@ -9028,10 +9028,10 @@ _bfd_mips_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
|
||||||
which are automatically generated by gas. */
|
which are automatically generated by gas. */
|
||||||
if (strcmp (sec->name, ".reginfo")
|
if (strcmp (sec->name, ".reginfo")
|
||||||
&& strcmp (sec->name, ".mdebug")
|
&& strcmp (sec->name, ".mdebug")
|
||||||
&& ((!strcmp (sec->name, ".text")
|
&& (sec->_raw_size != 0
|
||||||
|| !strcmp (sec->name, ".data")
|
|| (strcmp (sec->name, ".text")
|
||||||
|| !strcmp (sec->name, ".bss"))
|
&& strcmp (sec->name, ".data")
|
||||||
&& sec->_raw_size != 0))
|
&& strcmp (sec->name, ".bss"))))
|
||||||
{
|
{
|
||||||
null_input_bfd = FALSE;
|
null_input_bfd = FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue