Indent and formatting of elfutils

2020-11-09 Thread Navin P via Elfutils-devel
Hi, I'm trying to compile elfutils with clang. I haven't written new code but moved code around. In this process source code formatting is lost when I moved couple of functions. Do you have any indent settings or clang-format or any auto settings ? Regards, Navin

Re: [PATCH 14/14] segment_report_module: Inline consider_phdr() into only caller

2020-11-13 Thread Navin P via Elfutils-devel
On Fri, Nov 13, 2020, 13:11 Timm Bäder wrote: > On 12/11/2020 17:52, Navin P wrote: > > Hi, > > I already have a patch that makes elfutils compile with clang. Since > > you are working > > this will be of use to you. I've attached the patch since it is big. > > > > Here are some of the change

Subject: [PATCH] Make elflint and libebl understand .rela.eh_frame like other section type

2020-11-13 Thread Navin P via Elfutils-devel
Hi, elflint doesn't recognize .rela.eh_frame like it does for other .rela sections. Signed-off-by: Navin P --- libebl/eblcheckreloctargettype.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libebl/eblcheckreloctargettype.c b/libebl/eblcheckreloctargettype.c index 068ad8f1..9d814d27 100644

[PATCH] define SHT_LLVM_ADDRSIG section rather than error out

2020-11-13 Thread Navin P via Elfutils-devel
make elflint ignore it rather error as unsupported type. Other tools like readelf , objdump understand this section. Signed-off-by: Navin P --- libelf/elf.h | 1 + src/elflint.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libelf/elf.h b/libelf/elf.h index 6439c1a4..26420b45 100644 -

Re: Subject: [PATCH] Make elflint and libebl understand .rela.eh_frame like other section type

2020-11-17 Thread Navin P via Elfutils-devel
with clang compiler build, before applying this patch 3 tests were failing and after applying the patch all tests pass. your patch is much better as it fixes the backend. On Tue, Nov 17, 2020 at 7:44 PM Mark Wielaard wrote: > > Hi Navin, > > > On Fri, 2020-11-13 at 20:17 +05

Re: [PATCH] define SHT_LLVM_ADDRSIG section rather than error out

2020-11-17 Thread Navin P via Elfutils-devel
On Tue, Nov 17, 2020 at 7:49 PM Mark Wielaard wrote: > > Hi Navin, > > On Fri, 2020-11-13 at 20:45 +0530, Navin P via Elfutils-devel wrote: > > make elflint ignore it rather error as unsupported type. Other tools > > like > > readelf , objdump understan

Pending nested function removal

2021-01-27 Thread Navin P via Elfutils-devel
Hi, I tried to compile the nested functions and most of the files are complete. I find few others still pending. Below is the list which still has a nested function. I'm attaching the logfile for line numbers and column no. grep "function definition is not allowed here" logfile elf-from-memory.

Re: Pending nested function removal

2021-01-28 Thread Navin P via Elfutils-devel
On Thu, Jan 28, 2021, 13:16 Timm Bäder wrote: > On 28/01/2021 06:19, Navin P via Elfutils-devel wrote: > > Hi, > > I tried to compile the nested functions and most of the files are > > complete. I find few others still pending. Below is the list which > > still has

Re: [PATCH] define SHT_LLVM_ADDRSIG section rather than error out

2021-03-04 Thread Navin P via Elfutils-devel
On Thu, Mar 4, 2021 at 7:14 PM Timm Bäder wrote: > > On 18/11/2020 06:34, Navin P via Elfutils-devel wrote: > >>> diff --git a/src/elflint.c b/src/elflint.c > >>> index ef3e3732..62663800 100644 > >>> --- a/src/elflint.c > >>> +++ b/src/el

linker to be used for elfutils

2021-03-16 Thread Navin P via Elfutils-devel
Hi, I wanted to check if other linkers gold,lld are supported by elfutils. i have the following compilers and linkers a) gcc + ld.bfd all tests pass b) clang + ld.bfdall tests pass c) gcc + gold few tests fail d) clang + gold Still not tried e) gcc + lldStill