aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-01-10 10:16:06 -0500
committerChris Metcalf <cmetcalf@tilera.com>2013-01-10 10:16:06 -0500
commit176f2fe0a1c2aeb7551eeddf651b2b32eb456137 (patch)
treea04d0940baf5040a6b7dbd81f9b2361bff34c39d /ports
parent755f4317594a12ae5c0477d2976c5ccbf6752de6 (diff)
downloadglibc-176f2fe0a1c2aeb7551eeddf651b2b32eb456137.zip
glibc-176f2fe0a1c2aeb7551eeddf651b2b32eb456137.tar.gz
glibc-176f2fe0a1c2aeb7551eeddf651b2b32eb456137.tar.bz2
tilegx: fix ldd to work with both tilegx64 and tilegx32
This uses the same ldd-rewrite.sed hook as other platforms, with the minor tweak that tilegx uses /lib (64-bit) and /lib32 (32-bit).
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.tile6
-rw-r--r--ports/sysdeps/unix/sysv/linux/tile/tilegx/configure4
-rw-r--r--ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in4
-rw-r--r--ports/sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed1
4 files changed, 15 insertions, 0 deletions
diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile
index e70742b..a5eaec3 100644
--- a/ports/ChangeLog.tile
+++ b/ports/ChangeLog.tile
@@ -1,3 +1,9 @@
+2013-01-10 Chris Metcalf <cmetcalf@tilera.com>
+
+ * sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed: New file.
+ * sysdeps/unix/sysv/linux/tile/tilegx/configure.in: New file.
+ * sysdeps/unix/sysv/linux/tile/tilegx/configure: New file.
+
2013-01-02 Joseph Myers <joseph@codesourcery.com>
* All files with FSF copyright notices: Update copyright dates
diff --git a/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure
new file mode 100644
index 0000000..bfa30f6
--- /dev/null
+++ b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure
@@ -0,0 +1,4 @@
+# This file is generated from configure.in by Autoconf. DO NOT EDIT!
+ # Local configure fragment for sysdeps/unix/sysv/linux/tile/tilegx
+
+ldd_rewrite_script=$dir/ldd-rewrite.sed
diff --git a/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in
new file mode 100644
index 0000000..87d86bd
--- /dev/null
+++ b/ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in
@@ -0,0 +1,4 @@
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/unix/sysv/linux/tile/tilegx
+
+ldd_rewrite_script=$dir/ldd-rewrite.sed
diff --git a/ports/sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed b/ports/sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed
new file mode 100644
index 0000000..8b0bb69
--- /dev/null
+++ b/ports/sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed
@@ -0,0 +1 @@
+s_^\(RTLDLIST=\)\(.*lib\)\(\|32\)\(/[^/]*\.so\.[0-9.]*\)[ ]*$_\1"\2\4 \232\4"_