From c0334580516d147fb0257a2df47ac7b1072f6e82 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 15 Mar 2016 19:09:23 +0000 Subject: arc: Remove duplicated constant in include/elf/arc.h In the include/elf/arc.h there are two constants that mask out the machine architecture field. One is used lots (EF_ARC_MACH_MSK), the other is used only once (EF_ARC_MACH). Remove EF_ARC_MACH. bfd/ChangeLog: * elf32-arc.c (arc_elf_final_write_processing): Switch to using EF_ARC_MACH_MSK. include/ChangeLog: * elf/arc.h (EF_ARC_MACH): Delete. (EF_ARC_MACH_MSK): Remove out of date comment. --- include/elf/arc.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/elf/arc.h') diff --git a/include/elf/arc.h b/include/elf/arc.h index e535f24..0b75465 100644 --- a/include/elf/arc.h +++ b/include/elf/arc.h @@ -39,15 +39,10 @@ END_RELOC_NUMBERS (R_ARC_max) /* Processor specific flags for the ELF header e_flags field. */ -/* Four bit ARC machine type field. */ #define EF_ARC_MACH_MSK 0x000000ff #define EF_ARC_OSABI_MSK 0x00000f00 #define EF_ARC_ALL_MSK (EF_ARC_MACH_MSK | EF_ARC_OSABI_MSK) -/* Four bit ARC machine type field. */ - -#define EF_ARC_MACH 0x0000000f - /* Various CPU types. */ #define E_ARC_MACH_ARC600 0x00000002 #define E_ARC_MACH_ARC601 0x00000004 -- cgit v1.1