aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2010-08-18 02:44:02 +0000
committerYao Qi <yao@codesourcery.com>2010-08-18 02:44:02 +0000
commit5ff2d1e602cfdcb11d197d05ba779e67f3aab5b8 (patch)
tree0e2739fe595dc13737b20111236d9f72c4ef9f36 /gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c
parent96e254033d3647061f9a02d40b21a1c60ea7cb78 (diff)
downloadbinutils-5ff2d1e602cfdcb11d197d05ba779e67f3aab5b8.zip
binutils-5ff2d1e602cfdcb11d197d05ba779e67f3aab5b8.tar.gz
binutils-5ff2d1e602cfdcb11d197d05ba779e67f3aab5b8.tar.bz2
2010-08-18 Yao Qi <yao@codesourcery.com
* gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels func_nofb_start and func_loopfb_start, so that address of functions is equal to these labels on Thumb.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c b/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c
index 5f77883..6077f6e 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame-func.c
@@ -19,6 +19,7 @@ asm (".globl cu_text_start");
asm ("cu_text_start:");
asm (".globl func_nofb_start");
+asm (".align 2");
asm ("func_nofb_start:");
void
@@ -31,6 +32,7 @@ asm (".globl func_nofb_end");
asm ("func_nofb_end:");
asm (".globl func_loopfb_start");
+asm (".align 2");
asm ("func_loopfb_start:");
void