This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi!
Despite libc-help's yesterday's discussion on a similar topic, and in
spirit of what other architectures are using, I plan to commit the
following, assuming Kaz agrees that the sleep instruction is a suitable
choice.
--- /dev/null 2012-06-09 04:02:54.835282588 +0200
+++ sysdeps/sh/abort-instr.h 2012-06-13 20:48:20.882921562 +0200
@@ -0,0 +1,2 @@
+/* An instruction which should crash any program is `sleep'. */
+#define ABORT_INSTRUCTION asm ("sleep")
GrÃÃe,
Thomas
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |