diff options
Diffstat (limited to 'arch/x86/vdso')
-rw-r--r-- | arch/x86/vdso/vdso.lds.S | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/arch/x86/vdso/vdso.lds.S b/arch/x86/vdso/vdso.lds.S index b9a60e665d08..667d3245d972 100644 --- a/arch/x86/vdso/vdso.lds.S +++ b/arch/x86/vdso/vdso.lds.S | |||
@@ -26,13 +26,16 @@ SECTIONS | |||
26 | is insufficient, ld -shared will barf. Just increase it here. */ | 26 | is insufficient, ld -shared will barf. Just increase it here. */ |
27 | . = VDSO_PRELINK + VDSO_TEXT_OFFSET; | 27 | . = VDSO_PRELINK + VDSO_TEXT_OFFSET; |
28 | 28 | ||
29 | .text : { *(.text) } :text | 29 | .text : { *(.text*) } :text |
30 | .text.ptr : { *(.text.ptr) } :text | 30 | .rodata : { *(.rodata*) } :text |
31 | . = VDSO_PRELINK + 0x900; | 31 | .data : { |
32 | .data : { *(.data) } :text | 32 | *(.data*) |
33 | .bss : { *(.bss) } :text | 33 | *(.sdata*) |
34 | *(.bss*) | ||
35 | *(.dynbss*) | ||
36 | } :text | ||
34 | 37 | ||
35 | .altinstructions : { *(.altinstructions) } :text | 38 | .altinstructions : { *(.altinstructions) } :text |
36 | .altinstr_replacement : { *(.altinstr_replacement) } :text | 39 | .altinstr_replacement : { *(.altinstr_replacement) } :text |
37 | 40 | ||
38 | .note : { *(.note.*) } :text :note | 41 | .note : { *(.note.*) } :text :note |
@@ -42,7 +45,6 @@ SECTIONS | |||
42 | .useless : { | 45 | .useless : { |
43 | *(.got.plt) *(.got) | 46 | *(.got.plt) *(.got) |
44 | *(.gnu.linkonce.d.*) | 47 | *(.gnu.linkonce.d.*) |
45 | *(.dynbss) | ||
46 | *(.gnu.linkonce.b.*) | 48 | *(.gnu.linkonce.b.*) |
47 | } :text | 49 | } :text |
48 | } | 50 | } |