mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
ppc64: Fix clobber list item for JUMP_TO_RESTORER_BLOB
The JUMP_TO_RESTORER_BLOB assembly macro has been rewrote through the commit '89d6b39cfeppc64: pie -- Add ppc64le relocation's processing', but the Clobber list hasn't been updated. This doesn't generate build neither runtime errors since the Clobber list was larger than needed but GCC 7 is now raising an error when an assembly macro is clobbering the r2 register. This patch fix the Clobber list to just modified registers. Fixes:89d6b39cfe("ppc64: pie -- Add ppc64le relocation's processing") Reported-by: Adrian Reber <adrian@lisas.de> Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
56138fea8c
commit
17366e2ec1
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
|||
: "r"(new_sp), \
|
||||
"r"((unsigned long)restore_task_exec_start), \
|
||||
"r"(task_args) \
|
||||
: "r1", "1", "2", "3", "12", "memory")
|
||||
: "1", "3", "12")
|
||||
|
||||
/* There is nothing to do since TLS is accessed through r13 */
|
||||
#define core_get_tls(pcore, ptls)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue