Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
    • Troy Kisky's avatar
    • Alexander Graf's avatar
      efi_loader: Rename sections to allow for implicit data · 770cfef7
      Alexander Graf authored
      
      Some times gcc may generate data that is then used within code that may
      be part of an efi runtime section. That data could be jump tables,
      constants or strings.
      
      In order to make sure we catch these, we need to ensure that gcc emits
      them into a section that we can relocate together with all the other
      efi runtime bits. This only works if the -ffunction-sections and
      -fdata-sections flags are passed and the efi runtime functions are
      in a section that starts with ".text".
      
      Up to now we had all efi runtime bits in sections that did not
      interfere with the normal section naming scheme, but this forces
      us to do so. Hence we need to move the efi_loader text/data/rodata
      sections before the global *(.text*) catch-all section.
      
      With this patch in place, we should hopefully have an easier time
      to extend the efi runtime functionality in the future.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      [agraf: Fix x86_64 breakage]
      770cfef7
  2. Sep 03, 2019
  3. Aug 01, 2019
  4. Jul 31, 2019
  5. Jul 28, 2019
  6. Jul 23, 2019
  7. Jul 18, 2019
  8. Jul 11, 2019
  9. Jul 09, 2019
  10. Jul 08, 2019
  11. Jul 03, 2019
  12. Jul 01, 2019
  13. Jun 04, 2019
  14. May 24, 2019
  15. May 13, 2019
  16. May 09, 2019
  17. May 04, 2019
  18. May 03, 2019
  19. May 02, 2019
  20. May 01, 2019
  21. Apr 25, 2019
  22. Apr 24, 2019
  23. Apr 22, 2019
Loading