7 changed files with 1457 additions and 175 deletions
File diff suppressed because it is too large
@ -0,0 +1,33 @@ |
|||
#objdump: -sr |
|||
#name: Unwind table generation |
|||
|
|||
.*: file format.* |
|||
|
|||
RELOCATION RECORDS FOR \[.ARM.extab\]: |
|||
OFFSET TYPE VALUE |
|||
0000000c R_ARM_PREL31 .text |
|||
|
|||
|
|||
RELOCATION RECORDS FOR \[.ARM.exidx\]: |
|||
OFFSET TYPE VALUE |
|||
00000000 R_ARM_REL32 .text |
|||
00000008 R_ARM_REL32 .text |
|||
0000000c R_ARM_PREL31 .ARM.extab |
|||
00000010 R_ARM_REL32 .text |
|||
00000014 R_ARM_PREL31 .ARM.extab |
|||
00000018 R_ARM_REL32 .text |
|||
0000001c R_ARM_PREL31 .ARM.extab |
|||
00000020 R_ARM_REL32 .text |
|||
|
|||
|
|||
Contents of section .text: |
|||
0000 (0000a0e3 0100a0e3 0200a0e3 0300a0e3|e3a00000 a0e30001 e3a00002 e3a00003) .* |
|||
0010 (0420|2004) .* |
|||
Contents of section .ARM.extab: |
|||
0000 (449b0181 b0b08086|81019b44 8680b0b0) 00000000 00000000 .* |
|||
0010 (8402b101 b0b0b005 2a000000 00c60181|01b10284 05b0b0b0 000000a2 8101c600) .* |
|||
0020 (b0b0c1c1|c1c1b0b0) 00000000 .* |
|||
Contents of section .ARM.exidx: |
|||
0000 00000000 (b0b0a880 04000000|80a8b0b0 00000004) 00000000 .* |
|||
0010 (08000000 0c000000 0c000000 1c000000|00000008 0000000c 0000000c 0000001c) .* |
|||
0020 (10000000 08849780|00000010 80978480) .* |
|||
@ -0,0 +1,46 @@ |
|||
# Test generation of unwind tables |
|||
.text |
|||
foo: @ Simple function |
|||
.fnstart |
|||
.save {r4, lr} |
|||
mov r0, #0 |
|||
.fnend |
|||
foo1: @ Typical frame pointer prologue |
|||
.fnstart |
|||
.movsp ip |
|||
@mov ip, sp |
|||
.pad #4 |
|||
.save {fp, ip, lr} |
|||
@stmfd sp!, {fp, ip, lr, pc} |
|||
.setfp fp, ip, #4 |
|||
@sub fp, ip, #4 |
|||
mov r0, #1 |
|||
.fnend |
|||
foo2: @ Custom personality routine |
|||
.fnstart |
|||
.save {r1, r4, r6, lr} |
|||
@stmfd {r1, r4, r6, lr} |
|||
mov r0, #2 |
|||
.personality foo |
|||
.handlerdata |
|||
.word 42 |
|||
.fnend |
|||
foo3: @ Saving iwmmxt registers |
|||
.fnstart |
|||
.save {wr11} |
|||
.save {wr10} |
|||
.save {wr10, wr11} |
|||
.save {wr0} |
|||
mov r0, #3 |
|||
.fnend |
|||
.code 16 |
|||
foo4: @ Thumb frame pointer |
|||
.fnstart |
|||
.save {r7, lr} |
|||
@push {r7, lr} |
|||
.setfp r7, sp |
|||
@mov r7, sp |
|||
.pad #8 |
|||
@sub sp, sp, #8 |
|||
mov r0, #4 |
|||
.fnend |
|||
Loading…
Reference in new issue