[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/29004] various bugs in RISCV version
From: |
mark4th at gmail dot com |
Subject: |
[Bug gas/29004] various bugs in RISCV version |
Date: |
Wed, 30 Mar 2022 21:55:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29004
--- Comment #1 from Mark Manning <mark4th at gmail dot com> ---
.macro VOCAB name, cfa, thread
.header "\name", \cfa
\cfa:
nop
jal x25, do_voc
.quad \thread
.fill 63, 8, 0
.quad vlink
.set vlink, \cfa
.endm
the above macro is failing for the same reason the .header macro was failing
but while there was a work around for the .header macro the same work around
does not work here for some reason that is utterly beyond my understanding.
vocabs.s:123: Error: redefined symbol cannot be used on reloc
line 123 invokes the above macro and that is failing on the .set vlink, \cfa.
this is "it just works (tm)" in every other version of the gnu assembler I have
ever used and this literally kills my project dead in the water.
Why does the riscv assembler not allow this? it is a horrendous/fatal
inconsistency
--
You are receiving this mail because:
You are on the CC list for the bug.