Subject: re: sparc64-netbsd toolchain lossage :-(
To: None <port-sparc64@netbsd.org, tech-toolchain@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: tech-toolchain
Date: 08/14/2001 20:23:31
   
   2000-08-16  Andrew Macleod  <amacleod@cygnus.com>
   
   	* elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
   	for undefined symbols to be the beginning of the section.
   
   
   *************** sparc64_elf_relocate_section (output_bfd
   *** 2068,2081 ****
     		      (!info->shared || info->no_undefined
     		       || ELF_ST_VISIBILITY (h->other)))))
     		return false;
   - 
   - 	      /* To avoid generating warning messages about truncated
   - 		 relocations, set the relocation's address to be the same as
   - 		 the start of this section.  */
   - 
   - 	      if (input_section->output_section != NULL)
   - 		relocation = input_section->output_section->vma;
   - 	      else
     		relocation = 0;
     	    }
     	}
   --- 2074,2079 ----



actually, just this part is needed.  so the ld.elf_so seems to be
right.  i guess the above is trashing already set relocations..


.mrg.