diff --git a/vdso/vdso_amd64.lds b/vdso/vdso_amd64.lds index d114290da..ce292c96a 100644 --- a/vdso/vdso_amd64.lds +++ b/vdso/vdso_amd64.lds @@ -43,8 +43,6 @@ SECTIONS { .gnu.version_d : { *(.gnu.version_d) } .gnu.version_r : { *(.gnu.version_r) } - .note : { *(.note.*) } :text :note - .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr .eh_frame : { KEEP (*(.eh_frame)) } :text @@ -77,7 +75,6 @@ SECTIONS { PHDRS { text PT_LOAD FLAGS(5) FILEHDR PHDRS; /* PF_R | PF_X */ dynamic PT_DYNAMIC FLAGS(4); /* PF_R */ - note PT_NOTE FLAGS(4); /* PF_R */ eh_frame_hdr PT_GNU_EH_FRAME; } diff --git a/vdso/vdso_arm64.lds b/vdso/vdso_arm64.lds index 469185468..203065dd5 100644 --- a/vdso/vdso_arm64.lds +++ b/vdso/vdso_arm64.lds @@ -46,8 +46,6 @@ SECTIONS { .gnu.version_d : { *(.gnu.version_d) } .gnu.version_r : { *(.gnu.version_r) } - .note : { *(.note.*) } :text :note - .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr .eh_frame : { KEEP (*(.eh_frame)) } :text @@ -80,7 +78,6 @@ SECTIONS { PHDRS { text PT_LOAD FLAGS(5) FILEHDR PHDRS; /* PF_R | PF_X */ dynamic PT_DYNAMIC FLAGS(4); /* PF_R */ - note PT_NOTE FLAGS(4); /* PF_R */ eh_frame_hdr PT_GNU_EH_FRAME; }