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 Reported by: Yuichiro NAITO Sponsored by: The FreeBSD Foundation Event: EuroBSDCon FreeBSD DevSummit 2019
This commit is contained in:
parent
e6b3bd22d8
commit
8b43027381
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352551
@ -769,6 +769,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
|
||||
|
Loading…
Reference in New Issue
Block a user