mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* coffgen.c (coff_renumber_symbols): Sort defined symbols that are
neither BSF_FUNCTION not BSF_NOT_AT_END just before undefined symbols. * coffcode.h (coff_slurp_symbol_table): Set BSF_FUNCTION as well as BSF_NOT_AT_END. PR 5491.
This commit is contained in:
@@ -2449,7 +2449,7 @@ coff_slurp_symbol_table (abfd)
|
||||
#if 0
|
||||
dst->symbol.value = src->u.syment.n_value - dst->symbol.section->vma;
|
||||
dst->symbol.flags = BSF_EXPORT | BSF_GLOBAL;
|
||||
dst->symbol.flags |= BSF_NOT_AT_END;
|
||||
dst->symbol.flags |= BSF_NOT_AT_END | BSF_FUNCTION;
|
||||
#endif
|
||||
/* Fall through to next case */
|
||||
|
||||
@@ -2491,7 +2491,7 @@ coff_slurp_symbol_table (abfd)
|
||||
/*
|
||||
A function ext does not go at the end of a file
|
||||
*/
|
||||
dst->symbol.flags |= BSF_NOT_AT_END;
|
||||
dst->symbol.flags |= BSF_NOT_AT_END | BSF_FUNCTION;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user