diff options
author | Roland McGrath <roland@redhat.com> | 2008-05-11 10:40:47 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-23 15:27:23 +1000 |
commit | 2ca7633dc73405ee775a2e9b7961b47a38bc882d (patch) | |
tree | 2a4e5340e7c3020421b1dafeb4fd1955798b0a42 /arch/powerpc/kernel/vdso64 | |
parent | 21451155d8858773ee764e9218de2ca0f4d6fc38 (diff) | |
download | kernel_samsung_smdk4412-2ca7633dc73405ee775a2e9b7961b47a38bc882d.zip kernel_samsung_smdk4412-2ca7633dc73405ee775a2e9b7961b47a38bc882d.tar.gz kernel_samsung_smdk4412-2ca7633dc73405ee775a2e9b7961b47a38bc882d.tar.bz2 |
[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.S | 6 |
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 932b3fd..7d6585f 100644 --- a/arch/powerpc/kernel/vdso64/vdso64.lds.S +++ b/arch/powerpc/kernel/vdso64/vdso64.lds.S @@ -43,15 +43,15 @@ SECTIONS .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } .rodata1 : { *(.rodata1) } + .dynamic : { *(.dynamic) } :text :dynamic + .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr .eh_frame : { KEEP (*(.eh_frame)) } :text .gcc_except_table : { *(.gcc_except_table) } + .rela.dyn ALIGN(8) : { *(.rela.dyn) } .opd ALIGN(8) : { KEEP (*(.opd)) } .got ALIGN(8) : { *(.got .toc) } - .rela.dyn ALIGN(8) : { *(.rela.dyn) } - - .dynamic : { *(.dynamic) } :text :dynamic _end = .; PROVIDE(end = .); |