Revert "Set section index when setting a symbol's block"

This reverts commit 5abbfa982215a5bcd2bf2c0b92cbb005464dc927.
This commit is contained in:
Alexey Lapshin
2024-03-18 12:56:15 +04:00
parent 9884a78493
commit 02a220d713

View File

@ -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)