summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-03-19 15:18:44 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-03-19 15:18:44 -0700
commita9879d4cde1ac5505c0ff097c4d0d6e66f1ecb83 (patch)
tree9c14d3f697ad53b2fabc3a87948c76f8956be112
parentb4c35121c4e62bcb0d774d56896a3e2868645faa (diff)
downloadglibc-a9879d4cde1ac5505c0ff097c4d0d6e66f1ecb83.tar.gz
glibc-a9879d4cde1ac5505c0ff097c4d0d6e66f1ecb83.tar.xz
glibc-a9879d4cde1ac5505c0ff097c4d0d6e66f1ecb83.zip
Add x32 support to ldd-rewrite.sed
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 295f499bf6..ea77a93367 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
+
 2012-03-19  David S. Miller  <davem@davemloft.net>
 
 	* sysdeps/sparc/fpu/fenv_private.h: New file.
diff --git a/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed b/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
index 3f1530d314..44d76e8aa1 100644
--- a/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
+++ b/sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed
@@ -1,3 +1,3 @@
 /LD_TRACE_LOADED_OBJECTS=1/a\
 add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"
-s_^\(RTLDLIST=\)\(.*lib\)\(\|64\)\(/[^/]*\)\(-x86-64\)\(\.so\.[0-9.]*\)[ 	]*$_\1"\2\4\6 \264\4\5\6"_
+s_^\(RTLDLIST=\)\(.*lib\)\(\|64\|x32\)\(/[^/]*\)\(-x86-64\|-x32\)\(\.so\.[0-9.]*\)[ 	]*$_\1"\2\4\6 \264\4-x86-64\6 \2x32\4-x32\6"_