[PATCH] Remove superfluous check in bfd/elfxx-mips.c

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Tue Aug 6 21:36:00 GMT 2002


Hi All,

I committed this patch as obvious.


Thiemo


2002-08-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

	/bfd/ChangeLog
	* elfxx-mips.c (ABI_64_P): Remove superfluous check.


diff -BurpNX /bigdisk/src/gcc-exclude source-orig/bfd/elfxx-mips.c source/bfd/elfxx-mips.c
--- source-orig/bfd/elfxx-mips.c	Fri Aug  2 01:48:38 2002
+++ source/bfd/elfxx-mips.c	Mon Aug  5 08:39:34 2002
@@ -375,7 +374,7 @@ static bfd *reldyn_sorting_bfd;
 
 /* Nonzero if ABFD is using the N64 ABI.  */
 #define ABI_64_P(abfd) \
-  ((get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64) != 0)
+  (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64)
 
 /* Nonzero if ABFD is using NewABI conventions.  */
 #define NEWABI_P(abfd) (ABI_N32_P (abfd) || ABI_64_P (abfd))



More information about the Binutils mailing list