https://github.com/torvalds/linux
Revision 5e2afc1ddd2a22b290bc334c0deffdd6dcdebc80 authored by Paul Mackerras on 06 May 2005, 03:35:04 UTC, committed by Linus Torvalds on 06 May 2005, 05:00:52 UTC
The code in reloc_offset is actually subtracting the address in the link
register from the address calculated by the linker.  Perhaps the
extended mnemonic `sub' replaced an original `subf' and the comment just
did not get updated.

        bl      1f
1:      mflr    r3
        LOADADDR(r4,1b)
        sub     r3,r4,r3

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 3892c5f
History
Tip revision: 5e2afc1ddd2a22b290bc334c0deffdd6dcdebc80 authored by Paul Mackerras on 06 May 2005, 03:35:04 UTC
[PATCH] ppc64: fix reloc_offset comment
Tip revision: 5e2afc1

README

back to top