about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-07-18 15:16:11 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-07-18 15:16:24 -0700
commitd957c4d3fa48d685ff2726c605c988127ef99395 (patch)
tree5a685d949970ee49e0ad65443ad1001b967b2135 /ChangeLog
parent41d036588230253487e94bf2608f5213a23c7fb2 (diff)
downloadglibc-d957c4d3fa48d685ff2726c605c988127ef99395.tar.gz
glibc-d957c4d3fa48d685ff2726c605c988127ef99395.tar.xz
glibc-d957c4d3fa48d685ff2726c605c988127ef99395.zip
i386: Compile rtld-*.os with -mno-sse -mno-mmx -mfpmath=387
Compile i386 rtld-*.os with -mno-sse -mno-mmx -mfpmath=387 so that no
code in ld.so uses mm/xmm/ymm/zmm registers on i386 since the first 3
mm/xmm/ymm/zmm registers are used to pass vector parameters which must
be preserved.

	* sysdeps/i386/Makefile (rtld-CFLAGS): New.
	[subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
	-mfpmath=387 with $(rtld-CFLAGS).
	[subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
	$(rtld-CFLAGS).
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 855032f0ed..b587b40b01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/i386/Makefile (rtld-CFLAGS): New.
+	[subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
+	-mfpmath=387 with $(rtld-CFLAGS).
+	[subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
+	$(rtld-CFLAGS).
+
 2016-07-18   Ross Burton  <ross.burton@intel.com>
 	     Khem Raj  <raj.khem@gmail.com>