This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi!
This is something I cannot understand how it ever worked. If there is a reloc overflow on ppc32, _dl_reloc_overflow tries to print the name of the symbol. But unless sym is NULL (and thus errsym = refsym) resp. equal to refsym, it will print something from the refsym's strtab at index sym->st_name, ie. a random string at best, worst case segfault. To print sym's name instead of refsym's (though I don't understand why that is needed, both sym and refsym ought to always have the same symbol name, otherwise symbol lookup is broken) we'd have to pass down sym_map as well, but sym_map is not always computed (ATM only if --with-tls).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |