[build] Discard junk sections created by newer gcc versions
This commit is contained in:
parent
54fbd11221
commit
c661945e82
|
@ -149,7 +149,13 @@ SECTIONS {
|
|||
|
||||
/DISCARD/ : {
|
||||
*(.comment)
|
||||
*(.comment.*)
|
||||
*(.note)
|
||||
*(.note.*)
|
||||
*(.eh_frame)
|
||||
*(.eh_frame.*)
|
||||
*(.rel)
|
||||
*(.rel.*)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -145,7 +145,13 @@ SECTIONS {
|
|||
|
||||
/DISCARD/ : {
|
||||
*(.comment)
|
||||
*(.comment.*)
|
||||
*(.note)
|
||||
*(.note.*)
|
||||
*(.eh_frame)
|
||||
*(.eh_frame.*)
|
||||
*(.rel)
|
||||
*(.rel.*)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Reference in New Issue