thanks to ultimo and others I think I have the pi2 switching back to svc and secure mode now.
and other cleanup
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,11 +0,0 @@
|
||||
:1080000002D9A0E3050000EBFEFFFFEA001080E5C7
|
||||
:108010001EFF2FE1000090E51EFF2FE11EFF2FE164
|
||||
:1080200010482DE954409FE504B08DE20400A0E122
|
||||
:10803000F7FFFFEB0707C0E3011780E30400A0E1AF
|
||||
:10804000F1FFFFEB38009FE50118A0E3EEFFFFEB27
|
||||
:1080500030009FE5EEFFFFEB010510E3FBFFFF0A99
|
||||
:1080600024009FE50118A0E3E7FFFFEB14009FE564
|
||||
:10807000E7FFFFEB010510E3FBFFFF1AF0FFFFEA4C
|
||||
:10808000040020201C002020043000202800202094
|
||||
:040000030000800079
|
||||
:00000001FF
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,86 +0,0 @@
|
||||
|
||||
blinker02.clang.opt.elf: file format elf32-littlearm
|
||||
|
||||
|
||||
Disassembly of section .text:
|
||||
|
||||
00008000 <_start>:
|
||||
8000: e3a0d902 mov sp, #32768 ; 0x8000
|
||||
8004: eb000005 bl 8020 <notmain>
|
||||
|
||||
00008008 <hang>:
|
||||
8008: eafffffe b 8008 <hang>
|
||||
|
||||
0000800c <PUT32>:
|
||||
800c: e5801000 str r1, [r0]
|
||||
8010: e12fff1e bx lr
|
||||
|
||||
00008014 <GET32>:
|
||||
8014: e5900000 ldr r0, [r0]
|
||||
8018: e12fff1e bx lr
|
||||
|
||||
0000801c <dummy>:
|
||||
801c: e12fff1e bx lr
|
||||
|
||||
00008020 <notmain>:
|
||||
8020: e92d4810 push {r4, fp, lr}
|
||||
8024: e59f4054 ldr r4, [pc, #84] ; 8080 <notmain+0x60>
|
||||
8028: e28db004 add fp, sp, #4
|
||||
802c: e1a00004 mov r0, r4
|
||||
8030: ebfffff7 bl 8014 <GET32>
|
||||
8034: e3c00707 bic r0, r0, #1835008 ; 0x1c0000
|
||||
8038: e3801701 orr r1, r0, #262144 ; 0x40000
|
||||
803c: e1a00004 mov r0, r4
|
||||
8040: ebfffff1 bl 800c <PUT32>
|
||||
8044: e59f0038 ldr r0, [pc, #56] ; 8084 <notmain+0x64>
|
||||
8048: e3a01801 mov r1, #65536 ; 0x10000
|
||||
804c: ebffffee bl 800c <PUT32>
|
||||
8050: e59f0030 ldr r0, [pc, #48] ; 8088 <notmain+0x68>
|
||||
8054: ebffffee bl 8014 <GET32>
|
||||
8058: e3100501 tst r0, #4194304 ; 0x400000
|
||||
805c: 0afffffb beq 8050 <notmain+0x30>
|
||||
8060: e59f0024 ldr r0, [pc, #36] ; 808c <notmain+0x6c>
|
||||
8064: e3a01801 mov r1, #65536 ; 0x10000
|
||||
8068: ebffffe7 bl 800c <PUT32>
|
||||
806c: e59f0014 ldr r0, [pc, #20] ; 8088 <notmain+0x68>
|
||||
8070: ebffffe7 bl 8014 <GET32>
|
||||
8074: e3100501 tst r0, #4194304 ; 0x400000
|
||||
8078: 1afffffb bne 806c <notmain+0x4c>
|
||||
807c: eafffff0 b 8044 <notmain+0x24>
|
||||
8080: 20200004 eorcs r0, r0, r4
|
||||
8084: 2020001c eorcs r0, r0, ip, lsl r0
|
||||
8088: 20003004 andcs r3, r0, r4
|
||||
808c: 20200028 eorcs r0, r0, r8, lsr #32
|
||||
|
||||
Disassembly of section .ARM.attributes:
|
||||
|
||||
00000000 <.ARM.attributes>:
|
||||
0: 00002f41 andeq r2, r0, r1, asr #30
|
||||
4: 61656100 cmnvs r5, r0, lsl #2
|
||||
8: 01006962 tsteq r0, r2, ror #18
|
||||
c: 00000025 andeq r0, r0, r5, lsr #32
|
||||
10: 4d524105 ldfmie f4, [r2, #-20] ; 0xffffffec
|
||||
14: 36373131 ; <UNDEFINED> instruction: 0x36373131
|
||||
18: 2d465a4a vstrcs s11, [r6, #-296] ; 0xfffffed8
|
||||
1c: 06060053 ; <UNDEFINED> instruction: 0x06060053
|
||||
20: 01090108 tsteq r9, r8, lsl #2
|
||||
24: 0114020a tsteq r4, sl, lsl #4
|
||||
28: 03170115 tsteq r7, #1073741829 ; 0x40000005
|
||||
2c: 01440118 cmpeq r4, r8, lsl r1
|
||||
|
||||
Disassembly of section .comment:
|
||||
|
||||
00000000 <.comment>:
|
||||
0: 6e616c63 cdpvs 12, 6, cr6, cr1, cr3, {3}
|
||||
4: 65762067 ldrbvs r2, [r6, #-103]! ; 0x67
|
||||
8: 6f697372 svcvs 0x00697372
|
||||
c: 2e33206e cdpcs 0, 3, cr2, cr3, cr14, {3}
|
||||
10: 62282034 eorvs r2, r8, #52 ; 0x34
|
||||
14: 636e6172 cmnvs lr, #-2147483620 ; 0x8000001c
|
||||
18: 2f736568 svccs 0x00736568
|
||||
1c: 656c6572 strbvs r6, [ip, #-1394]! ; 0x572
|
||||
20: 5f657361 svcpl 0x00657361
|
||||
24: 32203433 eorcc r3, r0, #855638016 ; 0x33000000
|
||||
28: 36303130 ; <UNDEFINED> instruction: 0x36303130
|
||||
2c: Address 0x000000000000002c is out of bounds.
|
||||
|
||||
Binary file not shown.
@@ -1,68 +0,0 @@
|
||||
.syntax unified
|
||||
.cpu arm1176jzf-s
|
||||
.eabi_attribute 6, 6
|
||||
.eabi_attribute 8, 1
|
||||
.fpu vfpv2
|
||||
.eabi_attribute 20, 1
|
||||
.eabi_attribute 21, 1
|
||||
.eabi_attribute 23, 3
|
||||
.eabi_attribute 24, 1
|
||||
.eabi_attribute 25, 1
|
||||
.file "blinker02.clang.opt.bc"
|
||||
.text
|
||||
.globl notmain
|
||||
.align 2
|
||||
.type notmain,%function
|
||||
notmain: @ @notmain
|
||||
@ BB#0: @ %entry
|
||||
push {r4, r11, lr}
|
||||
ldr r4, .LCPI0_0
|
||||
add r11, sp, #4
|
||||
mov r0, r4
|
||||
bl GET32
|
||||
bic r0, r0, #1835008
|
||||
orr r1, r0, #262144
|
||||
mov r0, r4
|
||||
bl PUT32
|
||||
.LBB0_1: @ %while.body
|
||||
@ =>This Loop Header: Depth=1
|
||||
@ Child Loop BB0_2 Depth 2
|
||||
@ Child Loop BB0_4 Depth 2
|
||||
ldr r0, .LCPI0_1
|
||||
mov r1, #65536
|
||||
bl PUT32
|
||||
.LBB0_2: @ %while.body2
|
||||
@ Parent Loop BB0_1 Depth=1
|
||||
@ => This Inner Loop Header: Depth=2
|
||||
ldr r0, .LCPI0_2
|
||||
bl GET32
|
||||
tst r0, #4194304
|
||||
beq .LBB0_2
|
||||
@ BB#3: @ %while.end
|
||||
@ in Loop: Header=BB0_1 Depth=1
|
||||
ldr r0, .LCPI0_3
|
||||
mov r1, #65536
|
||||
bl PUT32
|
||||
.LBB0_4: @ %while.body6
|
||||
@ Parent Loop BB0_1 Depth=1
|
||||
@ => This Inner Loop Header: Depth=2
|
||||
ldr r0, .LCPI0_2
|
||||
bl GET32
|
||||
tst r0, #4194304
|
||||
bne .LBB0_4
|
||||
b .LBB0_1
|
||||
.align 2
|
||||
@ BB#5:
|
||||
.LCPI0_0:
|
||||
.long 538968068 @ 0x20200004
|
||||
.LCPI0_1:
|
||||
.long 538968092 @ 0x2020001c
|
||||
.LCPI0_2:
|
||||
.long 536883204 @ 0x20003004
|
||||
.LCPI0_3:
|
||||
.long 538968104 @ 0x20200028
|
||||
.Ltmp0:
|
||||
.size notmain, .Ltmp0-notmain
|
||||
|
||||
|
||||
.ident "clang version 3.4 (branches/release_34 201060)"
|
||||
Binary file not shown.
@@ -1,11 +0,0 @@
|
||||
:1080000002D9A0E3050000EBFEFFFFEA001080E5C7
|
||||
:108010001EFF2FE1000090E51EFF2FE11EFF2FE164
|
||||
:1080200008402DE94C009FE5F9FFFFEB0717C0E37F
|
||||
:10803000011781E33C009FE5F3FFFFEB38009FE56C
|
||||
:108040000118A0E3F0FFFFEB30009FE5F0FFFFEB2E
|
||||
:10805000010510E3FBFFFF0A24009FE50118A0E3E0
|
||||
:10806000E9FFFFEB14009FE5E9FFFFEB010510E3DB
|
||||
:10807000FBFFFF1AF0FFFFEA040020201C00202075
|
||||
:0880800004300020280020203C
|
||||
:040000030000800079
|
||||
:00000001FF
|
||||
@@ -1,76 +0,0 @@
|
||||
|
||||
blinker02.elf: file format elf32-littlearm
|
||||
|
||||
|
||||
Disassembly of section .text:
|
||||
|
||||
00008000 <_start>:
|
||||
8000: e3a0d902 mov sp, #32768 ; 0x8000
|
||||
8004: eb000005 bl 8020 <notmain>
|
||||
|
||||
00008008 <hang>:
|
||||
8008: eafffffe b 8008 <hang>
|
||||
|
||||
0000800c <PUT32>:
|
||||
800c: e5801000 str r1, [r0]
|
||||
8010: e12fff1e bx lr
|
||||
|
||||
00008014 <GET32>:
|
||||
8014: e5900000 ldr r0, [r0]
|
||||
8018: e12fff1e bx lr
|
||||
|
||||
0000801c <dummy>:
|
||||
801c: e12fff1e bx lr
|
||||
|
||||
00008020 <notmain>:
|
||||
8020: e92d4008 push {r3, lr}
|
||||
8024: e59f004c ldr r0, [pc, #76] ; 8078 <notmain+0x58>
|
||||
8028: ebfffff9 bl 8014 <GET32>
|
||||
802c: e3c01707 bic r1, r0, #1835008 ; 0x1c0000
|
||||
8030: e3811701 orr r1, r1, #262144 ; 0x40000
|
||||
8034: e59f003c ldr r0, [pc, #60] ; 8078 <notmain+0x58>
|
||||
8038: ebfffff3 bl 800c <PUT32>
|
||||
803c: e59f0038 ldr r0, [pc, #56] ; 807c <notmain+0x5c>
|
||||
8040: e3a01801 mov r1, #65536 ; 0x10000
|
||||
8044: ebfffff0 bl 800c <PUT32>
|
||||
8048: e59f0030 ldr r0, [pc, #48] ; 8080 <notmain+0x60>
|
||||
804c: ebfffff0 bl 8014 <GET32>
|
||||
8050: e3100501 tst r0, #4194304 ; 0x400000
|
||||
8054: 0afffffb beq 8048 <notmain+0x28>
|
||||
8058: e59f0024 ldr r0, [pc, #36] ; 8084 <notmain+0x64>
|
||||
805c: e3a01801 mov r1, #65536 ; 0x10000
|
||||
8060: ebffffe9 bl 800c <PUT32>
|
||||
8064: e59f0014 ldr r0, [pc, #20] ; 8080 <notmain+0x60>
|
||||
8068: ebffffe9 bl 8014 <GET32>
|
||||
806c: e3100501 tst r0, #4194304 ; 0x400000
|
||||
8070: 1afffffb bne 8064 <notmain+0x44>
|
||||
8074: eafffff0 b 803c <notmain+0x1c>
|
||||
8078: 20200004 eorcs r0, r0, r4
|
||||
807c: 2020001c eorcs r0, r0, ip, lsl r0
|
||||
8080: 20003004 andcs r3, r0, r4
|
||||
8084: 20200028 eorcs r0, r0, r8, lsr #32
|
||||
|
||||
Disassembly of section .ARM.attributes:
|
||||
|
||||
00000000 <.ARM.attributes>:
|
||||
0: 00002a41 andeq r2, r0, r1, asr #20
|
||||
4: 61656100 cmnvs r5, r0, lsl #2
|
||||
8: 01006962 tsteq r0, r2, ror #18
|
||||
c: 00000020 andeq r0, r0, r0, lsr #32
|
||||
10: 4d524105 ldfmie f4, [r2, #-20] ; 0xffffffec
|
||||
14: 54347620 ldrtpl r7, [r4], #-1568 ; 0x620
|
||||
18: 08020600 stmdaeq r2, {r9, sl}
|
||||
1c: 12010901 andne r0, r1, #16384 ; 0x4000
|
||||
20: 15011404 strne r1, [r1, #-1028] ; 0x404
|
||||
24: 18031701 stmdane r3, {r0, r8, r9, sl, ip}
|
||||
28: Address 0x0000000000000028 is out of bounds.
|
||||
|
||||
|
||||
Disassembly of section .comment:
|
||||
|
||||
00000000 <.comment>:
|
||||
0: 3a434347 bcc 10d0d24 <notmain+0x10c8d04>
|
||||
4: 4e472820 cdpmi 8, 4, cr2, cr7, cr0, {1}
|
||||
8: 34202955 strtcc r2, [r0], #-2389 ; 0x955
|
||||
c: 322e382e eorcc r3, lr, #3014656 ; 0x2e0000
|
||||
...
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user