[PATCH] libelf: Sync elf.h from glibc

2023-06-26 Thread Andreas Schwab via Elfutils-devel
Adds new RISC-V relocations. * elf.h: Update from glibc. Signed-off-by: Andreas Schwab --- libelf/elf.h | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libelf/elf.h b/libelf/elf.h index 4bc0e429..89fc8021 100644 --- a/libelf/elf.h +++ b/libelf/elf.h @@

[PATCH] backends: Update list of RISC-V relocations

2023-06-26 Thread Andreas Schwab via Elfutils-devel
* backends/riscv_reloc.def: Add IRELATIVE, PLT32, SET_ULEB128, SUB_ULEB128. Signed-off-by: Andreas Schwab --- backends/riscv_reloc.def | 4 1 file changed, 4 insertions(+) diff --git a/backends/riscv_reloc.def b/backends/riscv_reloc.def index 2bd3513e..f52f6489 100644 --- a

[Bug debuginfod/30589] New: debuginfod can't find sources even though they exist on disk

2023-06-26 Thread russell at shotover dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30589 Bug ID: 30589 Summary: debuginfod can't find sources even though they exist on disk Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: enha

[Bug debuginfod/30589] debuginfod can't find sources even though they exist on disk

2023-06-26 Thread russell at shotover dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30589 --- Comment #1 from Russell Greene --- er, the correct command for the non-working case should be DEBUGINFOD_URLS="http://localhost:8002"; debuginfod-find source aabbccdd `pwd`/servefrom/test.c -- You are re

[Bug debuginfod/30589] debuginfod can't find sources even though they exist on disk

2023-06-26 Thread fche at redhat dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30589 Frank Ch. Eigler changed: What|Removed |Added CC||fche at redhat dot com Last reco

[Bug debuginfod/30589] debuginfod can't find sources even though they exist on disk

2023-06-26 Thread russell at shotover dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30589 --- Comment #3 from Russell Greene --- Yeah, that looks like an issue for sure. Clang seems to omit more sane dwarf: Directory table: [path(line_strp)] 0 /home/russell/debuginfod_test/servefrom (0) But debuginfod still doesn't se

[Bug debuginfod/30589] debuginfod can't find sources even though they exist on disk

2023-06-26 Thread russell at shotover dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30589 --- Comment #4 from Russell Greene --- % mkdir servefrom % echo 'int main(){}' > test.c % gcc -g test.c -ffile-prefix-map=`pwd`=`pwd`/servefrom -o test_gcc % clang -g test.c -ffile-prefix-map=`pwd`=`pwd`/servefrom -o test_clang % mv test.c se