We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddcc7d9 commit 49cfbdcCopy full SHA for 49cfbdc
arch/riscv/kernel/vdso/vdso.lds.S
@@ -29,7 +29,13 @@ SECTIONS
29
.eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr
30
.eh_frame : { KEEP (*(.eh_frame)) } :text
31
32
- .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
+ .rodata : {
33
+ *(.rodata .rodata.* .gnu.linkonce.r.*)
34
+ *(.got.plt) *(.got)
35
+ *(.data .data.* .gnu.linkonce.d.*)
36
+ *(.dynbss)
37
+ *(.bss .bss.* .gnu.linkonce.b.*)
38
+ }
39
40
/*
41
* This linker script is used both with -r and with -shared.
@@ -44,13 +50,6 @@ SECTIONS
44
50
.alternative : {
45
51
*(.alternative)
46
52
}
47
-
48
- .data : {
49
- *(.got.plt) *(.got)
- *(.data .data.* .gnu.linkonce.d.*)
- *(.dynbss)
- *(.bss .bss.* .gnu.linkonce.b.*)
53
- }
54
55
56
0 commit comments