diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2022-09-01 05:49:05 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2022-09-01 05:49:05 +0000 |
commit | f5af19729f3fad7548e8201734957a9825600ad7 (patch) | |
tree | 3c418c913677b4e0b494f1b32d754a20fa82015f /lib/libelf | |
parent | b0d6374db7359a886ac9b7dbca7d210f620bdad1 (diff) |
Do not embed ident(1) strings in object code.
ok daniel@ deraadt@ jca@
Diffstat (limited to 'lib/libelf')
-rw-r--r-- | lib/libelf/_elftc.h | 8 |
1 files changed, 2 insertions, 6 deletions
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 */ |