Page MenuHomeFreeBSD

elftoolchain: update the list of riscv relocations
ClosedPublic

Authored by mhorne on Jan 23 2023, 9:03 PM.
Tags
None
Referenced Files
F115415935: D38175.diff
Wed, Apr 23, 2:10 PM
Unknown Object (File)
Sun, Apr 6, 10:22 AM
Unknown Object (File)
Sat, Apr 5, 5:46 AM
Unknown Object (File)
Wed, Apr 2, 8:14 PM
Unknown Object (File)
Mar 22 2025, 5:56 AM
Unknown Object (File)
Feb 28 2025, 2:05 PM
Unknown Object (File)
Feb 10 2025, 1:01 PM
Unknown Object (File)
Feb 10 2025, 12:54 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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/ :)