diff options
author | Grant Grundler <grundler@parisc-linux.org> | 2005-10-21 22:56:35 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@parisc-linux.org> | 2005-10-21 22:56:35 -0400 |
commit | 61520e1f8f5ec3a78510a3254947324711944b98 (patch) | |
tree | f3fae16fc105543b505a2e9f6d4de2b852d44655 /arch/parisc | |
parent | e635c96ed6c972e1b3cb0c0fc3681c1204697287 (diff) |
[PARISC] Specify level to fix binutils level promotion bug
fixup.S needs to specify .level and use correct LDREG macro.
New binutils has a bug where it doesn't "promote" from PA1.0 to PA1.1
correctly when using ",s" completer.
remove use of __LP64__ in assembly.h and add some white space.
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/lib/fixup.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/lib/fixup.S b/arch/parisc/lib/fixup.S index 1b91612ed964..e0661c2978ed 100644 --- a/arch/parisc/lib/fixup.S +++ b/arch/parisc/lib/fixup.S | |||
@@ -35,7 +35,7 @@ | |||
35 | extrd,u \t2,63,32,\t2 | 35 | extrd,u \t2,63,32,\t2 |
36 | #endif | 36 | #endif |
37 | /* t2 = &__per_cpu_offset[smp_processor_id()]; */ | 37 | /* t2 = &__per_cpu_offset[smp_processor_id()]; */ |
38 | LDREG,s \t2(\t1),\t2 | 38 | LDREGX \t2(\t1),\t2 |
39 | addil LT%per_cpu__exception_data,%r27 | 39 | addil LT%per_cpu__exception_data,%r27 |
40 | LDREG RT%per_cpu__exception_data(%r1),\t1 | 40 | LDREG RT%per_cpu__exception_data(%r1),\t1 |
41 | /* t1 = &__get_cpu_var(exception_data) */ | 41 | /* t1 = &__get_cpu_var(exception_data) */ |
@@ -53,6 +53,8 @@ | |||
53 | .endm | 53 | .endm |
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | .level LEVEL | ||
57 | |||
56 | .text | 58 | .text |
57 | .section .fixup, "ax" | 59 | .section .fixup, "ax" |
58 | 60 | ||