Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

elf.py

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Simon Glass's avatar
      b50e5611
      binman: Add a function to read ELF symbols · b50e5611
      Simon Glass authored
      
      In some cases we need to read symbols from U-Boot. At present we have a
      a few cases which does this via 'nm' and 'grep'.
      
      It is better to use objdump since that tells us the size of the symbols
      and also whether it is weak or not.
      
      Add a new module which reads ELF information from files. Update existing
      uses of 'nm' to use this module.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      b50e5611
      History
      binman: Add a function to read ELF symbols
      Simon Glass authored
      
      In some cases we need to read symbols from U-Boot. At present we have a
      a few cases which does this via 'nm' and 'grep'.
      
      It is better to use objdump since that tells us the size of the symbols
      and also whether it is weak or not.
      
      Add a new module which reads ELF information from files. Update existing
      uses of 'nm' to use this module.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>