Re: [Tinycc-devel] Is this ok on commit "Use proper PLT/GOT for -run"

2014-04-06 Thread Michael Matz
Hi, On Sun, 6 Apr 2014, Domingo Alvarez Duarte wrote: On win32 with mingw64 I'm getting this error:- gcc -o i386-win32/tiny_libmaker.exe ../win32/tools/tiny_libmaker.c -I..  -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -fPIC -DTCC_TARGET_I386

Re: [Tinycc-devel] Is this ok on commit "Use proper PLT/GOT for -run"

2014-04-06 Thread Domingo Alvarez Duarte
On win32 with mingw64 I'm getting this error: - gcc -o i386-win32/tiny_libmaker.exe ../win32/tools/tiny_libmaker.c -I.. -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -fPIC -DTCC_TARGET_I386 -DTCC_TARGET_PE ../win32/tools/tiny_libmaker.c:1:0: warni

Re: [Tinycc-devel] Is this ok on commit "Use proper PLT/GOT for -run"

2014-04-06 Thread Michael Matz
Hi, On Sun, 6 Apr 2014, Domingo Alvarez Duarte wrote: Ok I can see in the next commit that this is removed completely ! Yep, I was trying to separate cleanups from implementing features also for the commits, makes bisecting a tad easier. (And of course removing chunks of dead code without

Re: [Tinycc-devel] Is this ok on commit "Use proper PLT/GOT for -run"

2014-04-06 Thread Domingo Alvarez Duarte
Ok I can see in the next commit that this is removed completely ! On Sun, Apr 6, 2014 at 11:19 AM, Domingo Alvarez Duarte wrote: > Hello ! > > When applying this commit to my fork, I'm not sure if it's correct: > > > > arm: Use proper PLT/GOT for > -run.

[Tinycc-devel] Is this ok on commit "Use proper PLT/GOT for -run"

2014-04-06 Thread Domingo Alvarez Duarte
Hello ! When applying this commit to my fork, I'm not sure if it's correct: arm: Use proper PLT/GOT for -run. [tinycc.git]

Re: [Tinycc-devel] x86_64: shared libs

2014-04-06 Thread grischka
Michael Matz wrote: Hi, On Fri, 4 Apr 2014, Michael Matz wrote: Yes, that's something on my TODO. Theoretically having runtime_plt_and_got makes code emission a tiny bit faster because having a proper PLT and GOT also for -run means first creating and second applying intermediate relocation

Re: [Tinycc-devel] 答复: 答复: how to make symbol '_SymLoadModuleEx@36' match its defination of 8 argv

2014-04-06 Thread grischka
lifenjoi...@163.com wrote: As dbghelp.chm says: DWORD64 WINAPI SymLoadModuleEx( __in HANDLE hProcess, __in HANDLE hFile, __in PCTSTR ImageName, __in PCTSTR ModuleName, __in DWORD64 BaseOfDll, __in DWORD DllSize, __in PMO