https://sourceware.org/bugzilla/show_bug.cgi?id=23898
Bug ID: 23898
Summary: readelf: Warning: Gap in build notes detected from
0x401127 to 0x40113f
Product: binutils
Version: 2.32 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
On Fedora 29, I got
[hjl@gnu-cfl-1 tmp]$ cat
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-x86-64/pass.c
#include <stdio.h>
int
main ()
{
printf ("PASS\n");
return 0;
}
[hjl@gnu-cfl-1 tmp]$ gcc -g -O0 -Wa,-mx86-used-note=no -c
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-x86-64/pass.c
[hjl@gnu-cfl-1 tmp]$ gcc -g -O0 -Wa,-mx86-used-note=no
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-x86-64/pass.c
[hjl@gnu-cfl-1 tmp]$ readelf -n a.out > /dev/null
readelf: Warning: Gap in build notes detected from 0x401127 to 0x40113f
[hjl@gnu-cfl-1 tmp]$ gcc -g -O2 -Wa,-mx86-used-note=no
/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-x86-64/pass.c
[hjl@gnu-cfl-1 tmp]$ readelf -n a.out > /dev/null
[hjl@gnu-cfl-1 tmp]$
-O0 triggers "Warning: Gap in build notes detected from 0x401127 to 0x40113".
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils