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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to