[PATCH] Add PPC abort-instr.h
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Sun Sep 15 10:54:00 GMT 2002
Hi,
the recent exit changes uncovered a small omission on PPC, fixed by the
attached patch. glibc-cvs on PPC still doesn't compile with it, but I haven't
checked further yet.
Franz.
* sysdeps/powerpc/abort-instr.h: New file.
-------------- next part --------------
--- /dev/null Thu Oct 4 06:30:44 2001
+++ sysdeps/powerpc/abort-instr.h Sun Sep 15 08:27:31 2002
@@ -0,0 +1,2 @@
+/* An op-code of 0 is guaranteed to be illegal. */
+#define ABORT_INSTRUCTION asm (".long 0")
More information about the Libc-alpha
mailing list