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
  • scripts
  • checkstack.pl
Find file BlameHistoryPermalink
  • Konstantin Khlebnikov's avatar
    scripts/checkstack.pl: automatically handle 32-bit and 64-bit mode for ARCH=x86 · fda9f990
    Konstantin Khlebnikov authored Aug 08, 2014
    This patch adds support for ARCH=x86 into checkstack.
    
    Commit ffee0de4
    
     ("x86: Default to ARCH=x86 to avoid overriding
    CONFIG_64BIT") had merged ARCH=i386 and ARCH=x86_64 into one ARCH=x86.
    checkstack.pl searches patterns of machine instructions which are
    usually used for allocating stack frames.  checkstalk.pl needs either
    i386 or x86_64, x86 isn't enough:
    
      $ make checkstack
      objdump -d vmlinux $(find . -name '*.ko') | \
      perl linux/scripts/checkstack.pl x86
      wrong or unknown architecture "x86"
    
    Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
    Cc: David Woodhouse <dwmw2@infradead.org>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Richard Weinberger <richard@nod.at>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    fda9f990
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7