aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-07-07 21:40:56 +0000
committerIan Lance Taylor <ian@airs.com>1995-07-07 21:40:56 +0000
commitc7e76b5eeacef4d01d6f2b9469bd28ba8a8d3deb (patch)
tree3448ef9d0ef5afda362aecaf4fa9438d369a7840 /bfd/coffcode.h
parent53751507542505263b2e1cf2aee3710aa223096e (diff)
downloadgdb-c7e76b5eeacef4d01d6f2b9469bd28ba8a8d3deb.zip
gdb-c7e76b5eeacef4d01d6f2b9469bd28ba8a8d3deb.tar.gz
gdb-c7e76b5eeacef4d01d6f2b9469bd28ba8a8d3deb.tar.bz2
* 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.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h4
1 files changed, 2 insertions, 2 deletions
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;
}
}