From a2432a9b39b470aace2210f9cc4fb790df9c8702 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 23 Nov 2008 20:42:36 +0000 Subject: 2008-11-23 Samuel Thibault * i386/i386/proc_reg.h (get_cr0, get_cr2, get_cr3, get_cr4, get_tr, get_ldt): Add volatile qualifier to asm statement to prevent gcc from optimizing it away since there seems to be no way to clobber these properly in the set_* macros. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 36887827..868bd109 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-23 Samuel Thibault + + * i386/i386/proc_reg.h (get_cr0, get_cr2, get_cr3, get_cr4, get_tr, + get_ldt): Add volatile qualifier to asm statement to prevent gcc from + optimizing it away since there seems to be no way to clobber these + properly in the set_* macros. + 2008-11-17 Thomas Schwinge * Makefile.am (install_sh, INSTALL): Point to `build-aux/install-sh'. -- cgit v1.2.3