[PATCH]: minor cleanup in powerpc.cc, typo in symtab.h

Nick Lewycky nicholas@mxc.ca
Wed Dec 31 05:17:00 GMT 2008


Hi,

This patch makes a few obvious fixes in powerpc.cc.

Nick Lewycky

2008-12-30  Nick Lewycky  <nicholas@metrix.on.ca>

    * powerpc.cc (Relocate::relocate): Fix copy-pasto where rel16_hi and
    rel16_ha were both calling rel16_lo.
    * powerpc.cc (rel16_ha): Don't try to invert 0xffff in a 16-bit 
value. That
    triggers a warning that causes a compile failure.
    * powerpc.cc: typo fix x+ +4 into x + 4 (C++ interprets this as +4 
with the
    * symtab.h: relocaiton -> relocation


-------------- next part --------------
A non-text attachment was scrubbed...
Name: small-cleanups.patch
Type: text/x-patch
Size: 2457 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20081231/273f5555/attachment.bin>


More information about the Binutils mailing list