🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #552

reloc_information in strip.c on sparc

#552
From: David C Lawrence
Date: Mon, 20 Nov 1989 16:30
28 lines
1162 bytes
strip.c from the version of binutils on prep as of 17 Nov 89 (latest
ChangeLog: 3 Nov 89) would not compile on our Sun4/Sparcstation
machines.  The problem was that reloc_information has been renamed in
a.out.h (really <machine/a.out.h> for sparc architectures.

A solution that worked for me for now was to simply redefine the two
symbol names which changed.

Dave

 (setq mail '("tale@pawl.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))

*** strip.c.orig	Fri Nov  3 15:19:21 1989
--- strip.c	Mon Nov 20 10:54:38 1989
***************
*** 36,41 ****
--- 36,46 ----
  #include <a.out.h>
  #endif
  
+ #ifdef sparc
+ #define relocation_info reloc_info_sparc
+ #define r_symbolnum r_index
+ #endif
+ 
  #ifdef nounderscore
  #define LPREFIX '.'
  #else
Technical Details
Message-ID: <1989Nov20.163006.6219@rpi.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!gem.mps.ohio-state.edu!rpi!tale

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!gem.mps.ohio-state.edu!rpi!tale
From: tale@pawl.rpi.edu (David C Lawrence)
Newsgroups: gnu.utils.bug
Subject: reloc_information in strip.c on sparc
Message-ID: <1989Nov20.163006.6219@rpi.edu>
Date: 20 Nov 89 16:30:06 GMT
Distribution: gnu
Organization: Rensselaer Polytechnic Institute, Troy NY
Lines: 28