From c7e76b5eeacef4d01d6f2b9469bd28ba8a8d3deb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 7 Jul 1995 21:40:56 +0000 Subject: * 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. --- bfd/coffcode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/coffcode.h') diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 185beab..14326fb 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -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; } } -- cgit v1.1