Page MenuHomeFreeBSD

elftoolchain: update the list of riscv relocations
ClosedPublic

Authored by mhorne on Jan 23 2023, 9:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 16 2025, 11:19 AM
Unknown Object (File)
Dec 13 2025, 9:26 PM
Unknown Object (File)
Dec 11 2025, 2:48 PM
Unknown Object (File)
Nov 26 2025, 9:01 PM
Unknown Object (File)
Nov 12 2025, 12:46 PM
Unknown Object (File)
Nov 2 2025, 12:49 AM
Unknown Object (File)
Oct 29 2025, 5:39 PM
Unknown Object (File)
Oct 29 2025, 5:38 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 49201
Build 46090: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 23 2023, 9:56 PM
jrtc27 added inline comments.
contrib/elftoolchain/libelftc/elftc_reloc_type_str.c
670

Upstream's code pains me by not being

#define _ELF_DEFINE_RELOC(_n, _v) case _v: return #_n;
switch (type) {
_ELF_DEFINE_RISCV_RELOCATIONS()
}
#undef _ELF_DEFINE_RELOC

etc after they go to the trouble of making a preprocessor iterator thing, but oh well...

contrib/elftoolchain/libelftc/elftc_reloc_type_str.c
670

You could submit a patch at https://sourceforge.net/projects/elftoolchain/ :)