about summary refs log tree commit diff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-07 22:59:32 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-07 22:59:32 +0000
commit4dbb64174c5cc00dc2aa40784b57889f8e0b6c5e (patch)
tree0a5ac4e80a8c27a74046376f86685b8b110e02ce /sysdeps/sparc
parent6c112c15ad8d27dd8da9fdac1088ed274ecdf036 (diff)
downloadglibc-4dbb64174c5cc00dc2aa40784b57889f8e0b6c5e.tar.gz
glibc-4dbb64174c5cc00dc2aa40784b57889f8e0b6c5e.tar.xz
glibc-4dbb64174c5cc00dc2aa40784b57889f8e0b6c5e.zip
Update.
2001-07-06  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
	explicitly into .text section.

2001-04-16  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
	Add 16 longwords reserved for future use to match changes in the
	kernel.

2001-07-03  Jes Sorensen  <jes@trained-monkey.org>

	* sysdeps/ia64/strncpy.S: Call strnlen() when determining the
	string length rather than strlen(). Solves the performance problem
	of doing strlen on a 5MB string when strncpy was called with a
	length argument of 5 bytes.

2001-07-02  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
	R_SPARC_UA16 and R_SPARC_UA32.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.

2001-07-01  Stephen L Moshier  <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
	acosh(x) = ln(2x) if x > 2^30.
	* sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
	acosh(x) = ln(2x) if x > 2^54.

	* sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/dl-machine.h10
-rw-r--r--sysdeps/sparc/sparc64/dl-machine.h10
2 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc32/dl-machine.h b/sysdeps/sparc/sparc32/dl-machine.h
index 542e84aca1..460421d996 100644
--- a/sysdeps/sparc/sparc32/dl-machine.h
+++ b/sysdeps/sparc/sparc32/dl-machine.h
@@ -434,6 +434,16 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
 	case R_SPARC_HI22:
 	  *reloc_addr = (*reloc_addr & 0xffc00000) | (value >> 10);
 	  break;
+	case R_SPARC_UA16:
+	  ((unsigned char *) reloc_addr) [0] = value >> 8;
+	  ((unsigned char *) reloc_addr) [1] = value;
+	  break;
+	case R_SPARC_UA32:
+	  ((unsigned char *) reloc_addr) [0] = value >> 24;
+	  ((unsigned char *) reloc_addr) [1] = value >> 16;
+	  ((unsigned char *) reloc_addr) [2] = value >> 8;
+	  ((unsigned char *) reloc_addr) [3] = value;
+	  break;
 #endif
 	case R_SPARC_NONE:		/* Alright, Wilbur.  */
 	  break;
diff --git a/sysdeps/sparc/sparc64/dl-machine.h b/sysdeps/sparc/sparc64/dl-machine.h
index c63dc074c0..b7f2d62c90 100644
--- a/sysdeps/sparc/sparc64/dl-machine.h
+++ b/sysdeps/sparc/sparc64/dl-machine.h
@@ -338,6 +338,16 @@ elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc,
 	  elf_machine_fixup_plt(map, 0, reloc, reloc_addr, value);
 	  break;
 #ifndef RTLD_BOOTSTRAP
+	case R_SPARC_UA16:
+	  ((unsigned char *) reloc_addr) [0] = value >> 8;
+	  ((unsigned char *) reloc_addr) [1] = value;
+	  break;
+	case R_SPARC_UA32:
+	  ((unsigned char *) reloc_addr) [0] = value >> 24;
+	  ((unsigned char *) reloc_addr) [1] = value >> 16;
+	  ((unsigned char *) reloc_addr) [2] = value >> 8;
+	  ((unsigned char *) reloc_addr) [3] = value;
+	  break;
 	case R_SPARC_UA64:
 	  if (! ((long) reloc_addr & 3))
 	    {