On 05/08/13 18:47, Jan Hubicka wrote:
On 05/08/13 14:11, Jan Hubicka wrote:
* a new function or hook 'binds_here_p' (and any default
implementations needed). Returns true if the symbol is known to
bind in the object file being emitted by the current compilation.
Thinking about it again, isn't decl_replaceable_p the thing you are looking for
here?
that looks promising. I'll try !decl_replaceable_p in the section anchor hook.
I wonder if we can come with something more clearly named.
When it comes to weird predicates on symbols, we also have
can_refer_decl_in_current_unit_p.
thanks for your comments, if decl_replaceable_p is the right existing predicate,
that does make figuring out the right set of names less urgent.
nathan