mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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 <carlos@redhat.com> * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition. * sysdeps/s390/s390-64/sysdep.h: Likewise.
This commit is contained in:
parent
ee091edf1a
commit
24116fcdbe
Notes:
Carlos O'Donell
2013-04-06 12:09:02 -04:00
Added ChangeLog with this commit:
b7a329a561
@ -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; \
|
||||
|
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user