[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 -

[Bug libelf/26878] New: elflint reports error on SHT_X86_64_UNWIND .eh_frame section

2020-11-13 Thread tbaeder at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26878 Bug ID: 26878 Summary: elflint reports error on SHT_X86_64_UNWIND .eh_frame section Product: elfutils Version: unspecified Status: NEW Severity: normal

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

Re: Removing gnu99 constructs from elfutils

2020-11-13 Thread Timm Bäder via Elfutils-devel
On 13/11/2020 13:38, Mark Wielaard wrote: OK. The mail subject is a little misleading, this is far from turning the code base into ISO C99. gnu99 is much more than those two features: https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html Right, I wasn't trying to get rid of all the gnu99 feature

Re: Removing gnu99 constructs from elfutils

2020-11-13 Thread Mark Wielaard
Hi Timm, On Thu, 2020-11-12 at 16:03 +0100, Timm Bäder via Elfutils-devel wrote: > I'm looking into removing both the nested functions as well as > variable-length arrays in the elfutils source code, so it can be > built > using clang. This is a continuation of > https://sourceware.org/bugzilla/sh

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