diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2008-07-24 20:08:41 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-25 01:44:40 -0400 |
commit | 80c60bf9b96f6108c630d90efc073cd520801e6c (patch) | |
tree | 3e554d4aa75669fe77c0efc26b4967440ea849fb /arch/powerpc/kernel | |
parent | 7886250e9d71b24d0205ac6798ee855fb3836318 (diff) |
powerpc: Fix compile error with binutils 2.15
My previous patch to fix compilation with binutils-2.17 causes
a "file truncated" build error from ld with binutils 2.15 (and
possibly older), and a warning with 2.16 and 2.17.
This fixes it.
Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Acked-by: Chuck Meade <chuckmeade@mindspring.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index a914411bced5..4a8ce62fe112 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -85,7 +85,7 @@ SECTIONS | |||
85 | 85 | ||
86 | /* The dummy segment contents for the bug workaround mentioned above | 86 | /* The dummy segment contents for the bug workaround mentioned above |
87 | near PHDRS. */ | 87 | near PHDRS. */ |
88 | .dummy : { | 88 | .dummy : AT(ADDR(.dummy) - LOAD_OFFSET) { |
89 | LONG(0xf177) | 89 | LONG(0xf177) |
90 | } :kernel :dummy | 90 | } :kernel :dummy |
91 | 91 | ||