svn commit: r222859 - head/libexec/rtld-elf
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Wed Jun 8 13:23:36 UTC 2011
Author: nwhitehorn
Date: Wed Jun 8 13:23:35 2011
New Revision: 222859
URL: http://svn.freebsd.org/changeset/base/222859
Log:
Compile RTLD with global dot symbols on 64-bit PowerPC, as a crutch for
GDB's ability to locate r_debug_state (which is actually the only function
that need be compiled this way).
Modified:
head/libexec/rtld-elf/Makefile
Modified: head/libexec/rtld-elf/Makefile
==============================================================================
--- head/libexec/rtld-elf/Makefile Wed Jun 8 12:03:34 2011 (r222858)
+++ head/libexec/rtld-elf/Makefile Wed Jun 8 13:23:35 2011 (r222859)
@@ -17,6 +17,7 @@ RTLD_ARCH= ${MACHINE_CPUARCH}
.endif
CFLAGS+= -I${.CURDIR}/${RTLD_ARCH} -I${.CURDIR}
.if ${MACHINE_ARCH} == "powerpc64"
+CFLAGS+= -mcall-aixdesc
LDFLAGS+= -nostdlib -e _rtld_start
.else
LDFLAGS+= -nostdlib -e .rtld_start
More information about the svn-src-head
mailing list