diff options
author | dchagin <dchagin@FreeBSD.org> | 2017-06-04 19:58:14 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2017-06-04 19:58:14 +0000 |
commit | ee1a67d0e0db96ec13eb065a8b2ffb148c5c12db (patch) | |
tree | 58a55ab3e9c1c55ef660b2f1d268e8ebe1da54b3 /sys/modules/linux64/Makefile | |
parent | 20146da1fc4dd2e2db520cd214d6fad1180d79e5 (diff) | |
download | FreeBSD-src-ee1a67d0e0db96ec13eb065a8b2ffb148c5c12db.zip FreeBSD-src-ee1a67d0e0db96ec13eb065a8b2ffb148c5c12db.tar.gz |
MFC r319052:
Strip _binary_linux_locore_o_size from ${VDSO}.so as it is a low absolute
symbol, and this breaks symbol lookup in ddb.
Approved by: re (kib)
Diffstat (limited to 'sys/modules/linux64/Makefile')
-rw-r--r-- | sys/modules/linux64/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile index ac40344..a33ae54 100644 --- a/sys/modules/linux64/Makefile +++ b/sys/modules/linux64/Makefile @@ -38,6 +38,7 @@ linux_locore.o: linux_locore.s linux_assym.h ${VDSO}.so: linux_locore.o ${OBJCOPY} --input-target binary --output-target elf64-x86-64-freebsd \ -S -g --binary-architecture i386:x86-64 linux_locore.o ${.TARGET} + strip -N _binary_linux_locore_o_size ${.TARGET} linux_support.o: assym.s linux_assym.h ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ |