|
From: | stsp at users dot sourceforge.net |
Subject: | [Bug ld/23854] -no-pie -export-dynamic corrupts binary |
Date: | Sun, 04 Nov 2018 17:53:05 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23854 --- Comment #5 from Stas Sergeev <stsp at users dot sourceforge.net> --- Basically this code calculates the distance between "DPMI_return_from_realmode" and "DPMI_dummy_start", and puts the result into a 16bit variable. That explains the use of %ax. Its possible because those funcs are in 16bit asm. I think the gcc-generated asm code is perfectly fine here. It optimized the 32bit calculus to 16bits. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |