freebsd-dev/lib/csu
Ed Maste 57706376c6 Add __used to __CTOR_LIST__ and __DTOR_LIST__
Enabling BSD_CRTBEGIN on amd64 resulted in
error: unused variable '__CTOR_LIST__'.

__CTOR_LIST__ is indeed unused in crtbegin.c; it marks the beginning of
the .ctors array and is used in crtend.c.  Annotate __DTOR_LIST__ as
well for consistency.

Discussed with:	andrew
MFC with:	r339738
Sponsored by:	The FreeBSD Foundation
2018-10-31 14:19:58 +00:00
..
aarch64 Implement a BSD licensed crtbegin/crtend 2018-10-25 17:39:41 +00:00
amd64 Implement a BSD licensed crtbegin/crtend 2018-10-25 17:39:41 +00:00
arm Build the csu tests on all architectures. 2018-10-30 14:44:12 +00:00
common Add __used to __CTOR_LIST__ and __DTOR_LIST__ 2018-10-31 14:19:58 +00:00
i386 Implement a BSD licensed crtbegin/crtend 2018-10-25 17:39:41 +00:00
mips Build the csu tests on all architectures. 2018-10-30 14:44:12 +00:00
powerpc Build the csu tests on all architectures. 2018-10-30 14:44:12 +00:00
powerpc64 Implement a BSD licensed crtbegin/crtend 2018-10-25 17:39:41 +00:00
riscv Build the csu tests on all architectures. 2018-10-30 14:44:12 +00:00
sparc64 Build the csu tests on all architectures. 2018-10-30 14:44:12 +00:00
tests Build the csu tests on all architectures. 2018-10-30 14:44:12 +00:00
Makefile Build the csu tests on all architectures. 2018-10-30 14:44:12 +00:00
Makefile.inc Implement a BSD licensed crtbegin/crtend 2018-10-25 17:39:41 +00:00