Re: Information regarding -fPIC support for Interix gcc

2007-04-10 Thread Joe Buck
On Tue, Apr 10, 2007 at 05:05:36AM +0800, Mayank Kumar wrote: > That information was really very helpful. I have been able to localize the bug. The issue is in the assembler. When I create a object file using the assembler(as test.s -o test.o), the contents of .rdata which contains the jump

RE: Information regarding -fPIC support for Interix gcc

2007-04-09 Thread Mayank Kumar
nks Mayank -Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 9:14 PM To: Mayank Kumar Cc: gcc@gcc.gnu.org Subject: Re: Information regarding -fPIC support for Interix gcc Mayank Kumar <[EMAIL PROTECTED]> writes: > For Movl [EMAIL PROTECT

Re: Information regarding -fPIC support for Interix gcc

2007-04-03 Thread Ian Lance Taylor
Mayank Kumar <[EMAIL PROTECTED]> writes: > For Movl [EMAIL PROTECTED](%ebx,%eax),%eax > mov > 0xbd14(%eax,%ebx,1),%eax > > I verified that data contained in .rdata section is all wrong in my case with > both my gcc3.3 compiler as well gcc4.3 compiler. > This is why the jump happens

RE: Information regarding -fPIC support for Interix gcc

2007-04-03 Thread Mayank Kumar
Ian Lance Taylor Sent: Tuesday, April 03, 2007 12:28 AM To: Mayank Kumar Cc: gcc@gcc.gnu.org Subject: Re: Information regarding -fPIC support for Interix gcc Mayank Kumar <[EMAIL PROTECTED]> writes: > 1: I am keen on understanding how does the offset of L32 from > _GLOBAL_OFFSET_TABLE

Re: Information regarding -fPIC support for Interix gcc

2007-04-02 Thread Ian Lance Taylor
Mayank Kumar <[EMAIL PROTECTED]> writes: > 1: I am keen on understanding how does the offset of L32 from > _GLOBAL_OFFSET_TABLE_ generated ? I mean if assembly is > > Movl [EMAIL PROTECTED](%ebx,%eax),%eax then how does is gets converted to mov > 0xbd14(%eax,%ebx,1),%eax. I guessed that L3

RE: Information regarding -fPIC support for Interix gcc

2007-04-01 Thread Mayank Kumar
please try to apply my 4.3 patch and see if it generates correct code. The only difference in the patch would be to define TARGET_CYGMING to 1 in the file i386-interix.h. > > Thanks > Mayank > Thanks Murali > > -Original Message- > From: Ian Lance Taylor [mailto:[EMAIL PRO

Re: Information regarding -fPIC support for Interix gcc

2007-03-31 Thread Murali Vemulapati
6 PM To: Mayank Kumar Cc: gcc@gcc.gnu.org Subject: Re: Information regarding -fPIC support for Interix gcc Mayank Kumar <[EMAIL PROTECTED]> writes: > Ok, since I didn't get any pointers in this area. > I have a more generic question now to everybody:- > > I am new to gcc d

RE: Information regarding -fPIC support for Interix gcc

2007-03-31 Thread Mayank Kumar
.0 compiler and linker/loader/assembler same as the one that ships with Interix. Thanks Mayank -Original Message- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 9:36 PM To: Mayank Kumar Cc: gcc@gcc.gnu.org Subject: Re: Information regarding -fPIC support

Re: Information regarding -fPIC support for Interix gcc

2007-03-23 Thread Murali Vemulapati
led. 3: any other pointers to investigating this would be helpful. Thanks Mayank -Original Message- From: Paul Brook [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 2:24 AM To: gcc@gcc.gnu.org Cc: Mayank Kumar Subject: Re: Information regarding -fPIC support for Interix gcc On Thursd

Re: Information regarding -fPIC support for Interix gcc

2007-03-23 Thread Ian Lance Taylor
Mayank Kumar <[EMAIL PROTECTED]> writes: > Ok, since I didn't get any pointers in this area. > I have a more generic question now to everybody:- > > I am new to gcc development as well as its architecture. I am looking > forward to fix the -fPIC issue for Interix. As of now I found that a share

RE: Information regarding -fPIC support for Interix gcc

2007-03-23 Thread Mayank Kumar
March 23, 2007 2:24 AM To: gcc@gcc.gnu.org Cc: Mayank Kumar Subject: Re: Information regarding -fPIC support for Interix gcc On Thursday 22 March 2007 20:20, Mayank Kumar wrote: > I work for Microsoft SFU(services for unix) group and I am currently > investigating this fPIC issue for gcc 3

Re: Information regarding -fPIC support for Interix gcc

2007-03-22 Thread Paul Brook
On Thursday 22 March 2007 20:20, Mayank Kumar wrote: > I work for Microsoft SFU(services for unix) group and I am currently > investigating this fPIC issue for gcc 3.3 which is available with sfu 3.5. gcc3.3 is really quite old, and hasn't been maintained for quite some time. You're unlikely to ge

RE: Information regarding -fPIC support for Interix gcc

2007-03-22 Thread Mayank Kumar
regarding -fPIC support for Interix gcc On Thu, Mar 22, 2007 at 04:22:37PM +0800, Mayank Kumar wrote: > I am currently looking at interix gcc and found that -fPIC generated > binaries crash although not all binaries crash. This has been known for > quite some time since I found a lot of po

Re: Information regarding -fPIC support for Interix gcc

2007-03-22 Thread Joe Buck
On Thu, Mar 22, 2007 at 04:22:37PM +0800, Mayank Kumar wrote: > I am currently looking at interix gcc and found that -fPIC generated > binaries crash although not all binaries crash. This has been known for > quite some time since I found a lot of posts about it. I want to know if > this issue has

Information regarding -fPIC support for Interix gcc

2007-03-22 Thread Mayank Kumar
Hi I am currently looking at interix gcc and found that -fPIC generated binaries crash although not all binaries crash. This has been known for quite some time since I found a lot of posts about it. I want to know if this issue has already been fixed and a patch submitted or this issues is stil