mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
Fix usage of new _dl_signal_error() format.
This commit is contained in:
parent
a3a247a8b1
commit
09d4f65308
@ -501,7 +501,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
|
||||
topbits = newvalue & 0xfe000000;
|
||||
if (topbits != 0xfe000000 && topbits != 0x00000000)
|
||||
{
|
||||
_dl_signal_error (0, map->l_name,
|
||||
_dl_signal_error (0, map->l_name, NULL,
|
||||
"R_ARM_PC24 relocation out of range");
|
||||
}
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ __hppa_make_fptr (const struct link_map *sym_map, Elf32_Addr value,
|
||||
if (_dl_zerofd == -1)
|
||||
{
|
||||
__close (fd);
|
||||
_dl_signal_error (errno, NULL,
|
||||
_dl_signal_error (errno, NULL, NULL,
|
||||
"cannot open zero fill device");
|
||||
}
|
||||
}
|
||||
@ -110,7 +110,7 @@ __hppa_make_fptr (const struct link_map *sym_map, Elf32_Addr value,
|
||||
__fptr_next = __mmap (0, _dl_pagesize, PROT_READ | PROT_WRITE,
|
||||
MAP_ANON | MAP_PRIVATE, ANONFD, 0);
|
||||
if (__fptr_next == MAP_FAILED)
|
||||
_dl_signal_error(errno, NULL, "cannot map page for fptr");
|
||||
_dl_signal_error(errno, NULL, NULL, "cannot map page for fptr");
|
||||
__fptr_count = _dl_pagesize / sizeof (struct hppa_fptr);
|
||||
}
|
||||
f = __fptr_next++;
|
||||
|
@ -239,7 +239,7 @@ elf_machine_runtime_link_map (ElfW(Addr) gpreg, ElfW(Addr) stub_pc)
|
||||
}
|
||||
}
|
||||
|
||||
_dl_signal_error (0, NULL, "cannot find runtime link map");
|
||||
_dl_signal_error (0, NULL, NULL, "cannot find runtime link map");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -311,7 +311,7 @@ elf_machine_runtime_link_map (ElfW(Addr) gpreg, ElfW(Addr) stub_pc)
|
||||
}
|
||||
}
|
||||
|
||||
_dl_signal_error (0, NULL, "cannot find runtime link map");
|
||||
_dl_signal_error (0, NULL, NULL, "cannot find runtime link map");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user