[CRIU] [PATCH] compel: Add R_X86_64{,_REX}_GOTPCRELX relocs

Cyrill Gorcunov gorcunov at gmail.com
Wed Oct 18 00:45:14 MSK 2017


On Tue, Oct 17, 2017 at 10:32:58PM +0100, Dmitry Safonov wrote:
> Add handeling of R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX.
> They are not that old, so I provided ifdef-guards for them.
> According to x86-64 ABI specification paper, they should be
> generated instead of R_X86_64_GOTPCREL for cases when relaxation
> is possible.
> 
> At this moment we can handle them the same way like R_X86_64_GOTPCREL.
> 
> [0] https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-r249.pdf
> 
> Fixes: #397
> 
> Cc: Cyrill Gorcunov <gorcunov at openvz.org>
> Reported-by: Adrian Reber <areber at redhat.com>
> Signed-off-by: Dmitry Safonov <dima at arista.com>

Ack. Thank you!


More information about the CRIU mailing list