about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-11-05 22:13:46 +0000
committerUlrich Drepper <drepper@redhat.com>2001-11-05 22:13:46 +0000
commitea41b9267dbd64faec6630e45fac87afb663ec11 (patch)
tree679e69865b152dc393c67d28740f83486df047b8 /sysdeps
parent3abe7c31ed9b6d7b6b977ecba0e0eabce9d5ba1f (diff)
downloadglibc-ea41b9267dbd64faec6630e45fac87afb663ec11.tar.gz
glibc-ea41b9267dbd64faec6630e45fac87afb663ec11.tar.xz
glibc-ea41b9267dbd64faec6630e45fac87afb663ec11.zip
Update.
	* elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
	strings.  Change type of second parameter.
	* sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
	for last change.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/ldsodefs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index a06ec78cf4..fd4d992253 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -416,9 +416,8 @@ extern void _dl_relocate_object (struct link_map *map,
    TYPE is the result of ELFW(R_TYPE) (r_info), i.e. an R_<CPU>_* value.
    PLT is nonzero if this was a PLT reloc; it just affects the message.  */
 extern void _dl_reloc_bad_type (struct link_map *map,
-				uint_fast8_t type, int plt)
-     internal_function
-     __attribute__ ((__noreturn__));
+				unsigned int type, int plt)
+     internal_function __attribute__ ((__noreturn__));
 
 /* Check the version dependencies of all objects available through
    MAP.  If VERBOSE print some more diagnostics.  */