bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/30254] iostream crashes with ld linker for windows targets


From: euloanty at live dot com
Subject: [Bug ld/30254] iostream crashes with ld linker for windows targets
Date: Sun, 21 May 2023 08:16:11 +0000

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

--- Comment #12 from cqwrteur <euloanty at live dot com> ---
Ida pro result for GNU ld. I do not see jmp instruction here.


.text:0000000140001540                               ; =============== S U B R
O U T I N E =======================================
.text:0000000140001540
.text:0000000140001540                               ; Attributes: bp-based
frame
.text:0000000140001540
.text:0000000140001540                               ; int __cdecl main()
.text:0000000140001540                               public main
.text:0000000140001540                               main proc near            
             ; CODE XREF: __tmainCRTStartup+169↑p
.text:0000000140001540                                                         
             ; DATA XREF: .pdata:0000000140006084↓o
.text:0000000140001540 55                            push    rbp
.text:0000000140001541 48 89 E5                      mov     rbp, rsp
.text:0000000140001544 48 83 EC 20                   sub     rsp, 20h
.text:0000000140001548                               ; #line 4
.text:0000000140001548 E8 F3 00 00 00                call    __main
.text:0000000140001548
.text:000000014000154D                               ; #line 5
.text:000000014000154D 48 8D 05 FC 2A 00 00          lea     rax, aHelloWorld  
             ; "Hello World\n"
.text:0000000140001554 48 89 C2                      mov     rdx, rax
.text:0000000140001557 48 8B 05 72 2E 00 00          mov     rax,
cs:_refptr__ZSt4cout
.text:000000014000155E 48 89 C1                      mov     rcx, rax
.text:0000000140001561 E8 1A 00 00 00                call   
_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc ;
std::operator<<<std::char_traits<char>>(std::ostream &,char const*)
.text:0000000140001561
.text:0000000140001566                               ; #line 6
.text:0000000140001566 B8 00 00 00 00                mov     eax, 0
.text:000000014000156B 48 83 C4 20                   add     rsp, 20h
.text:000000014000156F 5D                            pop     rbp
.text:0000000140001570 C3                            retn
.text:0000000140001570
.text:0000000140001570                               main endp
.text:0000000140001570
.text:0000000140001570                               ;
---------------------------------------------------------------------------
.text:0000000140001571                               ; #line 6
.text:0000000140001571                               algn_140001571:           
             ; DATA XREF: .pdata:0000000140006084↓o
.text:0000000140001571 90 90 90 90 90 90 90 90 90 90+align 20h
.text:0000000140001580                               ; [00000006 BYTES:
COLLAPSED FUNCTION std::operator<<<std::char_traits<char>>(std::ostream &,char
const*). PRESS CTRL-NUMPAD+ TO EXPAND]
.text:0000000140001586 90 90                         align 8
.text:0000000140001588                               ; [00000006 BYTES:
COLLAPSED FUNCTION std::ios_base_library_init(void). PRESS CTRL-NUMPAD+ TO
EXPAND]
.text:000000014000158E 90 90                         align 10h
.text:0000000140001590                               ; #line 21
.text:0000000140001590
.text:0000000140001590                               ; =============== S U B R
O U T I N E =======================================
.text:0000000140001590

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]