* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp. sed is portable and POSIX; cpp is neither.
This commit is contained in:
parent
79cf7e1f33
commit
dd06d920c8
@ -26,9 +26,9 @@ alpha.mt
|
||||
aout.mt
|
||||
configure.in
|
||||
ecoff.mt
|
||||
weird-aout.sed
|
||||
weird-ecoff.sed
|
||||
weird-xcoff.sed
|
||||
aout.sed
|
||||
ecoff.sed
|
||||
xcoff.sed
|
||||
weird.def
|
||||
weird.exp
|
||||
xcoff.mt
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This configuration is for a gcc that uses mips-tfile. If your gcc
|
||||
# uses gas, you should configure gdb --with-gnu-as.
|
||||
#
|
||||
weird.o: $(srcdir)/weird.def $(srcdir)/weird-ecoff.sed
|
||||
weird.o: $(srcdir)/weird.def $(srcdir)/ecoff.sed
|
||||
sed -e '/.if notalpha/,/.endif notalpha/d' <$(srcdir)/weird.def | \
|
||||
sed -f $(srcdir)/weird-ecoff.sed >weird.s
|
||||
sed -f $(srcdir)/ecoff.sed >weird.s
|
||||
$(CC) -c weird.s
|
||||
|
@ -1,3 +1,3 @@
|
||||
weird.o: $(srcdir)/weird.def $(srcdir)/weird-aout.sed
|
||||
sed -f $(srcdir)/weird-aout.sed <$(srcdir)/weird.def >weird.s
|
||||
weird.o: $(srcdir)/weird.def $(srcdir)/aout.sed
|
||||
sed -f $(srcdir)/aout.sed <$(srcdir)/weird.def >weird.s
|
||||
$(CC) -c weird.s
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This configuration is for a gcc that uses mips-tfile. If your gcc
|
||||
# uses gas, you should configure gdb --with-gnu-as.
|
||||
#
|
||||
weird.o: $(srcdir)/weird.def $(srcdir)/weird-ecoff.sed
|
||||
weird.o: $(srcdir)/weird.def $(srcdir)/ecoff.sed
|
||||
sed -e '/.long/.word/' <$(srcdir)/weird.def | \
|
||||
sed -f $(srcdir)/weird-ecoff.sed >weird.s
|
||||
sed -f $(srcdir)/ecoff.sed >weird.s
|
||||
$(CC) -c weird.s
|
||||
|
@ -1,3 +1,3 @@
|
||||
weird.o: $(srcdir)/weird.def $(srcdir)/weird-xcoff.sed
|
||||
sed -f $(srcdir)/weird-xcoff.sed <$(srcdir)/weird.def >weird.s
|
||||
weird.o: $(srcdir)/weird.def $(srcdir)/xcoff.sed
|
||||
sed -f $(srcdir)/xcoff.sed <$(srcdir)/weird.def >weird.s
|
||||
$(CC) -c weird.s
|
||||
|
Loading…
x
Reference in New Issue
Block a user