X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gprof%2Fcorefile.c;h=01d6fec33541569bae37c7621864a97192a0b776;hb=c092b67bf0adb0fc1e179612b161e19938929e66;hp=87de7bc67e204ec1f215b40a21c9cc9d55c03d5d;hpb=c616591359a014fcfdb5acb48e70ecda0823fb46;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/corefile.c b/gprof/corefile.c index 87de7bc67e..01d6fec335 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -1,6 +1,6 @@ /* corefile.c - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2017 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -847,7 +847,7 @@ core_create_line_syms (void) The old way called symtab_finalize before the is_static pass, causing a problem since symtab_finalize uses is_static as part of its address conflict resolution algorithm. Since global symbols - were prefered over static symbols, and all line symbols were + were preferred over static symbols, and all line symbols were global at that point, static function names that conflicted with their own line numbers (static, but labeled as global) were rejected in favor of the line num.