Skip to content

Commit

Permalink
Add NT_VMCOREDD, AT_MINSIGSTKSZ from Linux 4.18 to elf.h.
Browse files Browse the repository at this point in the history
This patch adds two new constants from Linux 4.18 to elf.h,
NT_VMCOREDD and AT_MINSIGSTKSZ.

Tested for x86_64.

	* elf/elf.c (NT_VMCOREDD): New macro.
	(AT_MINSIGSTKSZ): Likewise.
  • Loading branch information
jsm28 committed Aug 20, 2018
1 parent 35cfefd commit 1741954
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2018-08-20 Joseph Myers <[email protected]>

* elf/elf.c (NT_VMCOREDD): New macro.
(AT_MINSIGSTKSZ): Likewise.

2018-08-20 Rajalakshmi Srinivasaraghavan <[email protected]>

* sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
Expand Down
4 changes: 4 additions & 0 deletions elf/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ typedef struct
#define NT_ARM_SYSTEM_CALL 0x404 /* ARM system call number */
#define NT_ARM_SVE 0x405 /* ARM Scalable Vector Extension
registers */
#define NT_VMCOREDD 0x700 /* Vmcore Device Dump Note. */

/* Legal values for the note segment descriptor types for object files. */

Expand Down Expand Up @@ -1214,6 +1215,9 @@ typedef struct
#define AT_L3_CACHESIZE 46
#define AT_L3_CACHEGEOMETRY 47

#define AT_MINSIGSTKSZ 51 /* Stack needed for signal delivery
(AArch64). */

/* Note section contents. Each entry in the note section begins with
a header of a fixed form. */

Expand Down

0 comments on commit 1741954

Please sign in to comment.