mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-14 05:08:32 +08:00
Revert "Set section index when setting a symbol's block"
This reverts commit 5abbfa9822.
This commit is contained in:
@@ -244,7 +244,6 @@ buildsym_compunit::finish_block_internal
|
|||||||
{
|
{
|
||||||
struct type *ftype = symbol->type ();
|
struct type *ftype = symbol->type ();
|
||||||
symbol->set_value_block (block);
|
symbol->set_value_block (block);
|
||||||
symbol->set_section_index (SECT_OFF_TEXT (m_objfile));
|
|
||||||
block->set_function (symbol);
|
block->set_function (symbol);
|
||||||
|
|
||||||
if (ftype->num_fields () <= 0)
|
if (ftype->num_fields () <= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user