Taken from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906414. Author: Lukas Schwaighofer Description: 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. --- mbr/i386/mbr.ld | 1 + mbr/x86_64/mbr.ld | 1 + 2 files changed, 2 insertions(+) diff --git a/mbr/i386/mbr.ld b/mbr/i386/mbr.ld index d14ba80..5368346 100644 --- a/mbr/i386/mbr.ld +++ b/mbr/i386/mbr.ld @@ -70,4 +70,5 @@ SECTIONS .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } /DISCARD/ : { *(.note.GNU-stack) } + /DISCARD/ : { *(.note.gnu.property) } } diff --git a/mbr/x86_64/mbr.ld b/mbr/x86_64/mbr.ld index ae27d49..b8c0d89 100644 --- a/mbr/x86_64/mbr.ld +++ b/mbr/x86_64/mbr.ld @@ -69,4 +69,5 @@ SECTIONS .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } /DISCARD/ : { *(.note.GNU-stack) } + /DISCARD/ : { *(.note.gnu.property) } } d=82e6a8fed73d4b86ee6229d135a5122b9d61d833'>refslogtreecommitdiff
path: root/tests/uuid.scm
AgeCommit message (Expand)Author
2019-05-07uuid: 'fat-uuid->string' preserves leading zeros....Fixes <https://bugs.gnu.org/35582>. Reported by sirgazil <sirgazil@zoho.com>. Previously, leading zeros would be removed, leading to an "invalid" UUID: (uuid->string (uuid "00CA-050E" 'fat32)) ⇒ "CA-50E" (string->uuid "CA-50E" 'fat32) ⇒ #f * gnu/system/uuid.scm (fat-uuid->string): Pad digits with zeros. * tests/uuid.scm ("uuid, FAT32, leading zeros preserved"): New test. Ludovic Courtès