|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/23499] Incorrect code in bfd_elf_record_link_assignment |
Date: | Sat, 25 Aug 2018 13:21:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23499 --- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7a815dd566f3dd32435ac73aa0a0cc948d525e06 commit 7a815dd566f3dd32435ac73aa0a0cc948d525e06 Author: H.J. Lu <address@hidden> Date: Sat Aug 25 06:17:52 2018 -0700 elf: Check for corrupt symbol version info The BFD linker with PR ld/23499 may generate shared libraries with corrupt symbol version info which leads to linker error when the corrupt shared library is used: /usr/bin/ld: bin/libKF5Service.so.5.49.0: _edata: invalid version 21 (max 0) /usr/bin/ld: bin/libKF5Service.so.5.49.0: error adding symbols: bad value Add check for corrupt symbol version info to objdump: 00000000000af005 g D .data 0000000000000000 <corrupt> _edata and readelf: 728: 00000000000af005 0 NOTYPE GLOBAL DEFAULT 25 _edata@<corrupt> (5) bfd/ PR ld/23499 * elf.c (_bfd_elf_get_symbol_version_string): Return _("<corrupt>") for corrupt symbol version info. binutils/ PR ld/23499 * readelf.c (get_symbol_version_string): Return _("<corrupt>") for corrupt symbol version info. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |