diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1995-02-10 04:34:36 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1995-02-10 04:34:36 +0000 |
commit | ac5357fa5d64a1a17204b9b63975cb0c6c8dd033 (patch) | |
tree | 9d7e7ede4695cde800f894269f231033ecf7d8b9 /bfd/elf32-arc.c | |
parent | c81a2ce3bf77ae501421ae188e5d738ad048c48b (diff) | |
download | gdb-ac5357fa5d64a1a17204b9b63975cb0c6c8dd033.zip gdb-ac5357fa5d64a1a17204b9b63975cb0c6c8dd033.tar.gz gdb-ac5357fa5d64a1a17204b9b63975cb0c6c8dd033.tar.bz2 |
E_ARC_CPU_XXX renamed to E_ARC_MACH_XXX for consistency with rest of BFD.
Diffstat (limited to 'bfd/elf32-arc.c')
-rw-r--r-- | bfd/elf32-arc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c index c4ed5c6..755b325 100644 --- a/bfd/elf32-arc.c +++ b/bfd/elf32-arc.c @@ -166,20 +166,20 @@ arc_elf_object_p (abfd) bfd *abfd; { int mach; - unsigned long arch = elf_elfheader (abfd)->e_flags & EF_ARC_CPU; + unsigned long arch = elf_elfheader (abfd)->e_flags & EF_ARC_MACH; switch (arch) { - case E_ARC_CPU_BASE: + case E_ARC_MACH_BASE: mach = bfd_mach_arc_base; break; - case E_ARC_CPU_HOST: + case E_ARC_MACH_HOST: mach = bfd_mach_arc_host; break; - case E_ARC_CPU_GRAPHICS: + case E_ARC_MACH_GRAPHICS: mach = bfd_mach_arc_graphics; break; - case E_ARC_CPU_AUDIO: + case E_ARC_MACH_AUDIO: mach = bfd_mach_arc_audio; break; default: @@ -205,22 +205,22 @@ arc_elf_final_write_processing (abfd, linker) switch (mach = bfd_get_mach (abfd)) { case bfd_mach_arc_base: - val = E_ARC_CPU_BASE; + val = E_ARC_MACH_BASE; break; case bfd_mach_arc_host: - val = E_ARC_CPU_HOST; + val = E_ARC_MACH_HOST; break; case bfd_mach_arc_graphics: - val = E_ARC_CPU_GRAPHICS; + val = E_ARC_MACH_GRAPHICS; break; case bfd_mach_arc_audio: - val = E_ARC_CPU_AUDIO; + val = E_ARC_MACH_AUDIO; break; default: return; } - elf_elfheader (abfd)->e_flags &=~ EF_ARC_CPU; + elf_elfheader (abfd)->e_flags &=~ EF_ARC_MACH; elf_elfheader (abfd)->e_flags |= val; } |