[comp.sys.sun] sparc compiler behavior/nroff driver tables

era@niwot.ucar.edu (Ed Arnold) (07/14/89)

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@ncar.ucar.edu