aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-06 23:33:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-06 23:33:20 +0000
commitcf90163d418e0cf83166e85735ba81a3cd28ed32 (patch)
tree21c0c406b7d2a8d379366b7f9026782f24ede334 /sysdeps
parenta85d5c806068dc0d6332390c7a87e60ccd99be9a (diff)
downloadglibc-cf90163d418e0cf83166e85735ba81a3cd28ed32.tar
glibc-cf90163d418e0cf83166e85735ba81a3cd28ed32.tar.gz
glibc-cf90163d418e0cf83166e85735ba81a3cd28ed32.tar.bz2
glibc-cf90163d418e0cf83166e85735ba81a3cd28ed32.zip
Regenerated: autoconf configure.in
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/sparc/sparc32/dl-machine.h2
-rw-r--r--sysdeps/sparc/sparc64/dl-machine.h2
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c5
3 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/sparc/sparc32/dl-machine.h b/sysdeps/sparc/sparc32/dl-machine.h
index e771676f0f..cd91addda5 100644
--- a/sysdeps/sparc/sparc32/dl-machine.h
+++ b/sysdeps/sparc/sparc32/dl-machine.h
@@ -396,7 +396,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
*reloc_addr = value;
break;
case R_SPARC_JMP_SLOT:
- elf_machine_fixup_plt(map, NULL, reloc, reloc_addr, value);
+ elf_machine_fixup_plt(map, 0, reloc, reloc_addr, value);
break;
case R_SPARC_8:
*(char *) reloc_addr = value;
diff --git a/sysdeps/sparc/sparc64/dl-machine.h b/sysdeps/sparc/sparc64/dl-machine.h
index 35efc8e9f1..fc89f08ed2 100644
--- a/sysdeps/sparc/sparc64/dl-machine.h
+++ b/sysdeps/sparc/sparc64/dl-machine.h
@@ -313,7 +313,7 @@ elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc,
break;
case R_SPARC_JMP_SLOT:
- elf_machine_fixup_plt(map, NULL, reloc, reloc_addr, value);
+ elf_machine_fixup_plt(map, 0, reloc, reloc_addr, value);
break;
case R_SPARC_UA64:
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c b/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c
index 6a77e28a8a..1218f9dae0 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c
@@ -48,8 +48,9 @@ __mmap64 (__ptr_t addr, size_t len, int prot, int flags, int fd, off64_t offset)
int saved_errno = errno;
#endif
/* This will be always 12, no matter what page size is. */
- __ptr_t result = INLINE_SYSCALL (mmap2, 6, addr, len, prot, flags,
- fd, (off_t) (offset >> 12));
+ __ptr_t result =
+ (__ptr_t) INLINE_SYSCALL (mmap2, 6, addr, len, prot, flags,
+ fd, (off_t) (offset >> 12));
#ifndef __ASSUME_MMAP2_SYSCALL
if (result != (__ptr_t) -1 || errno != ENOSYS)