binutils-gdb/gdb/testsuite/gdb.stabs/hppa.mt
Jim Kingdon 958f6a1310 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
for HP assembler versus GNU assembler based on actual behavior of
	$(CC), rather than assuming that $(AS) is always the GNU assembler.
1995-01-27 04:24:09 +00:00

13 lines
352 B
Mathematica

weird.o: $(srcdir)/weird.def $(srcdir)/hppa.sed
sed -f $(srcdir)/hppa.sed <$(srcdir)/weird.def >weird.s
if $(CC) -c weird.s 2>errs; then \
true; \
else \
if grep 'Directive name not recognized - STABS' errs \
>/dev/null; then \
echo HP assembler in use--skipping stabs tests; true; \
else \
cat errs; false; \
fi; \
fi