repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix.git]
/
minix
/
tests
/
arch
/
earm
/
test_arm_segfault.S
blob
db13dc54455d27ac2bfbdd7d82fa0978c194cc38
1
.text
2
.global main
3
main:
4
push {lr}
5
ldr r0, =0xDEADBEE0 /* Hopefully this is not mapped... */
6
ldr r1, [r0]
7
ldr r0, =0x01010100 /* In case we survived, try something else */
8
ldr r1, [r0]
9
10
ldr r0, =msg
11
bl puts
12
13
mov r0, #0 /* test should check for non-zero exit code / signal */
14
pop {pc}
15
msg:
16
.ascii "ERROR - caused no segfault\n"