Skip to content

Commit

Permalink
Or bit_Prefer_MAP_32BIT_EXEC in EXTRA_LD_ENVVARS
Browse files Browse the repository at this point in the history
We should turn on bit_Prefer_MAP_32BIT_EXEC in EXTRA_LD_ENVVARS without
overriding other bits.

	[BZ #19758]
	* sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
	(EXTRA_LD_ENVVARS): Or bit_Prefer_MAP_32BIT_EXEC.
  • Loading branch information
H.J. Lu committed Mar 3, 2016
1 parent e5d6bc6 commit a475427
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2016-03-03 H.J. Lu <hongjiu.lu@intel.com>

[BZ #19758]
* sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
(EXTRA_LD_ENVVARS): Or bit_Prefer_MAP_32BIT_EXEC.

2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>

[BZ #19490]
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
case 21: \
if (memcmp (envline, "PREFER_MAP_32BIT_EXEC", 21) == 0) \
GLRO(dl_x86_cpu_features).feature[index_Prefer_MAP_32BIT_EXEC] \
= bit_Prefer_MAP_32BIT_EXEC; \
|= bit_Prefer_MAP_32BIT_EXEC; \
break;

/* Extra unsecure variables. The names are all stuffed in a single
Expand Down

0 comments on commit a475427

Please sign in to comment.