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
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • link-vmlinux.sh
Find file BlameHistoryPermalink
  • Josh Poimboeuf's avatar
    objtool: Remove --lto and --vmlinux in favor of --link · 753da417
    Josh Poimboeuf authored Apr 18, 2022
    
    
    The '--lto' option is a confusing way of telling objtool to do stack
    validation despite it being a linked object.  It's no longer needed now
    that an explicit '--stackval' option exists.  The '--vmlinux' option is
    also redundant.
    
    Remove both options in favor of a straightforward '--link' option which
    identifies a linked object.
    
    Also, implicitly set '--link' with a warning if the user forgets to do
    so and we can tell that it's a linked object.  This makes it easier for
    manual vmlinux runs.
    
    Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Reviewed-by: default avatarMiroslav Benes <mbenes@suse.cz>
    Link: https://lkml.kernel.org/r/dcd3ceffd15a54822c6183e5766d21ad06082b45.1650300597.git.jpoimboe@redhat.com
    753da417
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7