mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Add a comment explaining the obscure lines:
static void const * const __set_##set##_sym_##sym = &sym; in the MAKE_SET macros.
This commit is contained in:
parent
7dfe885ec1
commit
64cb419d61
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60493
@ -34,6 +34,13 @@
|
||||
* are collected by the linker into a `struct linker_set' as defined below.
|
||||
* For ELF, this is done by constructing a separate segment for each set.
|
||||
* For a.out, it is done automatically by the linker.
|
||||
*
|
||||
* In the MAKE_SET macros below, the lines:
|
||||
*
|
||||
* static void const * const __set_##set##_sym_##sym = &sym;
|
||||
*
|
||||
* are present only to prevent the compiler from producing bogus
|
||||
* warnings about unused symbols.
|
||||
*/
|
||||
#ifdef __ELF__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user