qemu/disas
Peter Maydell bd517b4337 disas/microblaze: Remove unused REG_PC define
The REG_PC define in disas/microblaze.c clashes with a define in
the Linux SPARC system headers:

/home/pm215/qemu/disas/microblaze.c:162:0: error: "REG_PC" redefined [-Werror]
 #define REG_PC  32 /* PC */

In file included from /usr/include/signal.h:326:0,
                 from /home/pm215/qemu/include/qemu/osdep.h:86,
                 from /home/pm215/qemu/disas/microblaze.c:36:
/usr/include/sparc64-linux-gnu/sys/ucontext.h:96:0: note: this is the location of the previous definition
 #define REG_PC  (1)

Since the code doesn't actually use the REG_PC define
anywhere, the simplest fix is just to remove it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1490272961-1128-1-git-send-email-peter.maydell@linaro.org
2017-03-24 10:12:23 +00:00
..
libvixl libvixl: Avoid std::abs() of 64-bit type 2016-02-03 13:46:34 +00:00
Makefile.objs nios2: Add disas entries 2017-01-24 13:10:35 -08:00
alpha.c disas: Remove unused macro '_' 2016-07-18 18:13:54 +01:00
arm-a64.cc disas/arm-a64.cc: Include osdep.h first 2016-02-23 12:43:04 +00:00
arm.c disas/arm: Avoid unintended sign extension 2017-03-07 14:33:51 +00:00
cris.c disas/cris: Avoid unintended sign extension 2017-03-07 14:33:51 +00:00
hppa.c disas/hppa: Remove dead code 2017-03-07 14:33:51 +00:00
i386.c disas/i386: Avoid NULL pointer dereference in error case 2017-03-07 14:33:51 +00:00
ia64.c disas: Clean up includes 2016-02-04 17:41:30 +00:00
lm32.c lm32: Clean up includes 2016-01-29 15:07:22 +00:00
m68k.c disas/m68k: Avoid unintended sign extension in get_field() 2017-03-07 14:33:51 +00:00
microblaze.c disas/microblaze: Remove unused REG_PC define 2017-03-24 10:12:23 +00:00
mips.c disas: Remove unused macro '_' 2016-07-18 18:13:54 +01:00
moxie.c moxie: Clean up includes 2016-01-29 15:07:25 +00:00
nios2.c nios2: Add disas entries 2017-01-24 13:10:35 -08:00
ppc.c disas/ppc: Fix indefinite articles in comments 2017-01-31 10:10:12 +11:00
s390.c disas: Clean up includes 2016-02-04 17:41:30 +00:00
sh4.c Remove unused function declarations 2016-09-15 15:32:22 +03:00
sparc.c disas: Remove unused macro '_' 2016-07-18 18:13:54 +01:00
tci.c tci: do not include exec/exec-all.h 2016-05-20 15:07:46 +01:00