diff options
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index eccb44a..89b8943 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -804,8 +804,9 @@ objfile_relocate1 (struct objfile *objfile, struct minimal_symbol *msym; ALL_OBJFILE_MSYMBOLS (objfile, msym) - if (SYMBOL_SECTION (msym) >= 0) - SYMBOL_VALUE_ADDRESS (msym) += ANOFFSET (delta, SYMBOL_SECTION (msym)); + if (MSYMBOL_SECTION (msym) >= 0) + MSYMBOL_VALUE_ADDRESS (msym) += ANOFFSET (delta, + MSYMBOL_SECTION (msym)); } /* Relocating different sections by different amounts may cause the symbols to be out of order. */ |