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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |WORKSFORME

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Seems to already be fixed, if this bug ever existed.  Disassembly of
relocatable object files won't always show you what you might expect, since the
instruction fields may have relocations.  It pays to use objdump -dr to see the
relocs.

Note that this
   e_lis r4, data0@ha
   e_ori r4, r4, data0@l
is incorrect and *will* result in wrong addresses in the final linked object
for half the possible addresses of data0.  You need to use @hi to set the high
16 bits when using ori to set the low 16 bits.

-- 
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

Reply via email to