Commit 82a298a9 by Jim Wilson Committed by Jim Wilson

Fix cross compiler build failure in dbxout.c.

	* dbxout.c (gstab.h): Use if CROSS_COMPILE.

From-SVN: r25417
parent d7cdf113
Wed Feb 24 17:47:28 1999 Jim Wilson <wilson@cygnus.com> Wed Feb 24 17:47:28 1999 Jim Wilson <wilson@cygnus.com>
* dbxout.c (gstab.h): Use if CROSS_COMPILE.
* dwarf2out.c (add_location_or_const_value_attribute): Add big * dwarf2out.c (add_location_or_const_value_attribute): Add big
endian correction for parms passed in regs but living on the stack. endian correction for parms passed in regs but living on the stack.
......
...@@ -164,8 +164,10 @@ static int source_label_number = 1; ...@@ -164,8 +164,10 @@ static int source_label_number = 1;
#endif #endif
/* If there is a system stab.h, use it. Otherwise, use our own. */ /* If there is a system stab.h, use it. Otherwise, use our own. */
/* ??? This is supposed to describe the target's stab format, so using
#if defined (USG) || !defined (HAVE_STAB_H) the host HAVE_STAB_H appears to be wrong. For now, we use our own file
when cross compiling. */
#if defined (USG) || !defined (HAVE_STAB_H) || defined (CROSS_COMPILE)
#include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */ #include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */
#else #else
#include <stab.h> #include <stab.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment