binutils/binutils-disable-readelf-gap-reports.patch
Nick Clifton b25b0811ad Fix a potential buffer overrun when parsing a corrupt ELF file. (#1632912)
Add a .attach_to_group pseuo-op to assembler (for use by annobin).  (#1630574)
Stop the binutils from statically linking with libstdc++.  (#1630550)
Include gold testsuite results in test logs.
Disable readelf's reporting of gaps in build notes.  (#1623556)
2018-09-28 14:19:31 +01:00

17 lines
625 B
Diff

--- binutils.orig/binutils/readelf.c 2018-09-05 14:08:22.733186922 +0100
+++ binutils-2.30/binutils/readelf.c 2018-09-05 15:35:38.009749485 +0100
@@ -17634,11 +17634,12 @@ print_gnu_build_attribute_description (E
if (is_open_attr)
{
+#if 0
/* FIXME: Need to properly allow for section alignment. 16 is just the alignment used on x86_64. */
if (global_end > 0 && start > BFD_ALIGN (global_end, 16))
warn (_("Gap in build notes detected from %#lx to %#lx\n"),
global_end + 1, start - 1);
-
+#endif
printf (_(" Applies to region from %#lx"), start);
global_offset = start;