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/armish | |
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/armish')
-rw-r--r-- | sys/arch/armish/conf/Makefile.armish | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/armish/conf/Makefile.armish b/sys/arch/armish/conf/Makefile.armish index ee71cf4586e..56bcd9a1118 100644 --- a/sys/arch/armish/conf/Makefile.armish +++ b/sys/arch/armish/conf/Makefile.armish @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.armish,v 1.51 2015/01/13 01:12:49 deraadt Exp $ +# $OpenBSD: Makefile.armish,v 1.52 2016/04/29 12:44:52 mpi Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -85,14 +85,13 @@ SYSTEM_LD_TAIL+=; \ 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+= -x +LINKFLAGS+= -S .endif %LOAD |