Define RELOC_INIT_SEGMENT_RELOC for the ns32k (Matthias Pfaller; PR#2103).

This commit is contained in:
pk 1996-02-22 00:19:57 +00:00
parent 17de1d7eae
commit 05105a9150
5 changed files with 14 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 1994/11/30 06:20:43 phil Exp $ */ /* $NetBSD: md.h,v 1.3 1996/02/22 00:20:06 pk Exp $ */
/* /*
* - ns32k dependent definitions * - ns32k dependent definitions
@ -29,6 +29,7 @@
#define RELOC_STATICS_THROUGH_GOT_P(r) (1) #define RELOC_STATICS_THROUGH_GOT_P(r) (1)
#define JMPSLOT_NEEDS_RELOC (0) #define JMPSLOT_NEEDS_RELOC (0)
#define RELOC_INIT_SEGMENT_RELOC(r) ((r)->r_disp = 2)
#define md_got_reloc(r) (0) #define md_got_reloc(r) (0)

View File

@ -1,5 +1,5 @@
/* /*
* $Id: ld.h,v 1.18 1995/08/04 21:49:06 pk Exp $ * $Id: ld.h,v 1.19 1996/02/22 00:19:57 pk Exp $
*/ */
/*- /*-
* This code is derived from software copyrighted by the Free Software * This code is derived from software copyrighted by the Free Software
@ -157,8 +157,10 @@ extern int netzmagic;
#define RELOC_PIC_TYPE(r) ((r)->r_baserel? \ #define RELOC_PIC_TYPE(r) ((r)->r_baserel? \
PIC_TYPE_LARGE:PIC_TYPE_NONE) PIC_TYPE_LARGE:PIC_TYPE_NONE)
#define RELOC_INIT_SEGMENT_RELOC(r) #endif
#ifndef RELOC_INIT_SEGMENT_RELOC
#define RELOC_INIT_SEGMENT_RELOC(r)
#endif #endif
#ifndef MAX_GOTOFF #ifndef MAX_GOTOFF

View File

@ -1,5 +1,5 @@
/* /*
* $Id: ld.h,v 1.18 1995/08/04 21:49:06 pk Exp $ * $Id: ld.h,v 1.19 1996/02/22 00:19:57 pk Exp $
*/ */
/*- /*-
* This code is derived from software copyrighted by the Free Software * This code is derived from software copyrighted by the Free Software
@ -157,8 +157,10 @@ extern int netzmagic;
#define RELOC_PIC_TYPE(r) ((r)->r_baserel? \ #define RELOC_PIC_TYPE(r) ((r)->r_baserel? \
PIC_TYPE_LARGE:PIC_TYPE_NONE) PIC_TYPE_LARGE:PIC_TYPE_NONE)
#define RELOC_INIT_SEGMENT_RELOC(r) #endif
#ifndef RELOC_INIT_SEGMENT_RELOC
#define RELOC_INIT_SEGMENT_RELOC(r)
#endif #endif
#ifndef MAX_GOTOFF #ifndef MAX_GOTOFF

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 1994/11/30 06:20:43 phil Exp $ */ /* $NetBSD: md.h,v 1.3 1996/02/22 00:20:06 pk Exp $ */
/* /*
* - ns32k dependent definitions * - ns32k dependent definitions
@ -29,6 +29,7 @@
#define RELOC_STATICS_THROUGH_GOT_P(r) (1) #define RELOC_STATICS_THROUGH_GOT_P(r) (1)
#define JMPSLOT_NEEDS_RELOC (0) #define JMPSLOT_NEEDS_RELOC (0)
#define RELOC_INIT_SEGMENT_RELOC(r) ((r)->r_disp = 2)
#define md_got_reloc(r) (0) #define md_got_reloc(r) (0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: md.h,v 1.2 1994/11/30 06:20:43 phil Exp $ */ /* $NetBSD: md.h,v 1.3 1996/02/22 00:20:06 pk Exp $ */
/* /*
* - ns32k dependent definitions * - ns32k dependent definitions
@ -29,6 +29,7 @@
#define RELOC_STATICS_THROUGH_GOT_P(r) (1) #define RELOC_STATICS_THROUGH_GOT_P(r) (1)
#define JMPSLOT_NEEDS_RELOC (0) #define JMPSLOT_NEEDS_RELOC (0)
#define RELOC_INIT_SEGMENT_RELOC(r) ((r)->r_disp = 2)
#define md_got_reloc(r) (0) #define md_got_reloc(r) (0)