R_PPC_ADDR16_HI relocs in PPC modules ?

Paul Mackerras paulus at samba.org
Wed Jan 3 11:47:55 EST 2007

Segher Boessenkool writes:

> Ah.  lis and ori.  HI16 is just fine there -- but note that
> that doesn't use an add insn.  You're patching the function

lis is an addis with rA=0, don't forget...

> "apply_relocate_add()", so I guess some more work is needed?

Looks fine as it is to me.


More information about the Linuxppc-dev mailing list