freebsd-dev/lib/csu/common
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
..
crtbegin.c Add __used to __CTOR_LIST__ and __DTOR_LIST__ 2018-10-31 14:19:58 +00:00
crtbrand.c crt: switch to standard note type definitions from elf_common.h 2018-10-04 17:35:32 +00:00
crtend.c Make the .ctors, .dtors, and .jcr markers as static. They shouldn't be 2018-10-29 17:55:26 +00:00
ignore_init.c Process irelocs for statically linked binaries from crt1 on x86. 2018-10-13 23:52:55 +00:00
notes.h crt: switch to standard note type definitions from elf_common.h 2018-10-04 17:35:32 +00:00