This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC PATCH 1/2] Aarch64: Add simd exp/expf ABI symbols
- From: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>
- To: Florian Weimer <fweimer at redhat dot com>, Steve Ellcey <sellcey at marvell dot com>
- Cc: nd <nd at arm dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Mon, 15 Jul 2019 11:04:01 +0000
- Subject: Re: [RFC PATCH 1/2] Aarch64: Add simd exp/expf ABI symbols
- Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=arm.com;dmarc=pass action=none header.from=arm.com;dkim=pass header.d=arm.com;arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B+LL3IWCwHxtnJ5jqlwFRwDfSAt0hGVR/5WltPie3Ss=; b=JBUka5611bzLxPa0xtwLasYxNY9p5TIMRTHlMrPnNcnoEaf3fMWIcdd0bIxLH2x9o3GcFPAwIhlj2dd45CLkdvxYyzmr4OnbFsVikruTlnx2vRENMWDlN13B95wFs1yv2jQ0fSQzB2UyTzobAK+2x1myVGUhulriKy9WGXKqdnmkhostDV9I43AFM8UYjjwP1cUQ7D1m8s1X6ByNi1J4ftS4nVp9iPov/MfPILkitQbmghpTz8V097muetFWJmShO5iowUXoi7tEqRsbmduSpWjVbv3rXdfAgsMLTeTyC6sldjOhfRKGX2IWlTiv8d7Zw3yht/dBSRmrBi6p63BoZQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m1g9O3y30CTcXUfyYi6sR9VnaTIEt6aTLilDFv/zikzXOu8/JDKtZkSAN+KQdszH34MFoNsex+8MkljsC/2UuHO5TUP+q8nyK+FvSHtFvZtyfGjAhyY/Wo9tbReJGqin3/GWfs8WVS+imASzlNdW70ArKfT8okHq1Z7hOg4SDGYH7QLIZHSMgfKtmdose/uw2uhp1qpc964TDGyn82aQ7iloLDWGCYVfd3XvT8D7bVq/gnl2MGg3lGq/KHMyj4LS143N5hbUydmX+V/U10D3k4riVdo4C9heUvLdXzufkjIKkA3MLxazUKvj7j0WAF24CTaIMMC0+IfQ7EV4FU+ojA==
- References: <0ae3af1b-cb2b-367f-8b86-f39971498291@arm.com> <94ae3162364c3d011de1485e04321da0dd359f66.camel@marvell.com> <874l3nva69.fsf@oldenburg2.str.redhat.com>
On 15/07/2019 11:55, Florian Weimer wrote:
> * Steve Ellcey:
>
>> I think it is necessary to have some object (even if it is not used)
>> that is put in the libmvec-static-only-routines list of objects in
>> sysdeps/aarch64/fpu/Makefile in order to build libmvec_nonshared.a. If
>> you don't have that library the linker script fails when it cannot find
>> it.
>
> Maybe you could make the generation of the linker script optional in
> math/Makefile?
the linker script is needed anyway to add libmvec.so,
just the libmvec_nonshared.a part can be dropped on
targets that don't need it.
but it's easier to have an empty libmvec_nonshared.a
(it would be nicer if all symbols were in libm.so
without any linker script and nonshared hack, but
i guess it's too late for that)