aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/vdso64
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-05-10 20:40:47 -0400
committerPaul Mackerras <paulus@samba.org>2008-05-23 01:27:23 -0400
commit2ca7633dc73405ee775a2e9b7961b47a38bc882d (patch)
tree2a4e5340e7c3020421b1dafeb4fd1955798b0a42 /arch/powerpc/kernel/vdso64
parent21451155d8858773ee764e9218de2ca0f4d6fc38 (diff)
[POWERPC] Tweak VDSO linker script to avoid upsetting old binutils
This works around bugs in older binutils' objcopy. The placement of these sections does not really matter, but it confused the buggy old BFD libraries. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/vdso64')
-rw-r--r--arch/powerpc/kernel/vdso64/vdso64.lds.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/vdso64/vdso64.lds.S b/arch/powerpc/kernel/vdso64/vdso64.lds.S
index 932b3fdb34b9..7d6585f90277 100644
--- a/arch/powerpc/kernel/vdso64/vdso64.lds.S
+++ b/arch/powerpc/kernel/vdso64/vdso64.lds.S
@@ -43,15 +43,15 @@ SECTIONS
43 .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } 43 .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
44 .rodata1 : { *(.rodata1) } 44 .rodata1 : { *(.rodata1) }
45 45
46 .dynamic : { *(.dynamic) } :text :dynamic
47
46 .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr 48 .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr
47 .eh_frame : { KEEP (*(.eh_frame)) } :text 49 .eh_frame : { KEEP (*(.eh_frame)) } :text
48 .gcc_except_table : { *(.gcc_except_table) } 50 .gcc_except_table : { *(.gcc_except_table) }
51 .rela.dyn ALIGN(8) : { *(.rela.dyn) }
49 52
50 .opd ALIGN(8) : { KEEP (*(.opd)) } 53 .opd ALIGN(8) : { KEEP (*(.opd)) }
51 .got ALIGN(8) : { *(.got .toc) } 54 .got ALIGN(8) : { *(.got .toc) }
52 .rela.dyn ALIGN(8) : { *(.rela.dyn) }
53
54 .dynamic : { *(.dynamic) } :text :dynamic
55 55
56 _end = .; 56 _end = .;
57 PROVIDE(end = .); 57 PROVIDE(end = .);