Diagnostic "RRS text relocation at %#x (symbol %s)"

commented out in #ifdef DEBUG
As Paul told me, it is only informational, nothing more.
I don't want several screens of this information
on each linking (netstat f.e.)
This commit is contained in:
Andrey A. Chernov 1993-11-17 01:33:24 +00:00
parent 58e4f8835a
commit 308a64fe24
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=776

View file

@ -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: rrs.c,v 1.5 1993/11/01 16:26:18 pk Exp $
* $Id: rrs.c,v 1.2 1993/11/09 04:19:02 paul Exp $
*/
#include <sys/param.h>
@ -294,11 +294,11 @@ symbol *sp;
long *relocation;
{
struct relocation_info *r = rrs_next_reloc();
#ifdef DEBUG
if (rp->r_address < text_start + text_size)
error("RRS text relocation at %#x (symbol %s)",
rp->r_address, sp->name);
#endif
#ifdef DEBUG
printf("claim_rrs_reloc: %s\n", sp->name);
#endif