Subject: Re: "RRS text relocation at ..."?
To: Roger Ivie <IVIE@cc.usu.edu>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-vax
Date: 09/29/2001 21:12:41
> My 4000/96 is humming along nicely, but when building programs on it
> I frequently see messages like this:

> ld: unixunpk.o: RRS text relocation at 0x18ff for "___sF"

> What does this mean?  Is this something I have to worry about?

What does it mean?  At the surface, it means that ld found a specific
type of relocation record in the text segment.  I don't know enough to
go into it much deeper than that.

Do you need to worry about it?  Not as far as I can tell.  One of the
patches in my private patch tree is

--- OLD/gnu/usr.bin/ld/ld/rrs.c	Thu Jan  1 00:00:00 1970
+++ NEW/gnu/usr.bin/ld/ld/rrs.c	Thu Jan  1 00:00:00 1970
@@ -306,7 +306,8 @@
 {
 	struct relocation_info	*r = rrs_next_reloc();
 
-#if !defined(__arm32__) && 1	/* prints too much on arm32 */
+/* prints too much on arm32 & vax */
+#if ! (defined(__arm32__) || defined(__vax__))
 	if (rp->r_address < text_start + text_size)
 		warnx("%s: RRS text relocation at %#x for \"%s\"",
 			get_file_name(entry), rp->r_address, sp->name);

> If it's not something I have to worry about, why does ld think it's
> interesting enough to remark upon?

I have no idea.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B