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