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

This reverts commit 5abbfa9822.
This commit is contained in:
Alexey Lapshin
2024-03-18 12:56:15 +04:00
parent 2fdaf70840
commit fa01c85e7b

View File

@@ -244,7 +244,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)