arc: Remove duplicated constant in include/elf/arc.h
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 15 Mar 2016 19:09:23 +0000 (19:09 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 21 Mar 2016 16:44:49 +0000 (16:44 +0000)
commitc0334580516d147fb0257a2df47ac7b1072f6e82
tree7a13d9b935e36d1be783926d5de04e6312a683e8
parent24740d83e4beab0cd8d93944922c62e8a8809391
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.
bfd/ChangeLog
bfd/elf32-arc.c
include/ChangeLog
include/elf/arc.h