This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Handle R_ALPHA_NONE


I got a few R_ALPHA_NONEs in ld.so with binutils 2.12.90.0.4 and gcc
2.96-109. I need this patch to compile glibc on alpha.


H.J.
----
2002-04-15  H.J. Lu  <hjl@gnu.org>

	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle
	R_ALPHA_NONE.

--- libc/sysdeps/alpha/dl-machine.h.none	Mon Apr 15 09:48:01 2002
+++ libc/sysdeps/alpha/dl-machine.h	Mon Apr 15 13:47:42 2002
@@ -563,6 +563,8 @@ elf_machine_rela (struct link_map *map,
 	  memcpy (reloc_addr_1, &sym_value, 8);
 	}
 #endif
+      else if (r_type == R_ALPHA_NONE)
+	return;
       else
 	_dl_reloc_bad_type (map, r_type, 0);
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]