[gnutls-devel] GnuTLS | accelerated: avoid symbol export mismatch with _gnutls_x86_cpuid_s (!1642)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Sep 19 17:23:24 CEST 2022




Daiki Ueno commented on a discussion on lib/accelerated/x86/coff/aesni-x86.s: https://gitlab.com/gnutls/gnutls/-/merge_requests/1642#note_1105636034

>  .L112pic:
>  	popl	%ebx
>  	leal	.Lkey_const-.L112pic(%ebx),%ebx
> -	leal	__gnutls_x86_cpuid_s,%ebp
> +	leal	_GNUTLS_x86_cpuid_s,%ebp

The assembler on macOS seems to add underscore to every external symbol:
- https://orangejuiceliberationfront.com/intel-assembler-on-mac-os-x/
- https://github.com/dot-asm/cryptogams/blob/master/x86_64/x86_64-xlate.pl#L85

I guess it's not a problem as the restriction is at C level, not assembly level.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1642#note_1105636034
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220919/68166e5c/attachment.html>


More information about the Gnutls-devel mailing list