diff options
author | meibf <meibf@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-28 10:39:38 +0000 |
---|---|---|
committer | meibf <meibf@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-28 10:39:38 +0000 |
commit | 61a3c321a48afb9f635bf488eec7d2e6208e4d28 (patch) | |
tree | fcb4698113cc298ba8c467ab738e7c19bf245308 /gcc/lto-section-in.c | |
parent | f925fe89b22d5cd843f3d8f2e2c4dc68bdb8262c (diff) | |
download | gcc-61a3c321a48afb9f635bf488eec7d2e6208e4d28.tar.gz |
2010-06-28 Bingfeng Mei <bmei@broadcom.com>
* cgraph.h (struct varpool_node): new used_from_object_file flag.
(struct cgraph_local_info): new used_from_object_file flag.
* cgraph.c (dump_cgraph_node): dump used_from_object_file flag.
(cgraph_clone_node): initialize used_from_object_file.
(cgraph_create_virtual_clone): initialize used_from_object_file.
* lto-symbtab.c (lto_symtab_merge_decls_1): Set
used_from_object_file flags for symbols of LDPR_PREVAILING_DEF
when compiling with -fwhole-program.
(lto_symtab_resolve_symbols) Use LDPR_PREVAILING_DEF_IRONLY for
internal resolver.
* ipa.c (function_and_variable_visibility): Set externally_visible
flag of varpool_node if used_from_object_file flag is set.
(cgraph_externally_visible_p): check used_from_object_file flag.
* doc/invoke.texi (-fwhole-program option): Change description of
externally_visible attribute accordingly.
* doc/extend.texi (externally_visible): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161483 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-section-in.c')
0 files changed, 0 insertions, 0 deletions