Convert block_linkage_function to method

This converts block_linkage_function to be a method.  This was mostly
written by script.
This commit is contained in:
Tom Tromey
2023-01-16 17:44:20 -07:00
parent 3c45e9f915
commit 3c9d050626
10 changed files with 22 additions and 19 deletions

View File

@@ -9230,7 +9230,7 @@ resolve_sal_pc (struct symtab_and_line *sal)
sal->symtab->compunit ());
if (bv != NULL)
{
sym = block_linkage_function (b);
sym = b->linkage_function ();
if (sym != NULL)
sal->section
= sym->obj_section (sal->symtab->compunit ()->objfile ());