[PATCH] ppc64 get/make/set/swapcontext finally

Steven Munroe sjmunroe@us.ibm.com
Mon Feb 3 19:44:00 GMT 2003


It seems that for previous patch to work one must explicitely include
kernel-features.h

2003-02-03  Steven Munroe  <sjmunroe@us.ibm.com>

        * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
        Include kernel-features.h.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S:
        Include kernel-features.h.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
        Include kernel-features.h.
        * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
        Include kernel-features.h..


-- 
Steven Munroe
sjmunroe@us.ibm.com
Linux on PowerPC-64 Development
GLIBC for PowerPC-64 Development
-------------- next part --------------
diff -rupP  libc23-cvstip-20030203/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
--- libc23-cvstip-20030203/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S	Sat Feb  1 14:24:55 2003
+++ libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S	Mon Feb  3 10:17:10 2003
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
+#include "kernel-features.h"
 
 #define __ASSEMBLY__
 #include <asm/ptrace.h>
diff -rupP  libc23-cvstip-20030203/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
--- libc23-cvstip-20030203/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S	Sat Feb  1 14:24:55 2003
+++ libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S	Mon Feb  3 10:17:02 2003
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
+#include "kernel-features.h"
 
 #define __ASSEMBLY__
 #include <asm/ptrace.h>
diff -rupP  libc23-cvstip-20030203/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
--- libc23-cvstip-20030203/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S	Sat Feb  1 14:24:55 2003
+++ libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S	Mon Feb  3 10:16:52 2003
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
+#include "kernel-features.h"
 
 #define __ASSEMBLY__
 #include <asm/ptrace.h>
diff -rupP  libc23-cvstip-20030203/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
--- libc23-cvstip-20030203/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S	Sat Feb  1 14:24:55 2003
+++ libc23/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S	Mon Feb  3 10:16:35 2003
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include <sysdep.h>
+#include "kernel-features.h"
 
 #define __ASSEMBLY__
 #include <asm/ptrace.h>


More information about the Libc-alpha mailing list