aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2012-06-25 12:56:18 +0000
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2012-06-25 12:56:18 +0000
commit944a90619c1efc9acf4a2cb420936999baecdee0 (patch)
treea96b8600453b97f87ee4beea6e5310062bccf6ff /gdb/testsuite
parentfc51cce10868178fa7390ab1c5f384eda548f4d1 (diff)
downloadgdb-944a90619c1efc9acf4a2cb420936999baecdee0.zip
gdb-944a90619c1efc9acf4a2cb420936999baecdee0.tar.gz
gdb-944a90619c1efc9acf4a2cb420936999baecdee0.tar.bz2
2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
* gdb/testsuite/gdb.arch/arm-disp-step.S: Fix use of .global directives.
Diffstat (limited to 'gdb/testsuite')
-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