OSDN Git Service

Joseph S. Myers writes:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Tue, 9 Jan 2007 22:30:16 +0000 (22:30 -0000)
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>
Tue, 9 Jan 2007 22:30:16 +0000 (22:30 -0000)
commit9855a12e730886e224de11964f36f359387f77c3
tree5ed5bb22ae44de1c5ffe193dc7b8d0105edbd809
parente26ed573b62f69d9813e72fda4ee3da6eaf4d7b7
Joseph S. Myers writes:

ELF symbol names are arbitrary 0-terminated sequences of bytes, and the
ELF hash function is defined in the ELF specification to use unsigned
char.  Thus uClibc's _dl_elf_hash, using plain char, breaks when char is
signed and symbol names contain bytes with the high bit set, as with GCC's
ucnid-* tests.  This patch fixes this problem.
ldso/ldso/dl-hash.c