mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
vdso: remove empty note section
An empty note section looks weird and can confuse some tools. For example, we've seen this in https://reviews.llvm.org/D116639. PiperOrigin-RevId: 420093551
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user