aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs/wierd-xcoff.S
blob: f0aed3118a9e897c1b39d62b7fc168bb9a3be28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define N_GSYM 128
#define N_LSYM 129
#define N_BCOMM 135
#define N_ECOMM 137

#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"