https://sourceware.org/bugzilla/show_bug.cgi?id=30300

--- Comment #2 from Pali Rohár <pali at kernel dot org> ---
Hello! Patch is working fine:

$ x86_64-w64-mingw32-gcc -Wall -Wextra -nostartfiles -nodefaultlibs -nostdlib
test-nostartfiles.c -o test-nostartfiles.exe -flto

$ x86_64-w64-mingw32-objdump -p test-nostartfiles.exe | grep
AddressOfEntryPoint
AddressOfEntryPoint     0000000000001000

$ x86_64-w64-mingw32-objdump -d test-nostartfiles.exe | head -18

test-nostartfiles2.exe: formát súboru pei-x86-64


Rozloženie sekcie .text:

0000000140001000 <mainCRTStartup>:
   140001000:   55                      push   %rbp
   140001001:   48 89 e5                mov    %rsp,%rbp
   140001004:   b8 00 00 00 00          mov    $0x0,%eax
   140001009:   5d                      pop    %rbp
   14000100a:   c3                      retq
   14000100b:   90                      nop
   14000100c:   90                      nop
   14000100d:   90                      nop
   14000100e:   90                      nop
   14000100f:   90                      nop

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to