🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David C Lawrence Mon, 20 Nov 1989 16:30
reloc_information in strip.c on sparc
#552
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads