[PATCH 1/4] aarch64: Add tests for Guarded Control Stack

Yury Khrustalev yury.khrustalev@arm.com
Wed Jan 29 09:56:01 GMT 2025


On Tue, Jan 28, 2025 at 11:28:40AM -0300, Adhemerval Zanella Netto wrote:
> 
> > Would LIBC_LINKER_FEATURE be appropriate here. I see that for compiler flags
> > support there is a desinction between CC and TEST_CC so probably it's the
> > same for linker? But I can't find something like LIBC_TEST_LINKER_FEATURE.
> 
> I think we should LIBC_LINKER_FEATURE for now, it is used on some tests enablement
> like have-z-execstack.  But the CC and TEST_CC is a good point and we might
> get back to this if/when CC and TEST_CC uses a liker with different support
> (which I think was not taking in consideration for TEST_CC addition).

Thanks, I've sent v3 with the new configure check that allows to only enable
GCS tests if toolchain supports them, and then it run on both systems with
and without GCS (UNSUPPORTED in the latter case).

https://inbox.sourceware.org/libc-alpha/20250129094940.2643944-1-yury.khrustalev@arm.com/

Kind regards,
Yury



More information about the Libc-alpha mailing list