https://sourceware.org/bugzilla/show_bug.cgi?id=22914
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> --- Gold didn't properly align the NT_GNU_PROPERTY_TYPE_0 note: [hjl@gnu-cet-1 simple-linux]$ make LD=ld.gold gcc -g -fcf-protection -c -o test.o test.S gcc -g -fcf-protection -c -o start.o start.S gcc -g -fcf-protection -c -o syscall.o syscall.S ld.gold -o test test.o start.o syscall.o ./test hello world [hjl@gnu-cet-1 simple-linux]$ readelf -l test Elf file type is EXEC (Executable file) Entry point 0x400151 There are 3 program headers, starting at offset 64 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align LOAD 0x0000000000000000 0x0000000000400000 0x0000000000400000 0x00000000000001f0 0x00000000000001f0 R E 0x1000 LOAD 0x0000000000001000 0x0000000000401000 0x0000000000401000 0x0000000000000000 0x0000000000000000 RW 0x1000 NOTE 0x00000000000000e8 0x00000000004000e8 0x00000000004000e8 0x0000000000000030 0x0000000000000030 R 0x4 Section to Segment mapping: Segment Sections... 00 .note.gnu.property .text .eh_frame 01 .data .bss 02 .note.gnu.property [hjl@gnu-cet-1 simple-linux]$ The NT_GNU_PROPERTY_TYPE_0 note follows gABI and should have 8 byte alignment for 64-bit ELF. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils