sparc compiler behavior/nroff driver tables

Ed Arnold era at niwot.ucar.edu
Fri Jul 14 07:39:07 AEST 1989


A while back, I submitted a question to this group about a problem with
making nroff driver tables on sun-4s.  It turns out that there is a trick
to doing this on sun-4s, which is:

	cc -c tab.c
	ld -N -Tdata 0 tab.o; mv a.out tab.o

This has the effect of moving the relocation info from the special section
at the end of a sparc binary, into the data segment.

Ed Arnold
era at ncar.ucar.edu



More information about the Comp.sys.sun mailing list