One needs to introduce things with a `.file' directive before trying to
do a .loc on it. BTW, the .loc needs to be in a .text section. gas 2.11.0 catches these oversights where previous versions did not.
This commit is contained in:
parent
d85b77042d
commit
01707e0035
@ -43,7 +43,10 @@
|
||||
|
||||
__KERNEL_RCSID(1, "$NetBSD: pal.s,v 1.12 1998/02/27 03:44:53 thorpej Exp $");
|
||||
|
||||
inc2: .stabs __FILE__,132,0,0,inc2; .loc 1 __LINE__
|
||||
inc2: .stabs __FILE__,132,0,0,inc2
|
||||
.text
|
||||
.loc 1 __LINE__
|
||||
|
||||
/*
|
||||
* alpha_rpcc: read process cycle counter (XXX INSTRUCTION, NOT PALcode OP)
|
||||
*/
|
||||
|
@ -39,7 +39,9 @@ __KERNEL_RCSID(2, "$NetBSD: prom_disp.s,v 1.8 1997/11/03 04:22:03 ross Exp $");
|
||||
.text
|
||||
.align 4
|
||||
|
||||
inc3: .stabs __FILE__,132,0,0,inc3; .loc 1 __LINE__
|
||||
inc3: .stabs __FILE__,132,0,0,inc3
|
||||
.text
|
||||
.loc 1 __LINE__
|
||||
/*
|
||||
* Dispatcher routine. Implements prom's calling machinery, saves our
|
||||
* callee-saved registers as required by C.
|
||||
|
@ -226,6 +226,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* for `.loc' uses
|
||||
*/
|
||||
|
||||
.file 1 __FILE__
|
||||
|
||||
/*
|
||||
* MCOUNT
|
||||
*/
|
||||
|
@ -44,7 +44,8 @@
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
||||
inc2: .stabs __FILE__,132,0,0,inc2; .loc 1 __LINE__
|
||||
/*inc2: .stabs __FILE__,132,0,0,inc2; .loc 1 __LINE__*/
|
||||
inc2: .stabs __FILE__,132,0,0,inc2
|
||||
/*
|
||||
* alpha_rpcc: read process cycle counter (XXX INSTRUCTION, NOT PALcode OP)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user