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

Dan Ehrlich ehrlich at shire.cs.psu.edu
Wed May 10 14:54:03 AEST 1989


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


  /*



More information about the Comp.sys.sun mailing list