On Wed, 10 Aug 2022 10:52:42 +0200, Andreas Schwab wrote:
>
Applied, thanks!
[1/1] readelf: Handle SHT_RISCV_ATTRIBUTES like SHT_GNU_ATTRIBUTES
commit: b713edb9a7f3da8e4dd28ac69a1665ed493ca504
Best regards,
--
Mark Wielaard
Hi Ulrich,
On Tue, Aug 09, 2022 at 08:01:43PM +0200, Ulrich Drepper via Elfutils-devel
wrote:
> He dwarf_next_cfi function has some clever code which skips over the
> processing of the augmentation string content if the first character is 'z'
> (for sized augmentation). This would be OK if it wo
Hi Martin,
On Mon, Aug 15, 2022 at 09:55:13AM +0200, Martin Liška wrote:
> On 7/28/22 17:26, Mark Wielaard wrote:
> > I setup git users try branches for elfutils. If you have commit
> > access to elfutils.git you can now [...]
>
> I would like to try this great feature
Reported-by: panxiaohe
Signed-off-by: Mark Wielaard
---
src/ChangeLog | 6 +
src/ar.c | 4 +--
tests/ChangeLog | 6 +
tests/Makefile.am | 2 ++
tests/run-ar-N.sh | 65 +++
5 files changed, 81 insertions(+), 2 deletions(-)
create
ar_mode is encoded as an octal ascii string, not decimal. Add a new
OCT_FIELD macro to decode it.
Signed-off-by: Mark Wielaard
---
This was found by the run-ar-N.sh testcase on the try builder.
libelf/ChangeLog | 5 +
libelf/elf_begin.c | 25 +++--
2 files changed
022q3/018802.html
Chris Faylor
Frank Eigler
Mark Wielaard
Hi Frank,
On Fri, 2022-09-02 at 20:13 -0400, Frank Ch. Eigler via Elfutils-devel
wrote:
> I had a bit of time to tweak Noah Sanci's PR28284 work, and I believe
> it addresses Mark's last set of comments (from a while ago). This
> follow-up patch corrects things like case sensitivity, spacing, \r\
Hi Frank,
On Tue, 2022-09-06 at 12:05 -0400, Frank Ch. Eigler via Elfutils-devel
wrote:
> > This looks good, but I think c->winning_headers needs to be
> > freed/cleared at the start of debuginfod_query_server. Otherwise if you
> > reuse the debuginfod_client and you hit the cache, the user gets t
p out with, the next steps they are invited to join
the sourceware overseers list.
https://sourceware.org/pipermail/overseers/2022q3/018834.html
Thanks,
Chris Faylor
Frank Eigler
Mark Wielaard
Hi,
On Mon, 2022-08-08 at 01:17 +0200, Mark Wielaard wrote:
> On Sun, Aug 07, 2022 at 07:31:38PM +0100, Sergei Trofimovich via
> Elfutils-devel wrote:
> > binutils started producing 0-sized DIEs on functions interspersed
> > by nested sections (".section ...; .previou
Hi Andreas,
On Wed, 2022-08-10 at 11:27 +0200, Andreas Schwab via Elfutils-devel
wrote:
> This does not work yet. The RISC-V attribute tags use the same
> convention as the GNU attributes: odd numbered tags take a string
> value,
> even numbered ones an integer value, but print_attributes assumes
Hi,
On Tue, 2022-09-13 at 09:40 -0700, Khem Raj via Elfutils-devel wrote:
> A local error() impelmentation is used when libc does not provide it,
> therefore link in libeu.a which contains this function in tests
> needing
> error() API
>
> Signed-off-by: Khem Raj
Thanks. Added a ChangeLog entry
Hi,
On Tue, Sep 20, 2022 at 04:43:01PM +0800, Yonggang Luo via Elfutils-devel wrote:
> These filenames are invalid on win32
This looks ok to me, but I don't really know why these files were
named this way in the first place.
The files themselves are not directly used, they are there to recreate
On Tue, Sep 20, 2022 at 04:43:02PM +0800, Yonggang Luo via Elfutils-devel wrote:
> All of these files either #include directly or #include "libelfP.h"
> And now "libelfP.h also #include , so the platform depended include
> can be moved to system.h safely
I like this in theory since it cleans up s
Hi Aleksei,
On Tue, Sep 20, 2022 at 01:36:37PM +, Aleksei Vetrov via Elfutils-devel
wrote:
> This method allows to read and report ELF from memory instead of opening
> a file. That way arbitrary memory can be worked with, e.g. when coming
> from a stream without the need to persist.
>
> Anot
n Sep 17 00:00:00 2001
From: Mark Wielaard
Date: Sun, 16 Oct 2022 18:02:46 +0200
Subject: [PATCH] tests: Check lseek, read and malloc results with correct
types in test.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
When compiling dwfl-report-offline-mem
On Sun, Oct 16, 2022 at 12:36:20AM +0800, Yonggang Luo via Elfutils-devel wrote:
> All of these files either #include directly or #include "libelfP.h"
> And now "libelfP.h also #include , so the platform depended include
> can be moved to system.h safely
Thanks. While reviewing wrote ChangeLog en
On Sun, Oct 16, 2022 at 12:36:21AM +0800, Yonggang Luo via Elfutils-devel wrote:
> So we do not need include in each file.
> And indeed the macro
> #define _(Str) dgettext ("elfutils", Str)
> access libintl function dgettext, so it's make more sense
> #include in file eu-config.h
And this works b
Hi,
On Sun, Oct 16, 2022 at 12:36:22AM +0800, Yonggang Luo via Elfutils-devel wrote:
> Add NOT_HAVE_LIBINTL macro to disable internationalization,
> sometimes we have don't want access internationalization such as MSVC,
> so the macro NOT_HAVE_LIBINTL can help that.
This needs a configure check.
Hi,
This seems to work and is probably OK. But do you know when/what the
__ prefix versions are defined and when/what defines the non-prefixed
versions?
Thanks,
Mark
On Tue, Sep 20, 2022 at 04:43:05PM +0800, Yonggang Luo via Elfutils-devel wrote:
> Signed-off-by: Yonggang Luo
> ---
> lib/sys
Hi,
I find this hard to review. I have no experienc with msvc and don't
know when/what _MSC_VER implies or how to verify system_win32.c. I am
also a bit worried that the various ifdefs will be hard to keep
correct.
If we don't have HAVE_DECL_MMAP does the testsuite still work?
Maybe this patch c
Hi,
I rather not have multiple build systems in the tree. Are the
autotools not available on your system?
Cheers,
Mark
Hi,
On Mon, Oct 17, 2022 at 11:40:11AM +0800, 罗勇刚(Yonggang Luo) wrote:
> > This seems to work and is probably OK. But do you know when/what the
> > __ prefix versions are defined and when/what defines the non-prefixed
> > versions?
>
> __BYTE_ORDER__ is a predefined macro by gcc/clang,
>
> BYTE
Hi,
On Mon, 2022-10-17 at 09:08 +, builder--- via Elfutils-devel wrote:
> A new failure has been detected on builder elfutils-opensusetw-x86_64
> while building elfutils.
>
> Full details are available at:
> https://builder.sourceware.org/buildbot/#builders/88/builds/50
>
> Build state:
DW_LLE_GNU_view_pair is used by gcc -gvariable-location-views=incompat5.
As described in http://www.fsfla.org/~lxoliva/papers/sfn/dwarf6-sfn-lvu.txt
and proposed for DWARF6 https://dwarfstd.org/ShowIssue.php?issue=170427.1
Signed-off-by: Mark Wielaard
---
libdw/ChangeLog | 4
libdw
ros in the elfutils.spec.in file comments.
Signed-off-by: Yonggang Luo
Signed-off-by: Mark Wielaard
---
ChangeLog | 4
Makefile.am | 2 +-
config/ChangeLog| 4
With autoconf 2.70 we must use AC_PROG_CC (which will check for c11
and c99), for earlier versions we'll use AC_PROG_CC_C99. Also use
AC_PROG_LEX([noyywrap]), the extra argument is ignored with earlier
versions, but required for 2.70.
Signed-off-by: Mark Wielaard
---
ChangeLog
Hi,
On Mon, 2022-10-24 at 14:38 -0400, Frank Ch. Eigler via Elfutils-devel
wrote:
> - not sure I understand why the code worries about dots in or not in
> section names. Why not just pass them verbatim throughout the code
> base, and not worry about whether or not there's a dot? Does the
>
Hi,
On Mon, 2022-10-24 at 14:38 -0400, Frank Ch. Eigler via Elfutils-devel
wrote:
> - use of write(2) to put files onto disk is not quite right; write(2)
> can
> be partial, so you need a loop (or a macro wrapping a loop)
Since debuginfod-client.c already includes system.h it can use:
static i
Hi,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> These filenames are invalid on win32
But using .spec causes make rpm to fail.
Did you try this variant:
https://inbox.sourceware.org/elfutils-devel/3bf19d05c8976411432709fae1cc2bcc2d21d700.ca...@klomp.org/
Thanks,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo
> ---
> .gitignore | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.gitignore b/.gitignore
> index 8bcd88d7..ca06 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -21,6 +21,7 @@
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> It's not accessed symbols in dlfcn.h in eblclosebackend.c and
> eblopenbackend.c
Tweaked the commit message (so it fits on one line), added ChangeLog
entries and pushed.
Thanks,
Mark
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> rationale: https://sourceware.org/bugzilla/show_bug.cgi?id=21001
>
> If we don't remove this macro, when try #include in
> libdw/memory-access.h
> wont' take effect because "#define LIB_SYSTEM_H 1"
> The compile err
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo
Thanks, added ChangeLog entry and tweaked commit message to have < 72
char lines.
Pushed,
Mark
Hi,
On Thu, 2022-10-20 at 00:02 +0200, Mark Wielaard wrote:
> DW_LLE_GNU_view_pair is used by gcc -gvariable-location-
> views=incompat5.
> As described in
> http://www.fsfla.org/~lxoliva/papers/sfn/dwarf6-sfn-lvu.txt
> and proposed for DWARF6
> https://dwarfstd.org/ShowIssue.
Hi Ryan,
On Tue, 2022-08-09 at 17:40 -0400, Ryan Goldberg via Elfutils-devel
wrote:
> Here is a patch for a new one-shot mode for the debuginfod server.
> In this mode the first scanning pass of the server will also output
> the found executables' paths and buildids to the given file
> descriptor.
Signed-off-by: Mark Wielaard
---
config/ChangeLog| 4
config/elfutils.spec.in | 2 ++
2 files changed, 6 insertions(+)
diff --git a/config/ChangeLog b/config/ChangeLog
index 1265f399..9aadd71f 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2022-10-27 Mark
GNU grep 3.8 gives a deprecation warning when using egrep or fgrep.
Just use grep -E and grep -F.
Signed-off-by: Mark Wielaard
---
config/ChangeLog | 4
config/eu.am | 2 +-
tests/ChangeLog| 11
On Sat, 2022-10-22 at 21:58 +0200, Mark Wielaard wrote:
> With autoconf 2.70 we must use AC_PROG_CC (which will check for c11
> and c99), for earlier versions we'll use AC_PROG_CC_C99. Also use
> AC_PROG_LEX([noyywrap]), the extra argument is ignored with earlier
> versions, but
Hi Daniel,
On Tue, 2022-10-18 at 14:21 -0700, Daniel Thornburgh via Elfutils-devel wrote:
> This DEBUGINFOD_HEADERS_FILE environment variable names a file to supply
> HTTP headers to outgoing requests. Notably, this allows for
> Authorization headers to be added from a file under OS access control
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Because all source in libebl #include , so #include
> in
> libeblP.h is enough, there is multiple memory-access.h file, so use
> relative path to
> include it properly,
I am not a fan of the relative path trick, especiall
Hi,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo
> ---
> configure.ac | 1 +
> lib/crc32_file.c | 4 ++--
> lib/system.h | 2 ++
> libelf/elf32_updatefile.c | 3 ++-
> libelf/elf_begin.c| 5
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> basename function are accessed multiple place, but used without
> include libgen.h
This is wrong. We use the GNU basename (from string.h with
_GNU_SOURCE), not the POSIX one (from libgen.h).
Cheers,
Mark
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo
> ---
> lib/color.c| 1 -
> libasm/asm_abort.c | 1 -
> libasm/asm_addint8.c | 2 --
> libasm/asm_begin.c |
Hi Martin,
On Mon, Oct 24, 2022 at 08:16:09PM +0200, Martin Liška wrote:
> Anyway, I'm sending V2 that works fine --with-zstd and --without-zstd as
> expected.
>
> Ready for master?
The decompression part looks good. Few small nitpicks below.
Although I like to also have compression working.
Adds ELFCOMPRESS_ZSTD, NT_S390_PV_CPU_DATA and NT_LOONGARCH_*.
Signed-off-by: Mark Wielaard
---
libelf/ChangeLog | 4
libelf/elf.h | 18 +-
2 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index aefb31b3..8107c71e
t; path ");"
> +.BI "int debuginfod_find_section(debuginfod_client *" client ","
> +.BI " const unsigned char *" build_id ","
> +.BI " int " build_id_len ",&qu
Hi Arsen,
On Fri, Oct 28, 2022 at 10:44:47PM +0200, Arsen Arsenović via Elfutils-devel
wrote:
> This helps people with a lot of built up muscle memory :)
>
> Signed-off-by: Arsen Arsenović
> ---
>
> I often use the "medium length" form of --symbols when using readelf, and I've
> been trying to
Hi,
It has been 6 months since 0.187. There have been almost 80 commits
since, various bug fixes and some new features (see NEWS). I would like
to push out a 0.188 this Wednesday (Nov 2). Please go over any open
bugs or patches to see if they should be fixed/committed before the
release or can wai
Hi,
On Thu, 2022-10-20 at 18:07 +0200, Mark Wielaard wrote:
> So maybe we just should rename them to .specfile?
> That is what the attached patch does, plus some other cleanups.
> - We forgot to include the hello3.specfile
> - Remove the --sign from rpmbuild
> - escape the % i
Hi Aaron,
On Tue, Nov 01, 2022 at 12:53:41AM -0400, Aaron Merey wrote:
> Thanks again for the detailed review. I fixed the issues you pointed out.
This version looks really good. Please push, so it is included in the
release tomorrow.
> On Sat, Oct 29, 2022 at 8:29 PM Mark Wielaard
Hi Shahab,
On Mon, Oct 31, 2022 at 02:54:33PM +, Shahab Vahedi via Elfutils-devel
wrote:
> Thank you for response. First and foremost, there is a second iteration of the
> patch [1]. I don't want you, or anybody else, waste time looking into v1. The
> changes from v1 have been mentioned at th
Hi Frank,
On Tue, Nov 01, 2022 at 10:23:06AM -0400, Frank Ch. Eigler via Elfutils-devel
wrote:
> On the users/fche/try-pr29472 branch, I pushed a followup to Ryan's
> PR29472 draft from a bunch of weeks ago. It's missing some
> ChangeLog's but appears otherwise complete. It's structured as Ryan
Hi,
On Wed, 2022-11-02 at 01:15 +, builder--- via Elfutils-devel wrote:
> A new failure has been detected on builder elfutils-fedora-ppc64le
> while building elfutils.
>
> Full details are available at:
> https://builder.sourceware.org/buildbot/#builders/55/builds/96
>
> Build state: fai
Set version to 0.188
Update elfutils.spec.in
Regenerate po/*.po files
Signed-off-by: Mark Wielaard
---
ChangeLog |5 +
NEWS|2 +-
config/ChangeLog|7 +
config/elfutils.spec.in | 13 +-
configure.ac|2 +-
po/ChangeLog
gt;
> Build state: failed test (failure)
> Revision: e9f3045caa5c4498f371383e5519151942d48b6d
> Worker: centos-x86_64
> Build Reason: (unknown)
> Blamelist: Mark Wielaard
>
> Steps:
> [...]
> https://builder.sourceware.org/buildbot/#builders/39/builds/99/steps/6/log
debuginfod: create indexes to speed up grooming
debuginfod: optimize regular expressions in groom()
Khem Raj (1):
tests: Add libeu to tests needing error() API
Mark Wielaard (31):
configure: Don't use valgrind and sanitize-undefined for make
distcheck
config: Move the 2&g
The extract_section function in debuginfod-client.c is an internal
function and should not be exported. Mark it as static.
Signed-off-by: Mark Wielaard
---
debuginfod/ChangeLog | 4
debuginfod/debuginfod-client.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git
The compiler doesn't know that when use_dynamic_segment is true,
then phdr should/will be non-NULL and otherwise shdr is non-NULL.
Add explicit checks to help the compiler out and in case an error
is made calling the handle_dynamic function.
Signed-off-by: Mark Wielaard
---
src/ChangeLog
Signed-off-by: Mark Wielaard
---
src/ChangeLog | 5 +
src/readelf.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/ChangeLog b/src/ChangeLog
index 0c5ab37e..66428b70 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2022-11-03 Mark Wielaard
We don't use the FDE address encoding byte, so no reason
to read and store it. Just skip past it.
Signed-off-by: Mark Wielaard
---
libdw/ChangeLog| 5 +
libdw/dwarf_next_cfi.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/libdw/ChangeLog b/libdw/Chan
Hi Aaron,
On Fri, 2022-11-04 at 17:40 -0400, Aaron Merey via Elfutils-devel
wrote:
> debuginfod_find_section may attempt to download both the debuginfo
> and executable matching the given build-id. If neither of these
> files can be found, update rc to ensure that we always return an
> accurate e
On error going to out2, the response_data is freed. So initialize the
response_data to NULL immediately after allocation or when going back
to query_in_parallel.
Signed-off-by: Mark Wielaard
---
debuginfod/ChangeLog | 5 +
debuginfod/debuginfod-client.c | 4 ++--
2 files changed
This Friday, 18 November, at 16:00 UTC (11:00am Eastern, 17:00 Central
European Time) the FSF will host a session on their BBB server about
the current sourceware infrastructure and future plans.
https://www.fsf.org/events/sourceware-infrastructure-a-presentation-and-community-q-a
https://inbox.so
Hi,
On Tue, 2022-11-15 at 17:55 +0100, Mark Wielaard wrote:
> On error going to out2, the response_data is freed. So initialize the
> response_data to NULL immediately after allocation or when going back
> to query_in_parallel.
Frank on irc said this looked fine.
Pushed,
Mark
Hi Martin,
On Thu, 2022-11-24 at 13:23 +0100, Martin Liška wrote:
> Similar fix to:
> https://sourceware.org/bugzilla/show_bug.cgi?id=29718
>
> Ready for master?
Assuming runtime, glibc/ld.so, accepts this without EI_OSABI set to
ELFOSABI_LINUX, it seems ok to print it as GNU_IFUNC.
> e
Hi Marin,
On Fri, 2022-11-25 at 14:29 +0100, Martin Liška wrote:
> The option -s accepts in elfutils (compared to binutils) a positional
> argument that is name of a symbol table section which should be
> printed.
>
> Thus, print a reasonable warning if -sW is used:
> ./src/readelf -sW a.out
> WA
Hi Martin,
On Mon, 2022-11-28 at 14:03 +0100, Martin Liška wrote:
> Fixes:
> ./src/elfcompress -t zlib-gnu a.out -force
> [28] .zdebug_aranges unchanged, already GNU compressed[29]
> .zdebug_info unchanged, already GNU compressed[30] .zdebug_abbrev
> unchanged, already GNU compressed[31] .zdebug_l
Hi Martin,
On Mon, Nov 28, 2022 at 02:16:35PM +0100, Martin Liška wrote:
> On 10/29/22 00:21, Mark Wielaard wrote:
> > Although I like to also have compression working. Then we can also
> > add support to src/elfcompress, which makes for a good testcase. See
> > tests/run-c
Hi Gavin,
On Mon, 2022-11-28 at 22:26 -0800, ga...@matician.com wrote:
> Since size checking has been moved to
> dwfl_elf_phdr_memory_callback(),
> there is no longer a need for dwfl_segment_report_module() to enforce
> the same. Reading beyond the end of the dynamic section actually causes
> issu
ignment is 8), causing elfXX_xlatetom()
to return ELF_E_INVALID_DATA.
Signed-off-by: Gavin Li
Signed-off-by: Mark Wielaard
---
libdwfl/ChangeLog| 6 ++
libdwfl/dwfl_segment_report_module.c | 28 +++-
2 files changed, 9 insertions(+), 25 deletions(-)
ark
>From 86347d80bec28c762ddc47aee866fcdaf781f25a Mon Sep 17 00:00:00 2001
From: Mark Wielaard
Date: Thu, 1 Dec 2022 00:25:01 +0100
Subject: [PATCH] libelf: Sync elf.h from glibc
Adds various new ARC related declarations.
Signed-off-by: Mark Wielaard
---
libelf/ChangeLog | 4
libelf/el
Hi Hengqi,
On Thu, 2022-12-01 at 23:34 +0800, Hengqi Chen via Elfutils-devel
wrote:
> I am using pahole (which relies on libelf) to process an elf file
> ([0]):
>
> LLVM_OBJCOPY="objcopy" pahole -J --btf_gen_floats --btf_base
> vmlinux adl_pci9111.ko
>
> This failed with:
>
> die__proce
Hi,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo
> ---
> libcpu/Makefile.am | 2 +-
> libcpu/i386_parse.y | 13 +
> 2 files changed, 10 insertions(+), 5 deletions(-)
>
> diff --git a/libcpu/Makefile.am b/libcpu/Makefile.am
Hi,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo
> ---
> libcpu/i386_disasm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libcpu/i386_disasm.c b/libcpu/i386_disasm.c
> index 599d1654..cc75a7b1 100644
> --- a
Hi,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo
> ---
> libcpu/i386_data.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libcpu/i386_data.h b/libcpu/i386_data.h
> index 06356b8a..fe3c4ae1 100644
> --- a/libcp
Hi,
We seem to use __typeof everywhere except in memory-access.h. So this
seems like an OK change.
Added a ChangeLog entry and pushed as:
commit 78dd3b32edf55fc8bdc6268163d5d743a84b1075
Author: Yonggang Luo
Date: Fri Oct 21 02:25:52 2022 +0800
libdw: Change typeof -> __typeof in memory-a
Hi,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> -
> +#ifndef __OPTIMIZE__
> unsigned int
> dwarf_whatattr (Dwarf_Attribute *attr)
> {
>return attr == NULL ? 0 : attr->code;
> }
> +#endif
> diff --git a/libdw/dwarf_whatform.c b/libdw/dwarf_whatform.c
> index
Hi,
On Mon, Dec 12, 2022 at 02:01:49PM +, builder--- via Elfutils-devel wrote:
> A new failure has been detected on builder elfutils-debian-ppc64 while
> building elfutils.
>
> Full details are available at:
> https://builder.sourceware.org/buildbot/#builders/63/builds/113
>
> Build sta
Hi,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> on win32, there is no err.h
> [...]
> +#else
> + (void)status;
> + vfprintf(stderr, format, argp);
> +#endif
>va_end(argp);
That doesn't look like a valid implementation of error, it ignores
errno and doesn't ex
Hi,
Why is this necessary?
Thanks,
Mark
Hi,
On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
wrote:
> Signed-off-by: Yonggang Luo
> ---
> libelf/elf_begin.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/libelf/elf_begin.c b/libelf/elf_begin.c
> index 6d31882e..d867cd6f 100644
> --- a/libelf/elf_begin.c
Hi Shahab,
On Thu, 2022-12-01 at 09:44 +, Shahab Vahedi via Elfutils-devel
wrote:
> On 12/1/22 00:36, Mark Wielaard wrote:
> > Nice. I just synced elf.h.
>
> Thanks a lot Mark! I will send a new patch sans the elf.h and will
> add possible test(s) that can be related to it.
Hi Gavin,
On Thu, 2022-12-01 at 13:13 -0800, Gavin Li wrote:
> Awesome, thanks for looking over this. I only have one comment:
> there's an extra "xlatefrom.d_size = xlatefrom.d_size;" line that
> should be removed.
Thanks for spotting that. Odd the compiler didn't warn for that. There
is a xlate
Hi Martin,
On Tue, 2022-11-29 at 13:05 +0100, Martin Liška wrote:
> There's second version of the patch that fully support both
> compression and decompression.
>
> Changes from the v1:
> - compression support added
> - zstd detection is fixed
> - new tests are added
> - builds fine w/ and w/o th
Hi Martin,
On Tue, Nov 29, 2022 at 01:05:45PM +0100, Martin Liška wrote:
> diff --git a/libelf/elf_compress.c b/libelf/elf_compress.c
> index d7f53af2..7a6e37a4 100644
> --- a/libelf/elf_compress.c
> +++ b/libelf/elf_compress.c
> @@ -39,6 +39,10 @@
> #include
> #include
> +#ifdef USE_ZSTD
> +#
Hi Martin,
On Mon, 2022-12-19 at 15:19 +0100, Martin Liška wrote:
> On 12/15/22 14:17, Mark Wielaard wrote:
> > Is there a particular way you are running eu-readelf? Is it with
> > generic -w or -a, or decoding a specific section type?
>
> Hello.
>
> $ LD_LIBRARY_PAT
Hi Martin,
On Mon, 2022-12-19 at 15:21 +0100, Martin Liška wrote:
> > > + else
> > > +error (0, 0, "Couldn't get chdr for section %zd", ndx);
> >
> > Shouldn't this error be fatal?
>
> What do you use for fatal errors?
Depends a bit on context. It might be that this error isn't fatal,
100644
> --- a/libebl/eblopenbackend.c
> +++ b/libebl/eblopenbackend.c
> @@ -55,6 +55,7 @@ Ebl *m68k_init (Elf *, GElf_Half, Ebl *);
> Ebl *bpf_init (Elf *, GElf_Half, Ebl *);
> Ebl *riscv_init (Elf *, GElf_Half, Ebl *);
> Ebl *csky_init (Elf *, GElf_Half, Ebl *);
> +Ebl *loong
On Sat, 2022-12-17 at 05:14 +0800, 罗勇刚(Yonggang Luo) wrote:
> It's a common step to configure and make under build directory, so
> that the
> IDE won't affect by it
I rather not just ignore a random directory name, unless it clearly is
a default for the build system.
Hi,
On Sat, 2022-12-17 at 05:19 +0800, 罗勇刚(Yonggang Luo) wrote:
> On Fri, Oct 28, 2022 at 7:35 PM Mark Wielaard wrote:
> >
> > On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
> > wrote:
> > > Because all source in libebl #include , so #includ
Hi,
On Sat, 2022-12-17 at 05:21 +0800, 罗勇刚(Yonggang Luo) wrote:
> On Fri, Oct 28, 2022 at 7:41 PM Mark Wielaard wrote:
> > On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
> > wrote:
> > > Signed-off-by: Yonggang Luo
> > > ---
> > >
On Sat, 2022-12-17 at 05:22 +0800, 罗勇刚(Yonggang Luo) wrote:
> On Fri, Oct 28, 2022 at 7:45 PM Mark Wielaard wrote:
> >
> > On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
> > wrote:
> > > basename function are accessed multiple place, but used
On Sat, 2022-12-17 at 05:47 +0800, 罗勇刚(Yonggang Luo) wrote:
> From bdf8a3b45f063d010e7c93b3d3bfc42b801ee9b2 Mon Sep 17 00:00:00
> 2001
> From: Yonggang Luo
> Date: Thu, 20 Oct 2022 02:50:03 +0800
> Subject: [PATCH] libdw: Fixes compile of dwarf_whatattr.c and
> dwarf_whatform.c
>
> If __OPTIMIZE_
Hi,
On Sat, 2022-12-17 at 05:50 +0800, 罗勇刚(Yonggang Luo) wrote:
> On Mon, Dec 12, 2022 at 11:37 PM Mark Wielaard
> wrote:
> > On Fri, 2022-10-21 at 02:25 +0800, Yonggang Luo via Elfutils-devel
> > wrote:
> > > on win32, there is no err.h
> > > [...
Hi Shabab,
On Tue, 2022-12-20 at 12:56 +0100, Shahab Vahedi wrote:
> There is no regression in tests for an x86_64 build, while the new
> hello_arc_hs4.ko is added as well. This is the only meaningful
> test that I could add at the moment, given the features supported
> by this port.
>
> $ cat t
On Tue, 2022-12-20 at 14:59 +0100, Mark Wielaard wrote:
> The attached patch does that so no relative paths are needed in
> #include statements.
The try-bot looked good:
https://builder.sourceware.org/buildbot/#/changes/16025
So I pushed this:
commit 6ecd16410ce1fe5cb0ac5b7c3342c5cc33
Hi Guillermo,
On Wed, Jun 01, 2022 at 10:55:27AM -0500, Guillermo E. Martinez via
Elfutils-devel wrote:
> This is the second version patch to avoid remove the CTF section in
> stripped files. Changes from v1:
>
> - Add description in tests/run-strip-remove-keep-ctf.sh
> mentioning how to r
The build used -ffunction-sections just for one file.
Signed-off-by: Mark Wielaard
---
lib/ChangeLog | 4
lib/Makefile.am | 4
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 6bb0d4d0..5ab9477e 100644
--- a/lib/ChangeLog
+++ b/lib
Hi,
It looks like I missed this. Sorry.
On Wed, 2021-05-26 at 19:34 +0300, Petr Ovtchenkov wrote:
> On Wed, 26 May 2021 12:41:51 -0300
> Érico Nogueira wrote:
>
> >
> > Yes, we really cross.
>
> It doesn't matter because
>
> > We always use the release tarballs, which already have the %_dis.
1 - 100 of 2645 matches
Mail list logo