From 176f2fe0a1c2aeb7551eeddf651b2b32eb456137 Mon Sep 17 00:00:00 2001 From: Chris Metcalf Date: Thu, 10 Jan 2013 10:16:06 -0500 Subject: 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). --- ports/ChangeLog.tile | 6 ++++++ ports/sysdeps/unix/sysv/linux/tile/tilegx/configure | 4 ++++ ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in | 4 ++++ ports/sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed | 1 + 4 files changed, 15 insertions(+) create mode 100644 ports/sysdeps/unix/sysv/linux/tile/tilegx/configure create mode 100644 ports/sysdeps/unix/sysv/linux/tile/tilegx/configure.in create mode 100644 ports/sysdeps/unix/sysv/linux/tile/tilegx/ldd-rewrite.sed (limited to 'ports') 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 + + * 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 * 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"_ -- cgit v1.1