Skip to content
Snippets Groups Projects
Select Git revision
  • 794fe7891d77fb9ee095313c60805a8ed609e2a7
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

genksyms

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Ard Biesheuvel authored and Linus Torvalds committed
    This add the kbuild infrastructure that will allow architectures to emit
    vmlinux symbol CRCs as 32-bit offsets to another location in the kernel
    where the actual value is stored. This works around problems with CRCs
    being mistaken for relocatable symbols on kernels that self relocate at
    runtime (i.e., powerpc with CONFIG_RELOCATABLE=y)
    
    For the kbuild side of things, this comes down to the following:
    
     - introducing a Kconfig symbol MODULE_REL_CRCS
    
     - adding a -R switch to genksyms to instruct it to emit the CRC symbols
       as references into the .rodata section
    
     - making modpost distinguish such references from absolute CRC symbols
       by the section index (SHN_ABS)
    
     - making kallsyms disregard non-absolute symbols with a __crc_ prefix
    
    Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    56067812
    History
    Name Last commit Last update
    ..