(TPREL_S, REL)
RELOC_TYPE (RELAX, REL)
RELOC_TYPE (SUB6, REL)
RELOC_TYPE (SET6, REL)
--
2.46.0
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something compl
Don't block on stdin when /etc/debuginfod/*.certpath expands to nothing.
Signed-off-by: Andreas Schwab
---
config/profile.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/profile.sh.in b/config/profile.sh.in
index 911c7a43..5e86f433 100644
--- a/c
* 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
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
5b0daffe..a642fe9e 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,3 +1,9 @@
+2022-08-10 Andreas Schwab
+
+ * Makefile.am (riscv_SRCS): Add riscv_attrs.c.
+ * riscv_init.c (riscv_init): Hook in riscv_check_object_attribute.
+ * riscv_attrs.c: New file.
+
2022-08-09
Signed-off-by: Andreas Schwab
---
src/ChangeLog | 4
src/readelf.c | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/ChangeLog b/src/ChangeLog
index fbcef29e..88db4051 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2022-08-10 Andreas Schwab
The RISCV_ATTRIBUTES segment is not meant to be loaded.
Signed-off-by: Andreas Schwab
---
src/ChangeLog | 5 +
src/elflint.c | 5 -
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/ChangeLog b/src/ChangeLog
index 42ce6640..fbcef29e 100644
--- a/src/ChangeLog
+++ b/src
Handle PT_RISCV_ATTRIBUTES, SHT_RISCV_ATTRIBUTES, DT_RISCV_VARIANT_CC.
Signed-off-by: Andreas Schwab
---
backends/riscv_init.c | 4
backends/riscv_symbol.c | 45 +
2 files changed, 49 insertions(+)
diff --git a/backends/riscv_init.c b/backends
Adds PT_RISCV_ATTRIBUTES, SHT_RISCV_ATTRIBUTES, PT_AARCH64_MEMTAG_MTE,
RELR definitions, LoongArch relocations.
dwelf_elf_e_machine_string was updated to handle EM_LOONGARCH, and
ebl_dynamic_tag_name was updated to handle the new RELR dynamic tags.
Signed-off-by: Andreas Schwab
---
libdwelf
---
tests/ChangeLog | 5 +
tests/run-large-elf-file.sh | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 97b8dedb..f37f6cd6 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-14 Andreas Schwab
Avoid spurious failure if errno is modified by any other library call in
the test.
Signed-off-by: Andreas Schwab
---
tests/ChangeLog| 5 +
tests/dwelf_elf_e_machine_string.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/tests/ChangeLog b/tests/ChangeLog
index
The riscv port is still work in progress. Patches welcome to implement
the missing bits.
The backtrace-dwarf test doesn't fail for me, btw.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for
This adds support for ADD and SUB relocations as seen on RISC-V.
Signed-off-by: Andreas Schwab
---
backends/ChangeLog | 20
backends/aarch64_symbol.c | 3 ++-
backends/alpha_symbol.c | 3 ++-
backends/arm_symbol.c | 3 ++-
backends/bpf_symbol.c
lue; \
break;
TYPES;
#undef DO_TYPE
--
2.18.0
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
This fixes all testsuite failures.
Signed-off-by: Andreas Schwab
---
backends/ChangeLog | 8 +++
backends/Makefile.am | 2 +-
backends/{m68k_init.c => m68k_cfi.c} | 48
backends/m68k_init.c | 4 ++
backends/m68k_initre
Signed-off-by: Andreas Schwab
---
tests/ChangeLog | 12 +
tests/Makefile.am | 6 ++-
tests/run-allregs.sh| 71
tests/run-readelf-mixed-corenote.sh | 70 +++
tests/run-strip-test12
Signed-off-by: Andreas Schwab
---
backends/ChangeLog| 4
backends/riscv_regs.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/backends/ChangeLog b/backends/ChangeLog
index bf31072e3a..79370b6f85 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,3 +1,7
Signed-off-by: Andreas Schwab
---
backends/ChangeLog| 6
backends/Makefile.am | 2 +-
backends/riscv_corenote.c | 60 +++
backends/riscv_init.c | 1 +
4 files changed, 68 insertions(+), 1 deletion(-)
create mode 100644 backends
On Jul 17 2018, Mark Wielaard wrote:
> If you could regenerate the file with -g so that it does contain .debug
> sections that would help us fix the testcase.
It would probably help to update the build instructions to force debug
builds by adding CONFIG_DEBUG_INFO=y.
Andreas.
--
A
On Jul 17 2018, Ulf Hermann wrote:
> My first patch removes all temporary files at the beginning of runtest()
> which exposes this.
Thanks, I see the failure now. Here is the updated module:
hello_riscv64.ko.bz2
Description: BZip2 compressed data
Andreas.
--
Andreas Schwab, SUS
lo_riscv64.ko doesn't contain any debug sections.
> So strip doesn't produce a separate debug file.
>
> Andreas, could you provide an updated hello_riscv64.ko that is compiled
> with -g and does contain debuginfo?
What is the issue? The test worksforme.
Andreas.
--
Andrea
t need to handle SETX).
> They are not used much though and only againstĀ .debug_frame. So
> if you get RISC_ADD/SUB going that probably handles most uses.
Both size --reloc-debug-sections and readelf -wframe need to handle all
relocs, including SET6/ADD6/SUB6.
Andreas.
--
Andreas Schwab,
This fixes the backtrace-dwarf and deleted tests, and lets
backtrace-native run a bit further.
Signed-off-by: Andreas Schwab
---
backends/ChangeLog | 6
backends/Makefile.am | 3 +-
backends/riscv_init.c| 1 +
backends/riscv_initreg.c | 77
update_section_size' highpc <=
>> lowpc
>
> That is odd. For which testfile is this? Is it for a native (self test)
> file?
Yes, the object files for these sources.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
trace-core-riscv.sh testcase (the existing ones should
> explain how to generate the (static) executable and core file for the
> test, but if it is unclear please ask.
I will work on these.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970
From
<https://github.com/riscv/riscv-isa-manual/raw/master/release/riscv-spec-v2.2.pdf>
and GCC source.
Signed-off-by: Andreas Schwab
---
backends/Makefile.am | 2 +-
backends/riscv_cfi.c | 75 ++
backends/riscv_init.c | 4 +
backends/riscv_regs.c
binutils sources.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Signed-off-by: Andreas Schwab
---
backends/ChangeLog | 5 +
backends/riscv_init.c | 1 +
backends/riscv_symbol.c | 32
3 files changed, 38 insertions(+)
diff --git a/backends/ChangeLog b/backends/ChangeLog
index 63bb7e444e..0dde0ff3f5 100644
--- a
ailed.
./test-subr.sh: line 84: 26040 Aborted (core dumped)
LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
$VALGRIND_CMD "$@"
backtrace-child-core.26027: no main
rmdir: failed to remove 'test-26016': Directory not empty
FA
Signed-off-by: Andreas Schwab
---
libelf/ChangeLog | 4 +++
libelf/elf.h | 71
2 files changed, 63 insertions(+), 12 deletions(-)
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 62e8911654..ea2b9df884 100644
--- a/libelf/ChangeLog
This fixes the elflint self test when the compiler is configured for PIE
default.
Signed-off-by: Andreas Schwab
---
backends/ChangeLog| 5 +
backends/ppc_init.c | 1 +
backends/ppc_symbol.c | 10 ++
3 files changed, 16 insertions(+)
diff --git a/backends/ChangeLog b
31 matches
Mail list logo