2012-06-25 Greta Yorsh <greta.yorsh@arm.com>

* gdb/testsuite/gdb.arch/arm-disp-step.S: Fix use of .global directives.
This commit is contained in:
Matthew Gretton-Dann 2012-06-25 12:56:18 +00:00
parent fc51cce108
commit 944a90619c
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
* gdb.arch/arm-disp-step.S: Fix use of .global directives.
2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix regression by the previous commit.

View File

@ -110,7 +110,7 @@ test_ret:
.type test_branch, %function
test_branch:
b L_branch
.global
.global L_branch
L_branch:
bx lr
.size test_branch, .-test_branch
@ -124,7 +124,7 @@ L_branch:
test_ldr_pc:
ldr r1, [pc, #0]
.global
.global test_ldr_pc_ret
test_ldr_pc_ret:
bx lr
.size test_ldr_pc, .-test_ldr_pc
@ -137,10 +137,10 @@ test_ldm_stm_pc:
ldmia sp!, {r0, r1}
ldr r0, .L1
stmdb sp!, {r0}
.global
.global test_ldm_pc
test_ldm_pc:
ldmia sp!, {pc}
.global
.global test_ldm_stm_pc_ret
test_ldm_stm_pc_ret:
bx lr
.align 2