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

16 lines
625 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 and change long to word as mips as doesn't grok .long.
# The sed script removes blanks that mips-tfile doesn't like and
# embedds stabs in comments.
#
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 -Dlong=word 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