* config/i386/nm-i386sco.h: Add protection against

multiple-inclusion.  Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.
This commit is contained in:
Mark Kettenis 2002-10-06 18:37:13 +00:00
parent 7c4a37eb43
commit af0b251250
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2002-10-06 Mark Kettenis <kettenis@gnu.org>
* config/i386/nm-i386sco.h: Add protection against
multiple-inclusion. Include "i386/nm-i386v.h".
(REGISTER_U_ADDR): Remove define.
(i386_register_u_addr): Remove prototype.
2002-10-04 Michael Snyder <msnyder@redhat.com>
* m32r-stub.c (handle_exception): Make sure exception is "trap"

View File

@ -20,12 +20,14 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#define REGISTER_U_ADDR(addr, blockend, regno) \
(addr) = i386_register_u_addr ((blockend),(regno));
#ifndef NM_I386SCO_H
#define NM_I386SCO_H
extern int i386_register_u_addr (int, int);
#include "i386/nm-i386v.h"
/* When calling functions on SCO, sometimes we get an error writing some
of the segment registers. This would appear to be a kernel
bug/non-feature. */
#define CANNOT_STORE_REGISTER(regno) ((regno) == 14 || (regno) == 15)
#endif /* nm-i386sco.h */