summaryrefslogtreecommitdiff
path: root/sys/src/libmach
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-07-13 01:24:55 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-07-13 01:24:55 +0200
commite53511ef4c7d4db443543506e74e4de537da5475 (patch)
tree08de1b3da6c4fd4a5a025f31f36fb4ee2c0f84ef /sys/src/libmach
parentcc001c31a7c2ac9f01c334adb2ff78da59c91436 (diff)
libmach: fix break point instruction for little endian MIPS (from sources)
fix break point instruction for little endian MIPS in libmach. (patch /n/sources/patch/libmach-mipsle-bpinst)
Diffstat (limited to 'sys/src/libmach')
-rw-r--r--sys/src/libmach/vdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/libmach/vdb.c b/sys/src/libmach/vdb.c
index de67905ff..6001813c1 100644
--- a/sys/src/libmach/vdb.c
+++ b/sys/src/libmach/vdb.c
@@ -37,7 +37,7 @@ Machdata mipsmach =
Machdata mipsmachle =
{
- {0, 0, 0, 0xD}, /* break point */
+ {0xD, 0, 0, 0}, /* break point */
4, /* break point size */
leswab, /* short to local byte order */
@@ -60,7 +60,7 @@ Machdata mipsmachle =
*/
Machdata mipsmach2le =
{
- {0, 0, 0, 0xD}, /* break point */
+ {0xD, 0, 0, 0}, /* break point */
4, /* break point size */
leswab, /* short to local byte order */