]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/stabsread.c
gdb: delete SYMBOL_SECTION and MSYMBOL_SECTION macros
[thirdparty/binutils-gdb.git] / gdb / stabsread.c
index 33f200abf5972dd31f79d05aac73145fd9262c23..d83f4b40a6a2bbf75f950ef1aa1388821b5de416 100644 (file)
@@ -4590,7 +4590,7 @@ scan_file_globals (struct objfile *objfile)
                            (sym, MSYMBOL_VALUE_ADDRESS (resolve_objfile,
                                                         msymbol));
                        }
-                     SYMBOL_SECTION (sym) = MSYMBOL_SECTION (msymbol);
+                     sym->set_section_index (msymbol->section_index ());
                    }
 
                  if (prev)