Commit | Line | Data |
---|---|---|
26a08d15 PS |
1 | # This configuration is for a gcc that uses mips-tfile. If your gcc |
2 | # uses gas, you should configure gdb --with-gnu-as. | |
3 | # | |
76b098d1 PS |
4 | # The mips as doesn't grok #line directives, suppress them via -P during |
5 | # preprocessing. | |
6 | # The sed script removes blanks that mips-tfile doesn't like, | |
7 | # embedds stabs in comments and changes .long to .word | |
8 | # | |
8cced93d | 9 | WEIRDSTABS_S=weird-ecoff.S |
76b098d1 | 10 | |
8cced93d ILT |
11 | weird.o: ${srcdir}/${WEIRDSTABS_S} ${srcdir}/weird.def ${srcdir}/weird-ecoff.sed |
12 | cp ${srcdir}/${WEIRDSTABS_S} tmp.c | |
26a08d15 | 13 | $(CC) -I${srcdir} -E -P tmp.c >tmp.s |
8cced93d | 14 | sed -f ${srcdir}/weird-ecoff.sed <tmp.s >weird.s |
26a08d15 | 15 | $(CC) -c weird.s |