diff options
author | 2019-06-07 16:27:47 +0000 | |
---|---|---|
committer | 2019-06-07 16:27:47 +0000 | |
commit | 9dfb6b44065ea59fd096ceb2d2b264225c8b0f3b (patch) | |
tree | 2e314616d1a04eb5393e162aade9337790d59521 | |
parent | add ukspan(4), a driver for the Keyspan USA19HS USB serial adapter (diff) | |
download | wireguard-openbsd-9dfb6b44065ea59fd096ceb2d2b264225c8b0f3b.tar.xz wireguard-openbsd-9dfb6b44065ea59fd096ceb2d2b264225c8b0f3b.zip |
make gc workaround compile on non-clang
-rw-r--r-- | libexec/ld.so/loader.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/loader.c b/libexec/ld.so/loader.c index 43ce767b1a4..7e8f60578cb 100644 --- a/libexec/ld.so/loader.c +++ b/libexec/ld.so/loader.c @@ -1,4 +1,4 @@ -/* $OpenBSD: loader.c,v 1.181 2019/06/04 02:35:40 guenther Exp $ */ +/* $OpenBSD: loader.c,v 1.182 2019/06/07 16:27:47 deraadt Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -209,7 +209,9 @@ void _dl_clean_boot(void) { extern char boot_text_start[], boot_text_end[]; +#if 0 /* XXX breaks boehm-gc?!? */ extern char boot_data_start[], boot_data_end[]; +#endif _dl_munmap(boot_text_start, boot_text_end - boot_text_start); #if 0 /* XXX breaks boehm-gc?!? */ |