[Tinycc-devel] Is this ok on commit Use proper PLT/GOT for -run
Hello ! When applying this commit to my fork, I'm not sure if it's correct: arm: Use proper PLT/GOT for -run.http://repo.or.cz/w/tinycc.git/commit/01c041923474750a236da02561f0f8835445848bhttp://repo.or.cz/w/tinycc.git/commit/01c041923474750a236da02561f0f8835445848b [tinycc.git]http://repo.or.cz/w/tinycc.git/tree/01c041923474750a236da02561f0f8835445848b/ tcc.hhttp://repo.or.cz/w/tinycc.git/blob_plain/01c041923474750a236da02561f0f8835445848b:/tcc.h diff --git a/tcc.hhttp://repo.or.cz/w/tinycc.git/blob/76f25bd5e7950f470b3d7bcafa8a0dc467a0ed9d:/tcc.h b/tcc.hhttp://repo.or.cz/w/tinycc.git/blob/5033b19bd6a285df2988843fe03c99b479dafc9e:/tcc.h index 76f25bdhttp://repo.or.cz/w/tinycc.git/blob/76f25bd5e7950f470b3d7bcafa8a0dc467a0ed9d:/tcc.h ..5033b19http://repo.or.cz/w/tinycc.git/blob/5033b19bd6a285df2988843fe03c99b479dafc9e:/tcc.h100644(file) --- a/tcc.hhttp://repo.or.cz/w/tinycc.git/blob/76f25bd5e7950f470b3d7bcafa8a0dc467a0ed9d:/tcc.h +++ b/tcc.hhttp://repo.or.cz/w/tinycc.git/blob/5033b19bd6a285df2988843fe03c99b479dafc9e:/tcc.h @@ -712,7http://repo.or.cz/w/tinycc.git/blob/76f25bd5e7950f470b3d7bcafa8a0dc467a0ed9d:/tcc.h#l712 +712,7http://repo.or.cz/w/tinycc.git/blob/5033b19bd6a285df2988843fe03c99b479dafc9e:/tcc.h#l712@@ struct TCCState { void *write_mem; unsigned long mem_size; # endif -# if !defined TCC_TARGET_PE (defined TCC_TARGET_ARM) +# if !defined TCC_TARGET_PE (0) is this correct ? /* write PLT and GOT here */ char *runtime_plt_and_got; unsigned runtime_plt_and_got_offset; ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] Is this ok on commit Use proper PLT/GOT for -run
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 mingo...@gmail.comwrote: Hello ! When applying this commit to my fork, I'm not sure if it's correct: arm: Use proper PLT/GOT for -run.http://repo.or.cz/w/tinycc.git/commit/01c041923474750a236da02561f0f8835445848bhttp://repo.or.cz/w/tinycc.git/commit/01c041923474750a236da02561f0f8835445848b [tinycc.git]http://repo.or.cz/w/tinycc.git/tree/01c041923474750a236da02561f0f8835445848b/ tcc.hhttp://repo.or.cz/w/tinycc.git/blob_plain/01c041923474750a236da02561f0f8835445848b:/tcc.h diff --git a/tcc.hhttp://repo.or.cz/w/tinycc.git/blob/76f25bd5e7950f470b3d7bcafa8a0dc467a0ed9d:/tcc.h b/tcc.hhttp://repo.or.cz/w/tinycc.git/blob/5033b19bd6a285df2988843fe03c99b479dafc9e:/tcc.h index 76f25bdhttp://repo.or.cz/w/tinycc.git/blob/76f25bd5e7950f470b3d7bcafa8a0dc467a0ed9d:/tcc.h ..5033b19http://repo.or.cz/w/tinycc.git/blob/5033b19bd6a285df2988843fe03c99b479dafc9e:/tcc.h100644(file) --- a/tcc.hhttp://repo.or.cz/w/tinycc.git/blob/76f25bd5e7950f470b3d7bcafa8a0dc467a0ed9d:/tcc.h +++ b/tcc.hhttp://repo.or.cz/w/tinycc.git/blob/5033b19bd6a285df2988843fe03c99b479dafc9e:/tcc.h @@ -712,7http://repo.or.cz/w/tinycc.git/blob/76f25bd5e7950f470b3d7bcafa8a0dc467a0ed9d:/tcc.h#l712 +712,7http://repo.or.cz/w/tinycc.git/blob/5033b19bd6a285df2988843fe03c99b479dafc9e:/tcc.h#l712@@ struct TCCState { void *write_mem; unsigned long mem_size; # endif -# if !defined TCC_TARGET_PE (defined TCC_TARGET_ARM) +# if !defined TCC_TARGET_PE (0) is this correct ? /* write PLT and GOT here */ char *runtime_plt_and_got; unsigned runtime_plt_and_got_offset; ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] Is this ok on commit Use proper PLT/GOT for -run
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 much else just feels wonderful :) ). Ciao, Michael. ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel
Re: [Tinycc-devel] Is this ok on commit Use proper PLT/GOT for -run
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: warning: -fPIC ignored for target (all code is position independent) [enabled by default] /* ^ i386-win32/tiny_libmaker.exe rcs ../libtcc1.a i386-win32/libtcc1.o i386-win32/alloca86.o i386-win32/alloca86-bt.o i386-win32/bcheck.o i386-win32/crt1.o i386-win32/wincrt1.o i386-win32/dllcrt1.o i386-win32/dllmain.o i386-win32/chkstk.o Unsupported Elf Class: i386-win32/alloca86.o Makefile:103: recipe for target `../libtcc1.a' failed make[1]: *** [../libtcc1.a] Error 2 make[1]: Leaving directory `/home/IEUser/dev/tinycc/lib' Makefile:229: recipe for target `libtcc1.a' failed On Sun, Apr 6, 2014 at 11:50 AM, Michael Matz matz@frakked.de wrote: 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 much else just feels wonderful :) ). Ciao, Michael. ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel