aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.arch/arm-disp-step.S8
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index bd572f8..cec39a0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.arch/arm-disp-step.S b/gdb/testsuite/gdb.arch/arm-disp-step.S
index 423edc0..09d1663 100644
--- a/gdb/testsuite/gdb.arch/arm-disp-step.S
+++ b/gdb/testsuite/gdb.arch/arm-disp-step.S
@@ -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