From owner-p4-projects@FreeBSD.ORG Sat Jan 24 21:52:22 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 91A341065672; Sat, 24 Jan 2009 21:52:21 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5120B106564A for ; Sat, 24 Jan 2009 21:52:21 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3D76A8FC0A for ; Sat, 24 Jan 2009 21:52:21 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0OLqLXw079716 for ; Sat, 24 Jan 2009 21:52:21 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0OLqLMs079714 for perforce@freebsd.org; Sat, 24 Jan 2009 21:52:21 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 24 Jan 2009 21:52:21 GMT Message-Id: <200901242152.n0OLqLMs079714@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 156623 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2009 21:52:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=156623 Change 156623 by rwatson@rwatson_freebsd_capabilities on 2009/01/24 21:52:09 Fix a bug in the base FreeBSD rtld Makefile -- linker arguments to gcc must be escaped with -Wl,. Due to good luck, this worked: rtld_start.S was the first SRCS entry, and .rtld_start was the first symbol in that file. Wee. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf/Makefile#3 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf/Makefile#3 (text+ko) ==== @@ -12,7 +12,7 @@ CSTD?= gnu99 CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD CFLAGS+= -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR} -LDFLAGS+= -nostdlib -e .rtld_start +LDFLAGS+= -nostdlib -Wl,-e,.rtld_start INSTALLFLAGS= -C -b PRECIOUSPROG= BINDIR= /libexec