aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs/wierd-xcoff.S
blob: b4d3a24d9dfcedb8561d63a6fb6af9402e9e291f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define N_LSYM 0x81
#define N_GSYM 0x80

#define VAR(name) \
	.globl name; \
	.align 1; \
name:; \
	.long 42;
#define STAB(string,type,value) .stabx string,value,type,0

/* Put everything in this csect, which seems to make things work.
   The compiler actually puts the stabs in .csect [PR], but that didn't
   work here (I guess because there is no text section).  */
	.csect .data[RW]
#include "wierd.def"