diff options
author | Suzuki Poulose <[email protected]> | 2011-12-14 22:58:12 +0000 |
---|---|---|
committer | Josh Boyer <[email protected]> | 2011-12-20 10:21:08 -0500 |
commit | 9c5f7d39a86316cd13baf973c90ed27f9f1cc979 (patch) | |
tree | 615117060a4b8b87cf1496abca0fe0365e845388 /net/lapb/lapb_timer.c | |
parent | 239132454583d474932d8835f87a244f6f1bff9e (diff) |
powerpc: Process dynamic relocations for kernel
The following patch implements the dynamic relocation processing for
PPC32 kernel. relocate() accepts the target virtual address and relocates
the kernel image to the same.
Currently the following relocation types are handled :
R_PPC_RELATIVE
R_PPC_ADDR16_LO
R_PPC_ADDR16_HI
R_PPC_ADDR16_HA
The last 3 relocations in the above list depends on value of Symbol indexed
whose index is encoded in the Relocation entry. Hence we need the Symbol
Table for processing such relocations.
Note: The GNU ld for ppc32 produces buggy relocations for relocation types
that depend on symbols. The value of the symbols with STB_LOCAL scope
should be assumed to be zero. - Alan Modra
Signed-off-by: Suzuki K. Poulose <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Alan Modra <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: linuxppc-dev <[email protected]>
Signed-off-by: Josh Boyer <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions