elf.c (elf_open_debugfile_by_debuglink): Don't check CRC if the desired CRC is zero.
authorIan Lance Taylor <iant@golang.org>
Thu, 25 Jan 2018 18:14:04 +0000 (18:14 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 25 Jan 2018 18:14:04 +0000 (18:14 +0000)
commit96f7c2a94afaa4b09091b96c1bc869db18d2c3ed
tree46a2c9696935f89af755b2fe8d3c8b5ecc549499
parenta88d1f8bb2015c752fc783e168e25e5dab99a8b9
elf.c (elf_open_debugfile_by_debuglink): Don't check CRC if the desired CRC is zero.

* elf.c (elf_open_debugfile_by_debuglink): Don't check CRC if the
desired CRC is zero.
(elf_add): Don't clear *found_sym and *found_dwarf if debuginfo.

From-SVN: r257062
libbacktrace/ChangeLog
libbacktrace/elf.c