[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/23954] Use of unknown relocation function causes segfault
From: |
wilson at gcc dot gnu.org |
Subject: |
[Bug gas/23954] Use of unknown relocation function causes segfault |
Date: |
Sat, 08 Dec 2018 01:35:56 +0000 |
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.