mirror of
https://github.com/torvalds/linux.git
synced 2024-12-06 19:11:31 +00:00
b8c60e8fc6
While uncommon, nolibc executables can be linked together from multiple compilation units. Add some tests to make sure everything works in that case. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/lkml/20231012-nolibc-linkage-test-v1-1-315e682768b4@weissschuh.net/ Acked-by: Willy Tarreau <w@1wt.eu>
10 lines
225 B
C
10 lines
225 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _NOLIBC_TEST_LINKAGE_H
|
|
#define _NOLIBC_TEST_LINKAGE_H
|
|
|
|
void *linkage_test_errno_addr(void);
|
|
extern int linkage_test_constructor_test_value;
|
|
|
|
#endif /* _NOLIBC_TEST_LINKAGE_H */
|