This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Add PROVIDE_HIDDEN


On Thu, Aug 04, 2005 at 10:41:24AM -0700, H. J. Lu wrote:
> On Thu, Aug 04, 2005 at 03:50:37PM +0930, Alan Modra wrote:
> > Now that we have stripping of empty output sections, even when they
> > contain symbols, a lot of special purpose code can be removed.  Simply
> > defining symbols in the linker script should work.  This patch does
> > that and also fixes some cases where PowerPC SDA relocs were
> > mishandled.
> > 
> 
> There is one problem. The linker provided symbols used to hidden, now
> they are global. It is a very bad when some bound symbols have to
> be provided for DSOs. I should we should make all linker provided
> symbol hidden for ELF.
> 
> 

This patch adds PROVIDE_HIDDEN.


H.J.

Attachment: binutils-hide-1.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]