Skip to content

Commit

Permalink
unicore: Remove ELF_MACHINE from cpu.h
Browse files Browse the repository at this point in the history
The only generic code relying on this is linux-user, but linux users'
default behaviour of defaulting ELF_MACHINE to ELF_ARCH will handle
this.

This removes another architecture specific definition from the global
namespace.

Cc: Guan Xuetao <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Acked-By: Riku Voipio <[email protected]>
Signed-off-by: Peter Crosthwaite <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
pcrost authored and bonzini committed Sep 25, 2015
1 parent b744d33 commit 663c40a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions target-unicore32/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#define TARGET_PHYS_ADDR_SPACE_BITS 32
#define TARGET_VIRT_ADDR_SPACE_BITS 32

#define ELF_MACHINE EM_UNICORE32

#define CPUArchState struct CPUUniCore32State

#include "config.h"
Expand Down

0 comments on commit 663c40a

Please sign in to comment.