diff options
author | 2017-11-01 16:12:30 +0000 | |
---|---|---|
committer | 2017-11-01 16:12:30 +0000 | |
commit | e7189ab87d028054eb866682a303ce11e35c5e16 (patch) | |
tree | 1a02ee547e7ee8152d849d2f338c405d0d5f0dc9 | |
parent | Disable relocation until it is shown to be necessary. This code (diff) | |
download | wireguard-openbsd-e7189ab87d028054eb866682a303ce11e35c5e16.tar.xz wireguard-openbsd-e7189ab87d028054eb866682a303ce11e35c5e16.zip |
Remove forward declaration hack now that ctfconv(1) merge them correctly.
ok jasper@
-rw-r--r-- | sys/ddb/db_ctf.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/ddb/db_ctf.c b/sys/ddb/db_ctf.c index f4930521498..5e2b83d157a 100644 --- a/sys/ddb/db_ctf.c +++ b/sys/ddb/db_ctf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_ctf.c,v 1.24 2017/10/13 18:11:47 jasper Exp $ */ +/* $OpenBSD: db_ctf.c,v 1.25 2017/11/01 16:12:30 mpi Exp $ */ /* * Copyright (c) 2016-2017 Martin Pieuchot @@ -294,13 +294,6 @@ db_ctf_type_by_name(const char *name, unsigned int kind) if (CTF_INFO_KIND(ctt->ctt_info) != kind) continue; - /* - * Skip forward declaration that shouldn't be inserted - * by ctfconv(1). - */ - if (kind == CTF_K_STRUCT && ctt->ctt_size == 0) - continue; - tname = db_ctf_off2name(ctt->ctt_name); if (tname == NULL) continue; |