Re: arm64:, Re: [RFC] Kernel livepatching support in GCC

2015-10-23 Thread AKASHI Takahiro
On 10/22/2015 07:26 PM, Szabolcs Nagy wrote: On 22/10/15 11:14, AKASHI Takahiro wrote: On 10/22/2015 06:07 PM, libin wrote: 在 2015/5/28 16:39, Maxim Kuvyrkov 写道: Our proposal is that instead of adding -mfentry/-mnop-count/-mrecord-mcount options to other architectures, we should implement a t

Re: arm64:, Re: [RFC] Kernel livepatching support in GCC

2015-10-23 Thread Szabolcs Nagy
On 23/10/15 10:11, AKASHI Takahiro wrote: On 10/22/2015 07:26 PM, Szabolcs Nagy wrote: On 22/10/15 11:14, AKASHI Takahiro wrote: I also have my own version of livepatch support for arm64 using yet-coming "-fprolog-add=N" option :) As we discussed before, the main difference will be how we sho

Re: how to tweak x86 code generation to instrument certain opcodes with CC trap?

2015-10-23 Thread William Cohen
On 10/23/2015 01:37 AM, Yasser Shalabi wrote: > Hello, > > I am new to the GCC code. I want to make a simple modification to the > back end. I want to add a debug exception (int3) to be generated > before any instance of certain x86 instructions. > > I tried to modify gcc/config/i386/i386.md by a

Re: how to tweak x86 code generation to instrument certain opcodes with CC trap?

2015-10-23 Thread Yasser Shalabi
Hey Will, Thanks for the quick reply. Yeah I need the int3 instruction to be statically included in he binary so I can't use any dynamic instrumentation tool. On Fri, Oct 23, 2015 at 10:32 AM, William Cohen wrote: > On 10/23/2015 01:37 AM, Yasser Shalabi wrote: >> Hello, >> >> I am new to the GC

Re: how to tweak x86 code generation to instrument certain opcodes with CC trap?

2015-10-23 Thread William Cohen
On 10/23/2015 11:37 AM, Yasser Shalabi wrote: > Hey Will, > > Thanks for the quick reply. Yeah I need the int3 instruction to be > statically included in he binary so I can't use any dynamic > instrumentation tool. Dyninst can do binary rewrites of executables so that might still be suitable. ht

Re: http access to ftp://gcc.gnu.org

2015-10-23 Thread Mikhail Maltsev
On 10/23/2015 02:39 AM, Frank Ch. Eigler wrote: > Hi - > > At the request of tbsaunders, we're experimenting with > provinding http[s] access to parts of the ftp://gcc.gnu.org/ > contents. Please see http://gcc.gnu.org/ftp/ . > > - FChE > Got 403: $ nslookup gcc.gnu.org <...> Non-authoritativ

Re: http access to ftp://gcc.gnu.org

2015-10-23 Thread Frank Ch. Eigler
Hi - > > [...] Please see http://gcc.gnu.org/ftp/ . > Got 403: Thanks, fixed. - FChE