old-cross-binutils/gdb/testsuite/gdb.stabs/ecoff.mt

16 lines
582 B
Mathematica
Raw Normal View History

# This configuration is for a gcc that uses mips-tfile. If your gcc
# uses gas, you should configure gdb --with-gnu-as.
#
# The mips as doesn't grok #line directives, suppress them via -P during
# preprocessing.
# The sed script removes blanks that mips-tfile doesn't like,
# embedds stabs in comments and changes .long to .word
#
1993-09-15 22:17:29 +00:00
WEIRDSTABS_S=weird-ecoff.S
1993-09-15 22:17:29 +00:00
weird.o: ${srcdir}/${WEIRDSTABS_S} ${srcdir}/weird.def ${srcdir}/weird-ecoff.sed
cp ${srcdir}/${WEIRDSTABS_S} tmp.c
$(CC) -I${srcdir} -E -P tmp.c >tmp.s
1993-09-15 22:17:29 +00:00
sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s
$(CC) -c weird.s