mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
76b098d175
to make the stabs test work on ecoff systems using gcc and -with-stabs. * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to enable ecoff configuration.
30 lines
917 B
ArmAsm
30 lines
917 B
ArmAsm
/* GDB legitimately expects a file name. */
|
|
.file 1 "wierd.c"
|
|
@stabs
|
|
.stabs "wierd.c",0x64,0,0,0
|
|
|
|
#define N_LSYM 0x80
|
|
#define N_GSYM 0x20
|
|
|
|
#define N_BCOMM 0xe2
|
|
#define N_ECOMM 0xe4
|
|
#define BEGIN_COMMON(name) .stabs name,N_BCOMM,0,0,0
|
|
#define END_COMMON(name) .stabs name,N_ECOMM,0,0,0
|
|
|
|
#define VAR(name) \
|
|
.globl name; \
|
|
.data; \
|
|
.align 2; \
|
|
name:; \
|
|
.word 42
|
|
|
|
#define STAB(string,type,value) .stabs string,type,0,0,value
|
|
#include "wierd.def"
|
|
|
|
/* Stuff with backslashes needs to go here, since gcc with stabs treats
|
|
them differently. */
|
|
|
|
STAB("sym92:\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0)
|
|
STAB("type92:t92=\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0)
|
|
STAB("attr92:G392=@\ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM, 0)
|