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

2021-03-08 Thread Timm Bäder via Elfutils-devel
On 04/03/2021 14:59, Mark Wielaard wrote: Hi Timm, On Thu, 2021-03-04 at 14:44 +0100, Timm Bäder wrote: any update on this? I see that SHT_LLVM_ADDRSIG is still not in upstream glibc. Are you working on that, Navin? As for the checks, I'm not sure we can do anything here since elfutils can't k

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/elflint.c > >>> @@ -3905,6 +3905,7 @@ section [%2zu] '%s': si

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

2021-03-04 Thread Mark Wielaard
Hi Timm, On Thu, 2021-03-04 at 14:44 +0100, Timm Bäder wrote: > any update on this? I see that SHT_LLVM_ADDRSIG is still not in upstream > glibc. Are you working on that, Navin? > > As for the checks, I'm not sure we can do anything here since elfutils > can't know whether a symbol is rightfully

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

2021-03-04 Thread Timm Bäder via Elfutils-devel
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/elflint.c @@ -3905,6 +3905,7 @@ section [%2zu] '%s': size not multiple of entry size\n"), && shdr->sh_type != SHT_GNU_ATTRIBUTES

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 understand this section. > > Is there a specificatio

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

2020-11-17 Thread Mark Wielaard
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 understand this section. Is there a specification of this section type? diff --git a/libelf/elf.h b/libelf/elf.h > in

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