1 # This configuration is for a gcc that uses mips-tfile. If your gcc
2 # uses gas, you should configure gdb --with-gnu-as.
4 # The alpha as doesn't grok #line directives, suppress them via -P during
6 # The sed script removes blanks that mips-tfile doesn't like and
7 # embedds stabs in comments.
9 WEIRDSTABS_S=weird-ecoff.S
11 weird.o: ${srcdir}/${WEIRDSTABS_S} ${srcdir}/weird.def ${srcdir}/weird-ecoff.sed
12 cp ${srcdir}/${WEIRDSTABS_S} tmp.c
13 $(CC) -I${srcdir} -E -P -DTARGET_IS_ALPHA tmp.c >tmp.s
14 sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s