Subject: Re: ld botch (really is gas -R and ld problem)
To: None <port-i386@NetBSD.ORG>
From: George Michaelson <G.Michaelson@cc.uq.oz.au>
List: port-i386
Date: 01/11/1995 13:06:45
Bloody MIT!
Kerberos is built with code of the form *.ct which is
a pre-processor file listing a user command interface.
An internal command make_commands runs over this and
makes a .o file linking the runtime funcs into a jump
table with embedded helpstrings and prompts.
The make_commands invoked $(CC) -R and the -R flag
was being passed to gas to fold data into text. This
appears to cause ld to barf bigtime.
SO:
Does anybody understand why ld is upset if gas -R is
used before it links a final object? Should I be
reporting this as a gas/ld problem?
-George