https://sourceware.org/bugzilla/show_bug.cgi?id=3132

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ld                          |gas

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
This is a gas problem.  gas is generating R_H8_DIR16 for the .word expression,
which is wrong.  The expression needs a 16 bit pc-relative reloc instead, or
gas should be resolving the "label-." expression itself.  It doesn't resolve
the expression because h8300 sets linkrelax and there is no logic to detect
that the expression is pc-relative and does not cross a region that could
change size.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to