0001
0002
0003 #include <asm/page.h>
0004
0005 OUTPUT_ARCH(csky)
0006
0007 SECTIONS
0008 {
0009 PROVIDE(_vdso_data = . + PAGE_SIZE);
0010 . = SIZEOF_HEADERS;
0011
0012 .hash : { *(.hash) } :text
0013 .gnu.hash : { *(.gnu.hash) }
0014 .dynsym : { *(.dynsym) }
0015 .dynstr : { *(.dynstr) }
0016 .gnu.version : { *(.gnu.version) }
0017 .gnu.version_d : { *(.gnu.version_d) }
0018 .gnu.version_r : { *(.gnu.version_r) }
0019
0020 .note : { *(.note.*) } :text :note
0021 .dynamic : { *(.dynamic) } :text :dynamic
0022
0023 .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr
0024 .eh_frame : { KEEP (*(.eh_frame)) } :text
0025
0026 .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
0027
0028 . = 0x800;
0029 .text : { *(.text .text.*) } :text
0030
0031 .data : {
0032 *(.got.plt) *(.got)
0033 *(.data .data.* .gnu.linkonce.d.*)
0034 *(.dynbss)
0035 *(.bss .bss.* .gnu.linkonce.b.*)
0036 }
0037 }
0038
0039 PHDRS
0040 {
0041 text PT_LOAD FLAGS(5) FILEHDR PHDRS;
0042 dynamic PT_DYNAMIC FLAGS(4);
0043 note PT_NOTE FLAGS(4);
0044 eh_frame_hdr PT_GNU_EH_FRAME;
0045 }
0046
0047 VERSION
0048 {
0049 LINUX_5.10 {
0050 global:
0051 __vdso_rt_sigreturn;
0052 __vdso_clock_gettime;
0053 __vdso_clock_gettime64;
0054 __vdso_gettimeofday;
0055 __vdso_clock_getres;
0056 local: *;
0057 };
0058 }