diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-08 13:23:35 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-06-08 13:23:35 +0000 |
commit | 867f96b1e5084c2b28b71571a99eca58eb9239d0 (patch) | |
tree | a9fc3e02acc8061d8bdc3d28325cbbe7fdfc2038 /libexec | |
parent | 1aaf930d637f7d137cd8057e7391f65e77a20d22 (diff) | |
download | FreeBSD-src-867f96b1e5084c2b28b71571a99eca58eb9239d0.zip FreeBSD-src-867f96b1e5084c2b28b71571a99eca58eb9239d0.tar.gz |
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).
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 45318b9..95bec19 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -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 |