From: miod Date: Thu, 1 Sep 2022 05:49:04 +0000 (+0000) Subject: Do not embed ident(1) strings in object code. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=af80a390dcaf227786258cbac4627fb6b7b3ffd4;p=openbsd Do not embed ident(1) strings in object code. ok daniel@ deraadt@ jca@ --- diff --git a/lib/libelf/_elftc.h b/lib/libelf/_elftc.h index 09bc0e4c2ab..01913eeb702 100644 --- a/lib/libelf/_elftc.h +++ b/lib/libelf/_elftc.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: _elftc.h,v 1.2 2021/09/02 21:12:09 deraadt Exp $ + * $Id: _elftc.h,v 1.3 2022/09/01 05:49:04 miod Exp $ */ /** @@ -316,11 +316,7 @@ struct name { \ #endif #if defined(__OpenBSD__) -#if defined(__GNUC__) -#define ELFTC_VCSID(ID) __asm__(".ident\t\"" ID "\"") -#else -#define ELFTC_VCSID(ID) /**/ -#endif /* __GNUC__ */ +#define ELFTC_VCSID(ID) /* intentionally disabled */ #endif #endif /* ELFTC_VCSID */