diff --git a/glibc.changes b/glibc.changes index 588fd09..c16d2f2 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 3 15:36:12 UTC 2012 - aj@suse.de + +- Only use -mno-tls-direct-seg-refs on 32-bit x86, it's not needed + on x86-64. + ------------------------------------------------------------------- Tue Jan 3 14:37:48 UTC 2012 - aj@suse.de diff --git a/glibc.spec b/glibc.spec index 6a44ac3..7d0b965 100644 --- a/glibc.spec +++ b/glibc.spec @@ -482,7 +482,8 @@ PARALLEL="%{?_smp_mflags}" %ifarch hppa BuildFlags="$BuildFlags -mpa-risc-1-1 -fstrict-aliasing" %endif -%ifarch %ix86 x86_64 +%ifarch %ix86 +# Add this to avoid performance penalty on Xen for 32-bit x86 BuildFlags="$BuildFlags -mno-tls-direct-seg-refs" %endif # Add flags for all plattforms except AXP