This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: Versioning mess proved!!!


Christian Iseli <chris@ludwig-alpha.unil.ch> writes:

|> Hi,
|> 
|> geoffk@cygnus.com said:
|> > Actually, weak symbols don't work at all in executables on x86, which
|> > is probably why x86 doesn't see this problem.
|> 
|> > Try this in bash: 
|> 
|> Just for kicks, I tried this on my alpha machine, and it's the same as the 
|> x86:
|> $ gcc tA.c -o tA
|> $ gcc -fpic -shared tB.c -o tB.so
|> $ LD_PRELOAD=./tB.so ./tA
|> (nil)

Dito for m68k.  The executable does not have any relocation for foo, even
with -rdynamic.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

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