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:
parent
d1dae8d69e
commit
aa06a0cc20
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue