* symbols.c: Add missing prototypes.
[deliverable/binutils-gdb.git] / bfd / elf32-mips.c
index 44c2a4c9da5c5f2fa846ba72d86c9ca22ecb4fe9..baeb01fc12216da9758ea45832631b098cd42d5b 100644 (file)
@@ -2317,12 +2317,12 @@ mips_elf_sym_is_global (abfd, sym)
      bfd *abfd ATTRIBUTE_UNUSED;
      asymbol *sym;
 {
-  if (SGI_COMPAT(abfd))
-    return (sym->flags & BSF_SECTION_SYM) == 0 ? true : false;
+  if (SGI_COMPAT (abfd))
+    return (sym->flags & BSF_SECTION_SYM) == 0;
   else
     return ((sym->flags & (BSF_GLOBAL | BSF_WEAK)) != 0
-            || bfd_is_und_section (bfd_get_section (sym))
-            || bfd_is_com_section (bfd_get_section (sym)));
+           || bfd_is_und_section (bfd_get_section (sym))
+           || bfd_is_com_section (bfd_get_section (sym)));
 }
 \f
 /* Set the right machine number for a MIPS ELF file.  This is used for
@@ -2375,6 +2375,8 @@ _bfd_mips_elf_final_write_processing (abfd, linker)
 
     case bfd_mach_mips4000:
     case bfd_mach_mips4300:
+    case bfd_mach_mips4400:
+    case bfd_mach_mips4600:
       val = E_MIPS_ARCH_3;
       break;
 
@@ -2394,6 +2396,7 @@ _bfd_mips_elf_final_write_processing (abfd, linker)
       val = E_MIPS_ARCH_3 | E_MIPS_MACH_4650;
       break;
 
+    case bfd_mach_mips5000:
     case bfd_mach_mips8000:
     case bfd_mach_mips10000:
     case bfd_mach_mips12000:
@@ -9163,11 +9166,8 @@ _bfd_elf32_mips_grok_prstatus (abfd, note)
     }
 
   /* Make a ".reg/999" section.  */
-  if (! _bfd_elfcore_make_pseudosection (abfd, ".reg",
-                                        raw_size, note->descpos + offset))
-    return false;
-
-  return true;
+  return _bfd_elfcore_make_pseudosection (abfd, ".reg",
+                                         raw_size, note->descpos + offset);
 }
 
 static boolean _bfd_elf32_mips_grok_psinfo (abfd, note)
This page took 0.024347 seconds and 4 git commands to generate.