]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
s390/s390x: Undef PSEUDO before redef.
authorCarlos O'Donell <carlos@redhat.com>
Sat, 6 Apr 2013 14:53:54 +0000 (10:53 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Sat, 6 Apr 2013 14:53:54 +0000 (10:53 -0400)
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.

sysdeps/s390/s390-32/sysdep.h
sysdeps/s390/s390-64/sysdep.h

index d6296c13bd2bb3fb8d12a039b040565621cdd23d..aa438bd9d3bc8a3d56b8a3cf8e4a6406525b6cde 100644 (file)
@@ -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;                                        \
index 46ad85ab1a1268843959c22981748529b6ed64df..57827f39e2dfcd1e6269c1eb042dff621171879b 100644 (file)
@@ -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);                \