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.

Reply via email to