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 mips as doesn't grok #line directives, suppress them via -P during
5 # preprocessing and change long to word as mips as doesn't grok .long.
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 -Dlong=word tmp.c >tmp.s
14 sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s