Re: [google][4.6]Bug fix to function reordering plugin to check presence of elf.h

2012-03-01 Thread Jing Yu
I ported this patch into google/gcc-4_6_2-mobile. Thanks, Jing On Sat, Feb 25, 2012 at 1:40 PM, Sriraman Tallam wrote: > Committed now, thanks. > > -Sri. > > On Fri, Feb 24, 2012 at 11:18 PM, Xinliang David Li > wrote: >> ok. >> >> David >> >> On Fri, Feb 24, 2012 at 4:19 PM, Sriraman Tallam w

Re: [google][4.6]Bug fix to function reordering plugin to check presence of elf.h

2012-02-25 Thread Sriraman Tallam
Committed now, thanks. -Sri. On Fri, Feb 24, 2012 at 11:18 PM, Xinliang David Li wrote: > ok. > > David > > On Fri, Feb 24, 2012 at 4:19 PM, Sriraman Tallam wrote: >> function_reordering_plugin.c includes which is not available >> on non-ELF platforms building a cross-compiler. This patch chec

Re: [google][4.6]Bug fix to function reordering plugin to check presence of elf.h

2012-02-24 Thread Xinliang David Li
ok. David On Fri, Feb 24, 2012 at 4:19 PM, Sriraman Tallam wrote: > function_reordering_plugin.c includes which is not available > on non-ELF platforms building a cross-compiler. This patch checks for > before including it. Otherwise, it redefines the macros used. > This is safe because the ma

[google][4.6]Bug fix to function reordering plugin to check presence of elf.h

2012-02-24 Thread Sriraman Tallam
function_reordering_plugin.c includes which is not available on non-ELF platforms building a cross-compiler. This patch checks for before including it. Otherwise, it redefines the macros used. This is safe because the macros will not change. For context, this linker plugin itself is only availab