Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2013 09:46:23 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255385 - in head/etc: . etc.amd64
Message-ID:  <201309080946.r889kNSX050568@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Sun Sep  8 09:46:22 2013
New Revision: 255385
URL: http://svnweb.freebsd.org/changeset/base/255385

Log:
  Add a stock libmap32.conf for amd64.  The first two lines have no effect
  except to document the hardcoded standard library search path for 32-bit
  binaries.  The third line performs the equivalent substitution for the
  private library directory.
  
  Ironically, these entries rely on functionality which is only available
  in the COMPAT_32BIT version of rtld-elf.
  
  Approved by:	re (blanket)

Added:
  head/etc/etc.amd64/libmap32.conf   (contents, props changed)
Modified:
  head/etc/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Sun Sep  8 09:40:23 2013	(r255384)
+++ head/etc/Makefile	Sun Sep  8 09:46:22 2013	(r255385)
@@ -50,6 +50,10 @@ BIN1=	crontab \
 	syslog.conf \
 	termcap.small
 
+.if ${MACHINE} == "amd64"
+BIN1+=	etc.${MACHINE}/libmap32.conf
+.endif
+
 .if exists(${.CURDIR}/etc.${MACHINE}/ttys)
 BIN1+=	etc.${MACHINE}/ttys
 .elif exists(${.CURDIR}/etc.${MACHINE_ARCH}/ttys)

Added: head/etc/etc.amd64/libmap32.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/etc/etc.amd64/libmap32.conf	Sun Sep  8 09:46:22 2013	(r255385)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+/lib			/lib32
+/usr/lib		/usr/lib32
+/usr/lib/private	/usr/lib32/private



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309080946.r889kNSX050568>