Re: [PATCH] perf: Set PLT entry/header sizes properly on Sparc.

2018-10-18 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 17, 2018 at 12:08:59PM -0700, David Miller escreveu: > > Using the sh_entsize for both values isn't correct. It happens > to be correct on x86... > > For both 32-bit and 64-bit sparc, there are four PLT entries in the > PLT section. Thanks, applied. - Arnaldo

Re: [PATCH] perf: Set PLT entry/header sizes properly on Sparc.

2018-10-18 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 17, 2018 at 12:08:59PM -0700, David Miller escreveu: > > Using the sh_entsize for both values isn't correct. It happens > to be correct on x86... > > For both 32-bit and 64-bit sparc, there are four PLT entries in the > PLT section. Thanks, applied. - Arnaldo

[PATCH] perf: Set PLT entry/header sizes properly on Sparc.

2018-10-17 Thread David Miller
Using the sh_entsize for both values isn't correct. It happens to be correct on x86... For both 32-bit and 64-bit sparc, there are four PLT entries in the PLT section. Signed-off-by: David S. Miller --- tools/perf/util/symbol-elf.c | 12 +++- 1 file changed, 11 insertions(+), 1

[PATCH] perf: Set PLT entry/header sizes properly on Sparc.

2018-10-17 Thread David Miller
Using the sh_entsize for both values isn't correct. It happens to be correct on x86... For both 32-bit and 64-bit sparc, there are four PLT entries in the PLT section. Signed-off-by: David S. Miller --- tools/perf/util/symbol-elf.c | 12 +++- 1 file changed, 11 insertions(+), 1