https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Stas Sergeev from comment #12) > > > Btw, could you please explain why the problem > > > only happens with -export-dynamic? This doesn't > > > seem to be related to the generated asm, AFAICT. > > It has nothing to do with -export-dynamic. My testcase doesn't use > > -export-dynamic. > But my does, and in fact, when you type "make good", > the only things that changes, is no -export-dynamic. > Could you please make sure I am not hitting the second > bug here? Your check for "good" one is incomplete. I got Dump of assembler code from 0x814bd49 to 0x814bd86: 0x0814bd49 <do_dpmi_int+6144>: c7 c0 eb f5 13 08 mov $0x813f5eb,%eax 0x0814bd4f <do_dpmi_int+6150>: 66 05 00 48 add $0x4800,%ax 0x0814bd53 <do_dpmi_int+6154>: 66 81 e8 e0 f5 sub $0xf5e0,%ax 0x0814bd58 <do_dpmi_int+6159>: 13 08 adc (%eax),%ecx <<<< This is wrong. 0x0814bd5a <do_dpmi_int+6161>: 66 89 46 30 mov %ax,0x30(%esi) 0x0814bd5e <do_dpmi_int+6165>: 0f b7 45 2c movzwl 0x2c(%ebp),%eax 0x0814bd62 <do_dpmi_int+6169>: 66 3d 01 03 cmp $0x301,%ax 0x0814bd66 <do_dpmi_int+6173>: 0f 84 90 00 00 00 je 0x814bdfc <do_dpmi_int+6323> 0x0814bd6c <do_dpmi_int+6179>: 66 3d 02 03 cmp $0x302,%ax 0x0814bd70 <do_dpmi_int+6183>: 0f 84 a4 00 00 00 je 0x814be1a <do_dpmi_int+6353> 0x0814bd76 <do_dpmi_int+6189>: 66 3d 00 03 cmp $0x300,%ax 0x0814bd7a <do_dpmi_int+6193>: 0f 85 9a ec ff ff jne 0x814aa1a <do_dpmi_int+1233> 0x0814bd80 <do_dpmi_int+6199>: 80 7d 20 21 cmpb $0x21,0x20(%ebp) 0x0814bd84 <do_dpmi_int+6203>: 74 3b je 0x814bdc1 <do_dpmi_int+6264> End of assembler dump. -- 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