aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-06-19 22:43:49 +0000
committerStu Grossman <grossman@cygnus>1992-06-19 22:43:49 +0000
commit7da1e27dd4814e6e718404f294d3ef63e15054e2 (patch)
tree88de18c03a71c4f3fca192c8d9d597842c686ff6 /gdb/partial-stab.h
parent9aa448333dc03c53f4ed8826251f813123705217 (diff)
downloadgdb-7da1e27dd4814e6e718404f294d3ef63e15054e2.zip
gdb-7da1e27dd4814e6e718404f294d3ef63e15054e2.tar.gz
gdb-7da1e27dd4814e6e718404f294d3ef63e15054e2.tar.bz2
* configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c,
hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, munch, partial-stab.h, tm-hppabsd.h, tm-hppahpux.h, xm-hppabsd.h, xm-hppahpux.h: HPPA merge.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r--gdb/partial-stab.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index 6b6e3de..e064aeb 100644
--- a/gdb/partial-stab.h
+++ b/gdb/partial-stab.h
@@ -70,8 +70,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
SET_NAMESTRING();
if ((namestring[0] == '-' && namestring[1] == 'l')
|| (namestring [(nsl = strlen (namestring)) - 1] == 'o'
- && namestring [nsl - 2] == '.'))
+ && namestring [nsl - 2] == '.')
+#ifdef hp9000s800
+ /* some cooperation from gcc to get around ld stupidity */
+ || (namestring[0] == 'e' && !strcmp (namestring, "end_file."))
+#endif
+ )
{
+#ifndef hp9000s800
if (objfile -> ei.entry_point < CUR_SYMBOL_VALUE &&
objfile -> ei.entry_point >= last_o_file_start &&
addr == 0) /* FIXME nogood nomore */
@@ -79,6 +85,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
objfile -> ei.entry_file_lowpc = last_o_file_start;
objfile -> ei.entry_file_highpc = CUR_SYMBOL_VALUE;
}
+#endif
if (past_first_source_file && pst
/* The gould NP1 uses low values for .o and -l symbols
which are not the address. */