Commit d4703ae
committed
module: handle ppc64 relocating kcrctabs when CONFIG_RELOCATABLE=y
powerpc applies relocations to the kcrctab. They're absolute symbols,
but it's not completely unreasonable: other archs may too, but the
relocation is often 0.
http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-November/077972.html
Inspired-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Tested-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Paul Mackerras <paulus@samba.org>1 parent a877376 commit d4703ae
File tree
3 files changed
+29
-7
lines changed- arch/powerpc
- include/asm
- kernel
- kernel
3 files changed
+29
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
883 | 894 | | |
884 | 895 | | |
885 | 896 | | |
886 | 897 | | |
887 | | - | |
| 898 | + | |
| 899 | + | |
888 | 900 | | |
889 | 901 | | |
890 | 902 | | |
| |||
905 | 917 | | |
906 | 918 | | |
907 | 919 | | |
908 | | - | |
| 920 | + | |
909 | 921 | | |
910 | 922 | | |
911 | | - | |
| 923 | + | |
912 | 924 | | |
913 | 925 | | |
914 | 926 | | |
| |||
931 | 943 | | |
932 | 944 | | |
933 | 945 | | |
934 | | - | |
| 946 | + | |
| 947 | + | |
935 | 948 | | |
936 | 949 | | |
937 | 950 | | |
| |||
949 | 962 | | |
950 | 963 | | |
951 | 964 | | |
952 | | - | |
| 965 | + | |
| 966 | + | |
953 | 967 | | |
954 | 968 | | |
955 | 969 | | |
| |||
984 | 998 | | |
985 | 999 | | |
986 | 1000 | | |
987 | | - | |
988 | | - | |
| 1001 | + | |
| 1002 | + | |
989 | 1003 | | |
990 | 1004 | | |
991 | 1005 | | |
| |||
0 commit comments