Re: [RS6000] Weak functions may not be file local

2015-09-01 Thread David Edelsohn
On Tue, Sep 1, 2015 at 3:51 AM, Alan Modra wrote: > A weak symbol defined in the current object file may not turn out to > be the definition used at link time, if other copies of the symbol > exist. This means they can't be considered file local; Calls to > weak functions need a nop so that the

[RS6000] Weak functions may not be file local

2015-09-01 Thread Alan Modra
A weak symbol defined in the current object file may not turn out to be the definition used at link time, if other copies of the symbol exist. This means they can't be considered file local; Calls to weak functions need a nop so that the linker can replace it with a toc restoring insn if the func