PERFORCE change 169677 for review

Robert Watson rwatson at FreeBSD.org
Thu Oct 22 11:37:34 UTC 2009


http://p4web.freebsd.org/chv.cgi?CH=169677

Change 169677 by rwatson at rwatson_vimage_client on 2009/10/22 11:37:30

	Custom linker script is no longer required for rtld-elf-cap as
	the kernel now auto-places position-independent code properly.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#19 edit
.. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/rtld-elf-cap.xs#5 delete

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#19 (text+ko) ====

@@ -1,5 +1,5 @@
 # $FreeBSD$
-# $P4: //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#18 $
+# $P4: //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#19 $
 
 WITHOUT_SSP=
 
@@ -14,7 +14,7 @@
 CSTD?=		gnu99
 CFLAGS+=	-Wall -DFREEBSD_ELF -DIN_RTLD -DIN_RTLD_CAP -g
 CFLAGS+=	-I${.CURDIR} -I${.CURDIR}/../rtld-elf/${MACHINE_ARCH} -I${.CURDIR}/../rtld-elf
-LDFLAGS+=	-nostdlib -Wl,-e,.rtld_start -Wl,-T,${.CURDIR}/rtld-elf-cap.xs
+LDFLAGS+=	-nostdlib -Wl,-e,.rtld_start
 INSTALLFLAGS=	-C -b
 PRECIOUSPROG=
 BINDIR=		/libexec


More information about the p4-projects mailing list