This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: It is ok to have undefined hidden symbols in a .o file


On Mon, Jun 05, 2000 at 01:03:43PM -0700, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@valinux.com> writes:
> 
> > Where there are
> > 
> > 1. foo is undefined, hidden in bar.o
> > 2. foo is defined in foo.o.
> 
> Yep, this must be possible.
> 
> > both
> > 
> > # gcc -shared -o libfoo.so bar.o foo.o
> > # gcc -shared -o libfoo.so foo.o bar.o
> > 
> > should work. This patch fixes it. I'd like to check it in if it
> > is ok with everyone.
> 
> Makes sense to me.
> 

Thanks. I checked in my patch. I also checked some new testcases into
ld/testsuite/ld-elfvsb.


-- 
H.J. Lu (hjl@gnu.org)

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