On Jun 20 2018, Mark Wielaard <m...@klomp.org> wrote: > aha, ok, but it looks like RISCV_(ADD|SUB)(8|16|32|64) should not be > too hard to handle. The other ones (RISCV_SETX) might be a little > harder.
The SETX relocs are simple absolute relocs (SET32 is the same as 32, but the dynamic linker does not 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, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."