aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-03-17 12:27:05 +0000
committerNathan Sidwell <nathan@codesourcery.com>2004-03-17 12:27:05 +0000
commitd13d89fafafda1464982126425040e68730f152f (patch)
treecefa5a441be01a866213d356a3eabd409b47b53f /bfd/elfxx-mips.c
parented47347a6de0c1956ddc788a1b40413b0fa394dc (diff)
downloadgdb-d13d89fafafda1464982126425040e68730f152f.zip
gdb-d13d89fafafda1464982126425040e68730f152f.tar.gz
gdb-d13d89fafafda1464982126425040e68730f152f.tar.bz2
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
logic for null_input_bfd detection.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 17d5b02..ff943d6 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -9028,10 +9028,10 @@ _bfd_mips_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
which are automatically generated by gas. */
if (strcmp (sec->name, ".reginfo")
&& strcmp (sec->name, ".mdebug")
- && ((!strcmp (sec->name, ".text")
- || !strcmp (sec->name, ".data")
- || !strcmp (sec->name, ".bss"))
- && sec->_raw_size != 0))
+ && (sec->_raw_size != 0
+ || (strcmp (sec->name, ".text")
+ && strcmp (sec->name, ".data")
+ && strcmp (sec->name, ".bss"))))
{
null_input_bfd = FALSE;
break;