(elf_machine_rel): Print warning about changed size in copy relocation
only if symbol in shared object is larger or _dl_verbose is nonzero.
This commit is contained in:
parent
a10ff2ea76
commit
b5fba1adf7
@ -227,7 +227,8 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
|
||||
switch (ELF32_R_TYPE (reloc->r_info))
|
||||
{
|
||||
case R_68K_COPY:
|
||||
if (sym->st_size != refsym->st_size)
|
||||
if (sym->st_size > refsym->st_size
|
||||
|| (_dl_verbose && sym->st_size < refsym->st_size))
|
||||
{
|
||||
const char *strtab;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user