summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-30 22:29:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-30 22:29:33 +0000
commit795936581b97df87578dcbb4f515c8dae37258b8 (patch)
tree002b614e1d0467299373d1072ae2e4bd944cb609 /gnu/usr.bin/ld/sparc
parentba533813bb2ba3c3d35ced609adf3f525e4cbcbc (diff)
openbsd
Diffstat (limited to 'gnu/usr.bin/ld/sparc')
-rw-r--r--gnu/usr.bin/ld/sparc/md.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/sparc/md.h b/gnu/usr.bin/ld/sparc/md.h
index b2f6b353c1a..fd9742a6103 100644
--- a/gnu/usr.bin/ld/sparc/md.h
+++ b/gnu/usr.bin/ld/sparc/md.h
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: md.h,v 1.1 1995/10/18 08:40:58 deraadt Exp $
+ * $Id: md.h,v 1.2 1996/09/30 22:29:31 deraadt Exp $
*/
/*
@@ -37,7 +37,7 @@
#define MAX_ALIGNMENT (sizeof (double))
-#ifdef NetBSD
+#if defined(__NetBSD__) || defined(__OpenBSD__)
#define PAGSIZ __LDPGSZ
#define N_SET_FLAG(ex,f) N_SETMAGIC(ex,N_GETMAGIC(ex), \
@@ -65,7 +65,7 @@
#undef relocation_info
#define relocation_info reloc_info_sparc
#define r_symbolnum r_index
-#endif /* NetBSD */
+#endif /* __NetBSD__ || __OpenBSD__ */
#define N_BADMID(ex) \
(N_GETMID(ex) != 0 && N_GETMID(ex) != MID_MACHINE && \