mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
Update.
2002-12-28 Andreas Jaeger <aj@suse.de> * sysdeps/generic/readelflib.c (process_elf_file): Cast value to avoid warning. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
This commit is contained in:
parent
270d9d4729
commit
b25a62a8a3
@ -1,3 +1,9 @@
|
||||
2002-12-28 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/generic/readelflib.c (process_elf_file): Cast value to
|
||||
avoid warning.
|
||||
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
|
||||
|
||||
2002-12-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* inet/herrno.c (__h_errno_location): Remove.
|
||||
|
@ -219,7 +219,7 @@ _dl_load_cache_lookup (const char *name)
|
||||
|
||||
hwcap = &GL(dl_hwcap);
|
||||
platform = _dl_string_platform (GL(dl_platform));
|
||||
if (platform != -1)
|
||||
if (platform != (uint64_t) -1)
|
||||
platform = 1ULL << platform;
|
||||
|
||||
/* Only accept hwcap if it's for the right platform. */
|
||||
|
@ -100,7 +100,7 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
|
||||
switch (segment->p_type)
|
||||
{
|
||||
case PT_LOAD:
|
||||
if (loadaddr == -1)
|
||||
if (loadaddr == (ElfW(Addr)) -1)
|
||||
loadaddr = segment->p_vaddr - segment->p_offset;
|
||||
break;
|
||||
|
||||
@ -145,7 +145,7 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
|
||||
}
|
||||
|
||||
}
|
||||
if (loadaddr == -1)
|
||||
if (loadaddr == (ElfW(Addr)) -1)
|
||||
{
|
||||
/* Very strange. */
|
||||
loadaddr = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user