From 5404577abfb743e1ecaca06d3f3746ec0e672fc8 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 30 Jun 2003 00:49:25 +0000 Subject: [PATCH] SH also has a bogus DT_TEXTREL, it seems. --- libexec/ld.elf_so/rtld.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libexec/ld.elf_so/rtld.c b/libexec/ld.elf_so/rtld.c index 67908cb8edfe..b59d1437c090 100644 --- a/libexec/ld.elf_so/rtld.c +++ b/libexec/ld.elf_so/rtld.c @@ -1,4 +1,4 @@ -/* $NetBSD: rtld.c,v 1.94 2003/06/05 10:41:33 simonb Exp $ */ +/* $NetBSD: rtld.c,v 1.95 2003/06/30 00:49:25 marcus Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -156,8 +156,8 @@ _rtld_init(mapbase, relocbase) _rtld_digest_dynamic(&_rtld_objself); assert(!_rtld_objself.needed && !_rtld_objself.pltrel && !_rtld_objself.pltrela); -#ifndef __mips__ - /* MIPS has a bogus DT_TEXTREL. */ +#if !defined(__mips__) && !defined(__sh__) + /* MIPS and SH have a bogus DT_TEXTREL. */ assert(!_rtld_objself.pltgot && !_rtld_objself.textrel); #endif