Add the VDSO to the initrd

This commit is contained in:
Justin C. Miller
2019-10-10 00:14:46 -07:00
parent 991b13424e
commit 71fe3d733b
3 changed files with 12 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
PHDRS {
rodata PT_LOAD FLAGS(4) FILEHDR PHDRS ;
headers PT_PHDR FLAGS(4) FILEHDR PHDRS ;
rodata PT_LOAD FLAGS(4) ;
text PT_LOAD FLAGS(5) ;
dynamic PT_DYNAMIC FLAGS(4) ;
note PT_NOTE ;
@@ -14,6 +15,7 @@ SECTIONS {
*(.plt*)
*(.note.*)
*(.hash*)
*(.debug*)
}
.illegal.relocations : {
@@ -53,6 +55,10 @@ SECTIONS {
KEEP(*(.eh_frame_hdr))
} :eh_frame
.shstrtab : {
*(.shstrtab)
}
.text ALIGN(0x1000) : {
*(.text*)
*(.init*)