svn commit: r352760 - stable/12/sys/sys
Ed Maste
emaste at FreeBSD.org
Thu Sep 26 16:39:34 UTC 2019
Author: emaste
Date: Thu Sep 26 16:39:33 2019
New Revision: 352760
URL: https://svnweb.freebsd.org/changeset/base/352760
Log:
MFC r352551: elf_common: add ELF note names
r348628 added a definition of NT_GNU_BUILD_ID. Some software (Valgrind)
also expects a #define for the note name (ELF_NOTE_GNU) in the case that
NT_GNU_BUILD_ID is defined.
PR: 239669
Sponsored by: The FreeBSD Foundation
Modified:
stable/12/sys/sys/elf_common.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/sys/elf_common.h
==============================================================================
--- stable/12/sys/sys/elf_common.h Thu Sep 26 16:34:43 2019 (r352759)
+++ stable/12/sys/sys/elf_common.h Thu Sep 26 16:39:33 2019 (r352760)
@@ -764,6 +764,12 @@ typedef struct {
#define LL_DELAY_LOAD 0x10
#define LL_DELTA 0x20
+/* Note section names */
+#define ELF_NOTE_FREEBSD "FreeBSD"
+#define ELF_NOTE_NETBSD "NetBSD"
+#define ELF_NOTE_SOLARIS "SUNW Solaris"
+#define ELF_NOTE_GNU "GNU"
+
/* Values for n_type used in executables. */
#define NT_FREEBSD_ABI_TAG 1
#define NT_FREEBSD_NOINIT_TAG 2
More information about the svn-src-stable
mailing list