lkml.org 
[lkml]   [2009]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/8] x86: Remove .dynbss from the vDSO linker script
Date
As far as I can see, the .dynbss section does not make any sense
and cannot even appear in a shared library.

Remove it.

Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
---
arch/x86/vdso/vdso-layout.lds.S | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/arch/x86/vdso/vdso-layout.lds.S b/arch/x86/vdso/vdso-layout.lds.S
index af3fa61..0386c92 100644
--- a/arch/x86/vdso/vdso-layout.lds.S
+++ b/arch/x86/vdso/vdso-layout.lds.S
@@ -46,15 +46,12 @@ SECTIONS
} :text :dynamic

.rodata : {
- *(.rodata*)
+ *(.rodata* .gnu.linkonce.r.*)
} :text
.data : {
- *(.data*)
+ *(.data* .gnu.linkonce.d.*)
*(.got.plt) *(.got)
- *(.gnu.linkonce.d.*)
- *(.bss*)
- *(.dynbss*)
- *(.gnu.linkonce.b.*)
+ *(.bss* .gnu.linkonce.b.*)
}

.altinstructions : {
@@ -71,7 +68,7 @@ SECTIONS
. = ALIGN(0x100);

.text : {
- *(.text*)
+ *(.text* .gnu.linkonce.t.*)
} :text =0x90909090
}

--
1.6.0.2


\
 
 \ /
  Last update: 2009-06-12 15:29    [W:0.054 / U:12.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site