aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/elf.h
diff options
context:
space:
mode:
authorPaul Clothier <Paul.Clothier@imgtec.com>2013-03-19 08:04:43 -0400
committerJames Hogan <james.hogan@imgtec.com>2013-03-27 10:37:47 -0400
commit876d6dcdf26a2e860801ec61195e580d03f7b204 (patch)
tree33f1145d6f524c75128747c90206ea70487f3b09 /include/uapi/linux/elf.h
parent2b8660ed3bfe95523561e6d6a6f1ce91389006b1 (diff)
metag: ptrace: Implement NT_METAG_TLS
Implement functionality to get the TLS pointer for the metag architecture using regsets. This provides multi-threaded debug support for GDB. Signed-off-by: Paul Clothier <Paul.Clothier@imgtec.com> Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'include/uapi/linux/elf.h')
-rw-r--r--include/uapi/linux/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/elf.h b/include/uapi/linux/elf.h
index 8072d352b98f..ef6103bf1f9b 100644
--- a/include/uapi/linux/elf.h
+++ b/include/uapi/linux/elf.h
@@ -397,6 +397,7 @@ typedef struct elf64_shdr {
397#define NT_ARM_HW_WATCH 0x403 /* ARM hardware watchpoint registers */ 397#define NT_ARM_HW_WATCH 0x403 /* ARM hardware watchpoint registers */
398#define NT_METAG_CBUF 0x500 /* Metag catch buffer registers */ 398#define NT_METAG_CBUF 0x500 /* Metag catch buffer registers */
399#define NT_METAG_RPIPE 0x501 /* Metag read pipeline state */ 399#define NT_METAG_RPIPE 0x501 /* Metag read pipeline state */
400#define NT_METAG_TLS 0x502 /* Metag TLS pointer */
400 401
401 402
402/* Note header in a PT_NOTE section */ 403/* Note header in a PT_NOTE section */