Re: [PATCH 19/23] [AARCH64] delouse input arguments in system functions
From: Andreas Schwab
Date: Wed Jun 29 2016 - 03:49:49 EST
Yury Norov <ynorov@xxxxxxxxxxxxxxxxxx> writes:
> @@ -174,6 +177,7 @@ _dl_tlsdesc_dynamic:
> stp x29, x30, [sp,#-(32+16*NSAVEXREGPAIRS)]!
> cfi_adjust_cfa_offset (32+16*NSAVEXREGPAIRS)
> mov x29, sp
> + DELOUSE(0)
>
> /* Save just enough registers to support fast path, if we fall
> into slow path we will save additional registers. */
> @@ -188,6 +192,7 @@ _dl_tlsdesc_dynamic:
> td->entry) and thus it synchronizes with the release store to
> td->entry in _dl_tlsdesc_resolve_rela_fixup ensuring that the load
> from [x0,#PTR_SIZE] here happens after the initialization of td->arg. */
> + DELOUSE(0)
Once is enough.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."