diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-07 20:59:07 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-07 21:51:32 +0200 |
commit | 44d0759b9a2d6cf715cc45442ad096d5bd8d9fa4 (patch) | |
tree | d8a728daf6a4227da8df1b2410decbe45074d5ca /kern/semaphore.h | |
parent | 2ab04b9af9dbc565192dc63b88ed0fd1a42d2082 (diff) |
kern/init: fix LTO builds
Initialization operations are never directly referenced, as they're
retrieved by accessing the .init.ops subsection. As a result, whole
program optimizations as applied during link time optimizations cause
the structures and most of the related code not to be compiled in.
Use the recently added __used attribute macro to fix this issue.
Diffstat (limited to 'kern/semaphore.h')
0 files changed, 0 insertions, 0 deletions