Introduce __rseq_cs_ptr_array, rename __rseq_table to __rseq_cs
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Mar 2019 17:20:42 +0000 (13:20 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Mar 2019 19:47:25 +0000 (15:47 -0400)
commitdd01d0fbbf6799b7401956f8313302863a9e5fd0
tree6c940d070892ec66150931c7d5708c282455b84e
parent90d9876e779eb089a707c26b455abeadba546fb3
Introduce __rseq_cs_ptr_array, rename __rseq_table to __rseq_cs

The entries within __rseq_table are aligned on 32 bytes due to
linux/rseq.h struct rseq_cs uapi requirements, but the start of the
__rseq_table section is not guaranteed to be 32-byte aligned. It can
cause padding to be added at the start of the section, which makes it
hard to use as an array of items by debuggers.

Considering that __rseq_table does not really consist of a table due to
the presence of padding, rename this section to __rseq_cs.

Create a new __rseq_cs_ptr_array section which contains 64-bit packed
pointers to entries within the __rseq_cs section.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/rseq/rseq-arm.h
include/rseq/rseq-arm64.h
include/rseq/rseq-mips.h
include/rseq/rseq-ppc.h
include/rseq/rseq-s390.h
include/rseq/rseq-x86.h
This page took 0.042547 seconds and 4 git commands to generate.