Re:GCC 4.9 Release Series – Changes, New Features, and Fixes
by revelation on Saturday April 12, 2014 @05:46PM
(#7579322)
Windows system DLLs have pointless "mov edi, edi" instructions in function prologues to enable hotpatching. It's not just mainframes ;)
[ Parent
| on HN ]
Re:GCC 4.9 Release Series – Changes, New Features, and Fixes
by jodrellblank on Saturday April 12, 2014 @09:50PM
(#7579863)
Which I recently read about on Raymond Chen's blog. Link: http://blogs.msdn.com/b/oldnewthing/archive/2011/09/21/10214...
Re:GCC 4.9 Release Series – Changes, New Features, and Fixes
by maximilianburke on Saturday April 12, 2014 @06:21PM
(#7579428)
Yes, MSVC does this when the /hotpatch command line option is provided.