ce426f
commit a4754272958a8368701bb2a8d6b0c224fe3b4e73
ce426f
Author: H.J. Lu <hjl.tools@gmail.com>
ce426f
Date:   Thu Mar 3 14:51:40 2016 -0800
ce426f
ce426f
    Or bit_Prefer_MAP_32BIT_EXEC in EXTRA_LD_ENVVARS
ce426f
    
ce426f
    We should turn on bit_Prefer_MAP_32BIT_EXEC in EXTRA_LD_ENVVARS without
ce426f
    overriding other bits.
ce426f
    
ce426f
      [BZ #19758]
ce426f
      * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
ce426f
      (EXTRA_LD_ENVVARS): Or bit_Prefer_MAP_32BIT_EXEC.
ce426f
ce426f
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h b/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
ce426f
index c9db5ea..a759934 100644
ce426f
--- a/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
ce426f
+++ b/sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
ce426f
@@ -33,7 +33,7 @@
ce426f
   case 21:							      \
ce426f
     if (memcmp (envline, "PREFER_MAP_32BIT_EXEC", 21) == 0)	      \
ce426f
       GLRO(dl_x86_cpu_features).feature[index_Prefer_MAP_32BIT_EXEC]  \
ce426f
-	= bit_Prefer_MAP_32BIT_EXEC;				      \
ce426f
+	|= bit_Prefer_MAP_32BIT_EXEC;				      \
ce426f
     break;
ce426f
 
ce426f
 /* Extra unsecure variables.  The names are all stuffed in a single