https://sourceware.org/bugzilla/show_bug.cgi?id=23954
Jim Wilson <wilson at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-12-08 Assignee|unassigned at sourceware dot org |wilson at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jim Wilson <wilson at gcc dot gnu.org> --- The problem is the extra register, not the unknown relocation function. I get the same error with just auipc x0, x1 The problem seems to be limited to auipc and lui, which aren't properly checking their arguments. The second arg can be a constant or a %*hi operator, but can't be a register. There is no check to fail when it is a register though. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils