mirror of git://sourceware.org/git/glibc.git
elf: add definition for ELF_NOTE_FDO and NT_FDO_PACKAGING_METADATA note
As defined on: https://systemd.io/COREDUMP_PACKAGE_METADATA/ this note will be used starting from Fedora 36. Signed-off-by: Luca Boccassi <bluca@debian.org>
This commit is contained in:
parent
b31bd11454
commit
0656b649c5
|
|
@ -1259,6 +1259,8 @@ typedef struct
|
||||||
/* Note entries for GNU systems have this name. */
|
/* Note entries for GNU systems have this name. */
|
||||||
#define ELF_NOTE_GNU "GNU"
|
#define ELF_NOTE_GNU "GNU"
|
||||||
|
|
||||||
|
/* Note entries for freedesktop.org have this name. */
|
||||||
|
#define ELF_NOTE_FDO "FDO"
|
||||||
|
|
||||||
/* Defined types of notes for Solaris. */
|
/* Defined types of notes for Solaris. */
|
||||||
|
|
||||||
|
|
@ -1302,6 +1304,10 @@ typedef struct
|
||||||
/* Program property. */
|
/* Program property. */
|
||||||
#define NT_GNU_PROPERTY_TYPE_0 5
|
#define NT_GNU_PROPERTY_TYPE_0 5
|
||||||
|
|
||||||
|
/* Packaging metadata as defined on
|
||||||
|
https://systemd.io/COREDUMP_PACKAGE_METADATA/ */
|
||||||
|
#define NT_FDO_PACKAGING_METADATA 0xcafe1a7e
|
||||||
|
|
||||||
/* Note section name of program property. */
|
/* Note section name of program property. */
|
||||||
#define NOTE_GNU_PROPERTY_SECTION_NAME ".note.gnu.property"
|
#define NOTE_GNU_PROPERTY_SECTION_NAME ".note.gnu.property"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue