diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-04-29 12:44:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-04-29 12:44:54 +0000 |
commit | a6eead001dfb0337410c174072522beab0f4f30c (patch) | |
tree | 87a2cab72c9c7baa9c979c8ee5de8600b37da806 /sys/arch/i386 | |
parent | fc6130b6dc99d96f838774f53d1a91f05b65f595 (diff) |
Do not remove local symbols from the table.
ddb(4) can now see static functions. That doesn't mean we should start
declaring functions as ``static'', however it helps for the few existing
exceptions.
ok deraadt@, kettenis@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/conf/Makefile.i386 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386 index 4cc51dc8724..56492f6fec6 100644 --- a/sys/arch/i386/conf/Makefile.i386 +++ b/sys/arch/i386/conf/Makefile.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.i386,v 1.93 2015/08/12 06:19:25 mlarkin Exp $ +# $OpenBSD: Makefile.i386,v 1.94 2016/04/29 12:44:52 mpi Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -83,14 +83,13 @@ SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@ DEBUG?= .if ${DEBUG} == "-g" -LINKFLAGS+= -X -STRIPFLAGS= -g -x +STRIPFLAGS= -S SYSTEM_LD_TAIL+=; \ echo mv $@ $@.gdb; rm -f $@.gdb; mv $@ $@.gdb; \ echo ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb; \ ${STRIP} ${STRIPFLAGS} -o $@ $@.gdb .else -LINKFLAGS+= -S -x +LINKFLAGS+= -S .endif %LOAD |