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.
This commit is contained in:
Yao Qi 2010-08-18 02:44:02 +00:00
parent 96e254033d
commit 5ff2d1e602
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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.
2010-08-18 Yao Qi <yao@codesourcery.com>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case

View File

@ -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