🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12727

sun4/a.out.h doesn't define relocation_info et al

#12727
From: Dan Ehrlich
Date: Wed, 10 May 1989 04:54
30 lines
1424 bytes
Machine Type:   Sun 4/260S
O/S Version:    SunOS 4.0
Organization:   Computer Science Department, The Pennsylvania State University
                333 Whitmore Laboratory, University Park, PA   16802
Phone Number:   +1 814 865 9723

Description:
	Some of the GNU utilities would not compile on a Sun4 bacause of
	renamed strutures and struture members did not have macros defining
	the old names.

Repeat-By:
	Get the latest binutils from GNU and try to compile strip on a Sun4.

Fix:
	Apply the following patch to sun4/a.out.h

*** /usr/src/sys/sun4/a.out.h	Sat Oct 22 15:36:11 1988
--- /usr/include/sun4/a.out.h	Tue May  2 13:23:58 1989
***************
*** 111,116 ****
--- 111,118 ----
  	long int	r_addend;	/* addend for relocation value	      */
  };

+ #define	r_symbolnum	r_index		/* for backward compatability */
+ #define relocation_info reloc_info_sparc


  /*
Technical Details
Message-ID: <8905031422.AA27157@shire.cs.psu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!husc6!rice!sun-spots-request
From: ehrlich@shire.cs.psu.edu (Dan Ehrlich)
Newsgroups: comp.sys.sun
Subject: sun4/a.out.h doesn't define relocation_info et al
Keywords: Software
Message-ID: <8905031422.AA27157@shire.cs.psu.edu>
Date: 10 May 89 04:54:03 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 30
Approved: Sun-Spots@rice.edu
Original-Date: Wed, 3 May 89 10:22:48 EDT
X-Sun-Spots-Digest: Volume 7, Issue 279, message 22 of 23