Page MenuHomeFreeBSD

elftoolchain: update the list of riscv relocations
ClosedPublic

Authored by mhorne on Jan 23 2023, 9:03 PM.
Tags
None
Referenced Files
F173148079: D38175.id116113.diff
Wed, Sep 23, 10:43 PM
F173147868: D38175.id115471.diff
Wed, Sep 23, 10:41 PM
F173128208: D38175.diff
Wed, Sep 23, 7:30 PM
Unknown Object (File)
Fri, Sep 18, 2:19 PM
Unknown Object (File)
Thu, Sep 10, 5:46 PM
Unknown Object (File)
Wed, Sep 9, 3:24 AM
Unknown Object (File)
Tue, Sep 8, 6:39 PM
Unknown Object (File)
Sun, Sep 6, 5:33 AM
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/ :)