* readelf.c (dump_section): Don't print 32-bit values, which
[deliverable/binutils-gdb.git] / gdb / elfread.c
index 7b4d6d74b4f29da99f6cd42416bac22886521281..d642b7ff7fcc870194371bb9c7b52b60e8279960 100644 (file)
@@ -284,7 +284,7 @@ elf_symtab_read (struct objfile *objfile, int dynamic,
            }
          else if (sym->section->flags & SEC_CODE)
            {
-             if (sym->flags & BSF_GLOBAL)
+             if (sym->flags & (BSF_GLOBAL | BSF_WEAK))
                {
                  ms_type = mst_text;
                }
This page took 0.023205 seconds and 4 git commands to generate.