Subject: Re: RRS text relocation
To: Thorsten Jens <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-vax
Date: 01/17/2001 19:44:43
> When I compile software for NetBSD/vax, I sometimes get several lines
> of output like:

>  ld: print.o: RRS text relocation at <hex number> for "___sF"

> Is this something to worry about?

Not as far as I can tell.  I went looking for the source to it and
found this in gnu/usr.bin/ld/ld/rrs.c:

#if !defined(__arm32__) && 1	/* prints too much on arm32 */
	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);

I replaced the #if with

/* prints too much on arm32 & vax */
#if ! (defined(__arm32__) || defined(__vax__))

and I've had no trouble from it since.

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B