elf.h: Add NT_ARM_SYSTEM_CALL constant.

Message ID 1455296324-9114-1-git-send-email-mjw@redhat.com
State New, archived
Headers

Commit Message

Mark Wielaard Feb. 12, 2016, 4:58 p.m. UTC
  Linux kernel 3.18 added the NT_ARM_SYSTEM_CALL regset for aarch64.

	* elf/elf.h: Add NT_ARM_SYSTEM_CALL.
  

Comments

Carlos O'Donell Feb. 12, 2016, 6:55 p.m. UTC | #1
On 02/12/2016 11:58 AM, Mark Wielaard wrote:
> Linux kernel 3.18 added the NT_ARM_SYSTEM_CALL regset for aarch64.
> 
> 	* elf/elf.h: Add NT_ARM_SYSTEM_CALL.
> 
> diff --git a/elf/elf.h b/elf/elf.h
> index 15f5a75..9cd5e7d 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -667,6 +667,7 @@ typedef struct
>  #define NT_ARM_TLS	0x401		/* ARM TLS register */
>  #define NT_ARM_HW_BREAK	0x402		/* ARM hardware breakpoint registers */
>  #define NT_ARM_HW_WATCH	0x403		/* ARM hardware watchpoint registers */
> +#define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */
>  
>  /* Legal values for the note segment descriptor types for object files.  */

Looks good to me. We're in freeze for 2.23, can it wait until 2.24 is cut
on the 18th and then you can check it in?

Cheers,
Carlos.
  
Mark Wielaard Feb. 12, 2016, 7:15 p.m. UTC | #2
On Fri, Feb 12, 2016 at 01:55:39PM -0500, Carlos O'Donell wrote:
> On 02/12/2016 11:58 AM, Mark Wielaard wrote:
> > +#define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */
> 
> Looks good to me. We're in freeze for 2.23, can it wait until 2.24 is cut
> on the 18th and then you can check it in?

Sure, there is no urgency.
I'll wait till the trunk opens for commits again.

Thanks,

Mark
  
Mark Wielaard Feb. 19, 2016, 8:10 p.m. UTC | #3
On Fri, Feb 12, 2016 at 08:15:20PM +0100, Mark Wielaard wrote:
> On Fri, Feb 12, 2016 at 01:55:39PM -0500, Carlos O'Donell wrote:
> > On 02/12/2016 11:58 AM, Mark Wielaard wrote:
> > > +#define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */
> > 
> > Looks good to me. We're in freeze for 2.23, can it wait until 2.24 is cut
> > on the 18th and then you can check it in?
> 
> Sure, there is no urgency.
> I'll wait till the trunk opens for commits again.

I pushed this to master now.
  

Patch

diff --git a/elf/elf.h b/elf/elf.h
index 15f5a75..9cd5e7d 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -667,6 +667,7 @@  typedef struct
 #define NT_ARM_TLS	0x401		/* ARM TLS register */
 #define NT_ARM_HW_BREAK	0x402		/* ARM hardware breakpoint registers */
 #define NT_ARM_HW_WATCH	0x403		/* ARM hardware watchpoint registers */
+#define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */
 
 /* Legal values for the note segment descriptor types for object files.  */