X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Friscv%2Fkernel%2Fvmlinux.lds.S;h=305877d85e96bb3eb2aa24caf6b0d6f23333a2c0;hb=26e7aacb83dfd04330673c5c9ac336560da52bb3;hp=615ff5842690b1e0cc963061088c3885ae87bd28;hpb=d4dda690b44a5e36b4bf108c48177cef40c80d24;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/arch/riscv/kernel/vmlinux.lds.S b/arch/riscv/kernel/vmlinux.lds.S index 615ff58..305877d 100644 --- a/arch/riscv/kernel/vmlinux.lds.S +++ b/arch/riscv/kernel/vmlinux.lds.S @@ -83,6 +83,14 @@ SECTIONS /* Start of init data section */ __init_data_begin = .; INIT_DATA_SECTION(16) + + /* Those sections result from the compilation of kernel/pi/string.c */ + .init.pidata : { + *(.init.srodata.cst8*) + *(.init__bug_table*) + *(.init.sdata*) + } + .init.bss : { *(.init.bss) /* from the EFI stub */ } @@ -128,9 +136,10 @@ SECTIONS __rela_dyn_end = .; } + .got : { *(.got*) } + #ifdef CONFIG_RELOCATABLE .data.rel : { *(.data.rel*) } - .got : { *(.got*) } .plt : { *(.plt) } .dynamic : { *(.dynamic) } .dynsym : { *(.dynsym) }