bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/1811] ELF linker loads member of archive for common symbol


From: kean at armory dot com
Subject: [Bug ld/1811] ELF linker loads member of archive for common symbol
Date: 5 Nov 2005 19:06:20 -0000

------- Additional Comments From kean at armory dot com  2005-11-05 19:06 
-------
> I think Solaris linker hehavior makes some senses. Kean, can you try
> this testcase with your linker?
I agree on teh surface it makes sense, but it also has very specific broken
behaviour. See previous comment.

> ./main1
> 3
> 
> ./main2
> 3
> 
> ./main3
> 3
> 

I get:
./main1
0

./main2
3

./main3
3

On OSR5 in COFF mode (no main3 becasue no shared libraries):

./main1
0

./main2
3

The above using the native tools of course. Using gcc, I get the same results
you do becuase its using the same ld you are.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1811

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]