Strip the .note.gnu.property section for the mbr
This section is added since binutils Debian version 2.31.1-2 and causes mbr.bin to grow in size beyond what can fit into the master boot record. Forwarded: https://www.syslinux.org/archives/2018-August/026168.html Gbp-Pq: Name 0016-strip-gnu-property.patch
This commit is contained in:
parent
f259e66f29
commit
bfa5029962
|
@ -69,5 +69,9 @@ SECTIONS
|
|||
.debug_funcnames 0 : { *(.debug_funcnames) }
|
||||
.debug_typenames 0 : { *(.debug_typenames) }
|
||||
.debug_varnames 0 : { *(.debug_varnames) }
|
||||
/DISCARD/ : { *(.note.GNU-stack) }
|
||||
/DISCARD/ :
|
||||
{
|
||||
*(.note.GNU-stack)
|
||||
*(.note.gnu.property)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,5 +68,9 @@ SECTIONS
|
|||
.debug_funcnames 0 : { *(.debug_funcnames) }
|
||||
.debug_typenames 0 : { *(.debug_typenames) }
|
||||
.debug_varnames 0 : { *(.debug_varnames) }
|
||||
/DISCARD/ : { *(.note.GNU-stack) }
|
||||
/DISCARD/ :
|
||||
{
|
||||
*(.note.GNU-stack)
|
||||
*(.note.gnu.property)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue