mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
* gdb.stabs/hppa.mt: A makefile fragment for the PA.
* gdb.stabs/configure.in (hppa*-*-*): Use it. * gdb.stabs/hppa.sed: New sed script for the PA.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* gdb.stabs/hppa.mt: A makefile fragment for the PA.
|
||||||
|
* gdb.stabs/configure.in (hppa*-*-*): Use it.
|
||||||
|
* gdb.stabs/hppa.sed: New sed script for the PA.
|
||||||
|
|
||||||
Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
* gdb.stabs: Re-write weird.def and configuration to use sed
|
* gdb.stabs: Re-write weird.def and configuration to use sed
|
||||||
|
@ -28,6 +28,8 @@ configure.in
|
|||||||
ecoff.mt
|
ecoff.mt
|
||||||
aout.sed
|
aout.sed
|
||||||
ecoff.sed
|
ecoff.sed
|
||||||
|
hppa.mt
|
||||||
|
hppa.sed
|
||||||
xcoff.sed
|
xcoff.sed
|
||||||
weird.def
|
weird.def
|
||||||
weird.exp
|
weird.exp
|
||||||
|
@ -22,6 +22,8 @@ alpha-*-*) if [ x${with_gnu_as} = xyes ]; then
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
hppa*-*-*) target_makefile_frag=hppa.mt ;;
|
||||||
|
|
||||||
mips-*-bsd*) target_makefile_frag=aout.mt ;;
|
mips-*-bsd*) target_makefile_frag=aout.mt ;;
|
||||||
mips-*-*) if [ x${with_gnu_as} = xyes ]; then
|
mips-*-*) if [ x${with_gnu_as} = xyes ]; then
|
||||||
target_makefile_frag=aout.mt
|
target_makefile_frag=aout.mt
|
||||||
|
3
gdb/testsuite/gdb.stabs/hppa.mt
Normal file
3
gdb/testsuite/gdb.stabs/hppa.mt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
weird.o: $(srcdir)/weird.def $(srcdir)/hppa.sed
|
||||||
|
sed -f $(srcdir)/hppa.sed <$(srcdir)/weird.def >weird.s
|
||||||
|
$(CC) -c weird.s
|
19
gdb/testsuite/gdb.stabs/hppa.sed
Normal file
19
gdb/testsuite/gdb.stabs/hppa.sed
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# GDB legitimately expects a file name.
|
||||||
|
# The sun3 assembler bogusly requires that the value of this stab be a
|
||||||
|
# label. Placate it.
|
||||||
|
1i\
|
||||||
|
.stabs "weird.c",0x64,0,0,Label0\
|
||||||
|
Label0:
|
||||||
|
#
|
||||||
|
s/N_LSYM/0x80/
|
||||||
|
s/N_GSYM/0x20/
|
||||||
|
# Replace a single backslash with a doubled backslash
|
||||||
|
/\.stabs/s/\\/\\\\/
|
||||||
|
s/\.begin_common\(.*\)/.stabs \1,0xe2,0,0,0/
|
||||||
|
s/\.end_common\(.*\)/.stabs \1,0xe4,0,0,0/
|
||||||
|
s/\.align_it/.align 4/
|
||||||
|
s/\.globl/.export/
|
||||||
|
/^#/d
|
||||||
|
/.if alpha/,/.endif alpha/d
|
||||||
|
/.if/d
|
||||||
|
/.endif/d
|
Reference in New Issue
Block a user