From 24116fcdbe55d58aa35fc77444ae71a9dec9fff6 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Sat, 6 Apr 2013 10:53:54 -0400 Subject: s390/s390x: Undef PSEUDO before redef. The s390 and s390x sysdep.h files include the more generic sysdep.h. The more generic sysdep.h defines PSEUDO. This causes an annoying CPP warning saying the PSEUDO was redefined. This patch removes the warning by undefining PSEUDO before the redefinition. This is in line with what all the other machines do. --- 2013-04-06 Carlos O'Donell * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition. * sysdeps/s390/s390-64/sysdep.h: Likewise. --- sysdeps/s390/s390-32/sysdep.h | 1 + sysdeps/s390/s390-64/sysdep.h | 1 + 2 files changed, 2 insertions(+) diff --git a/sysdeps/s390/s390-32/sysdep.h b/sysdeps/s390/s390-32/sysdep.h index d6296c13bd..aa438bd9d3 100644 --- a/sysdeps/s390/s390-32/sysdep.h +++ b/sysdeps/s390/s390-32/sysdep.h @@ -65,6 +65,7 @@ #define syscall_error __syscall_error #define mcount _mcount +#undef PSEUDO #define PSEUDO(name, syscall_name, args) \ lose: SYSCALL_PIC_SETUP \ basr %r1,0; \ diff --git a/sysdeps/s390/s390-64/sysdep.h b/sysdeps/s390/s390-64/sysdep.h index 46ad85ab1a..57827f39e2 100644 --- a/sysdeps/s390/s390-64/sysdep.h +++ b/sysdeps/s390/s390-64/sysdep.h @@ -63,6 +63,7 @@ #define syscall_error __syscall_error #define mcount _mcount +#undef PSEUDO #define PSEUDO(name, syscall_name, args) \ lose: SYSCALL_PIC_SETUP \ jg JUMPTARGET(syscall_error); \ -- cgit v1.2.3