Add a test to check for duplicate definitions in the static library
commitded2e0753e9c46debeb2e0d26c5e560d2581d314
authorGabi Falk <gabifalk@gmx.com>
Tue, 30 Apr 2024 20:05:04 +0000 (30 20:05 +0000)
committerSam James <sam@gentoo.org>
Thu, 2 May 2024 10:51:23 +0000 (2 11:51 +0100)
tree3d2ba85b29c038ebb4ea915c1ebf8b0f2234ebab
parent5a2cf833f5772d6c37c7adac388dd9af9cc1c4b9
Add a test to check for duplicate definitions in the static library

This change follows two previous fixes addressing multiple definitions
of __memcpy_chk and __mempcpy_chk functions on i586, and __memmove_chk
and __memset_chk functions on i686.  The test is intended to prevent
such issues from occurring in the future.

Signed-off-by: Gabi Falk <gabifalk@gmx.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Dmitry V. Levin <ldv@altlinux.org>
Makefile