Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • tools
  • include
  • nolibc
  • stackprotector.h
Find file BlameHistoryPermalink
  • Thomas Weißschuh's avatar
    tools/nolibc: stackprotector: mark implicitly used symbols as used · ff7b9abb
    Thomas Weißschuh authored Aug 12, 2024
    
    
    During LTO the references from the compiler-generated prologue and
    epilogues to the stack protector symbols are not visible and the symbols
    are removed.
    This will then lead to errors during linking.
    As those symbols are already #ifdeffed-out if unused mark them as "used"
    to prevent their removal.
    
    Acked-by: default avatarWilly Tarreau <w@1wt.eu>
    Link: https://lore.kernel.org/r/20240812-nolibc-lto-v2-2-736af7bbefa8@weissschuh.net
    
    
    Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
    ff7b9abb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7