------- 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.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to