mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-10 01:25:30 +08:00
* dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in
the SHT_SYMTAB case.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-01-08 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
* dynobj.cc (big_endian>::find_dynsym_sections): Set pi to NULL in
|
||||||
|
the SHT_SYMTAB case.
|
||||||
|
|
||||||
2010-01-08 Ian Lance Taylor <iant@google.com>
|
2010-01-08 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
* object.cc (Sized_relobj::do_layout): Don't get confused if
|
* object.cc (Sized_relobj::do_layout): Don't get confused if
|
||||||
|
@ -131,6 +131,7 @@ Sized_dynobj<size, big_endian>::find_dynsym_sections(
|
|||||||
break;
|
break;
|
||||||
case elfcpp::SHT_SYMTAB:
|
case elfcpp::SHT_SYMTAB:
|
||||||
symtab_shndx = i;
|
symtab_shndx = i;
|
||||||
|
pi = NULL;
|
||||||
break;
|
break;
|
||||||
case elfcpp::SHT_GNU_versym:
|
case elfcpp::SHT_GNU_versym:
|
||||||
pi = pversym_shndx;
|
pi = pversym_shndx;
|
||||||
|
Reference in New Issue
Block a user