This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Remove superfluous check in bfd/elfxx-mips.c
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Wed, 7 Aug 2002 06:36:44 +0200
- Subject: [PATCH] Remove superfluous check in bfd/elfxx-mips.c
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))