This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 19/23] [AARCH64] delouse input arguments in system functions
- From: Andreas Schwab <schwab at suse dot de>
- To: Yury Norov <ynorov at caviumnetworks dot com>
- Cc: <libc-alpha at sourceware dot org>, <linux-kernel at vger dot kernel dot org>, <arnd at arndb dot de>, <catalin dot marinas at arm dot com>, <marcus dot shawcroft at arm dot com>, <philb at gnu dot org>, <davem at davemloft dot net>, <szabolcs dot nagy at arm dot com>, <maxim dot kuvyrkov at linaro dot org>, <joseph at codesourcery dot com>, <pinskia at gmail dot com>, <bamvor dot zhangjian at huawei dot com>, <fweimer at redhat dot com>, <Prasun dot Kapoor at cavium dot com>, <cmetcalf at mellanox dot com>, <hjl dot tools at gmail dot com>, <adhemerval dot zanella at linaro dot org>
- Date: Wed, 29 Jun 2016 09:49:41 +0200
- Subject: Re: [PATCH 19/23] [AARCH64] delouse input arguments in system functions
- Authentication-results: sourceware.org; auth=none
- References: <1467131978-669-1-git-send-email-ynorov at caviumnetworks dot com> <1467131978-669-20-git-send-email-ynorov at caviumnetworks dot com>
Yury Norov <ynorov@caviumnetworks.com> 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@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."