The following fixes a FAIL caused by the fact that the alpha stabs
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.stabs / ecoff.mt
index fa261fd39bd7b52fbefb747f57fc53e062c7025b..57e7f185f26570dab451a688d0bfb4d761c1ef8d 100644 (file)
@@ -1,14 +1,7 @@
-# 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
+# This configuration is for a gcc that uses mips-tfile. If your gcc
+# uses gas, you should configure gdb --with-gnu-as.
 #
-WIERDSTABS_S=wierd-ecoff.S
-# Only gcc knows about stabs-in-ecoff
-STABSCC=gcc
-
-wierd.o: ${srcdir}/${WIERDSTABS_S} ${srcdir}/wierd.def ${srcdir}/wierd-ecoff.sed
-       cp ${srcdir}/${WIERDSTABS_S} tmp.c
-       $(STABSCC) -I${srcdir} -E -P tmp.c >tmp.s
-       sed -f ${srcdir}/wierd-ecoff.sed <tmp.s >wierd.s
-       $(STABSCC) -c wierd.s
+weird.o: $(srcdir)/weird.def $(srcdir)/ecoff.sed
+       sed <$(srcdir)/weird.def -e 's/.long/.word/' | \
+       sed -f $(srcdir)/ecoff.sed >weird.s
+       $(CC) -c weird.s
This page took 0.02368 seconds and 4 git commands to generate.