Re: [Cegcc-devel] Position independant code

2007-12-17 Thread Pedro Alves
Pedro Alves wrote: > There is *NO* GOT in a Windows dll. Dlls always use relocations. > Googling helps. > Although a patch was once posted at gcc-patches@ implementing a transparent GOT like scheme on i386 PE. -- Pedro Alves

Re: [Cegcc-devel] Position independant code

2007-12-17 Thread Pedro Alves
On the trying-to-feed-invalid-stuff-into-the-compilers-mouth show tonight we have, ... <[EMAIL PROTECTED]> wrote: > I try to compile a file with -fPIC (same problem with -fpic) and I have this > error , which is removed whithout -fPIC : > > {standard input}: Assembler messages: > {standard input}:

[Cegcc-devel] Position independant code

2007-12-17 Thread pascal . georges1
Hi, I try to compile a file with -fPIC (same problem with -fpic) and I have this error , which is removed whithout -fPIC : {standard input}: Assembler messages: {standard input}:146: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in operation {standard input}:276: Error: undefined symbol `_GLOBA