006-uml_libc_link_errors.patch 530 B

123456789101112131415161718192021222324
  1. --- a/arch/um/kernel/uml.lds.S
  2. +++ b/arch/um/kernel/uml.lds.S
  3. @@ -35,6 +35,21 @@ SECTIONS
  4. *(.gnu.warning)
  5. *(.gnu.linkonce.t*)
  6. }
  7. + /* Deal with multilib libc */
  8. + .rel.plt :
  9. + {
  10. + *(.rel.plt)
  11. + PROVIDE_HIDDEN (__rel_iplt_start = .);
  12. + *(.rel.iplt)
  13. + PROVIDE_HIDDEN (__rel_iplt_end = .);
  14. + }
  15. + .rela.plt :
  16. + {
  17. + *(.rela.plt)
  18. + PROVIDE_HIDDEN (__rela_iplt_start = .);
  19. + *(.rela.iplt)
  20. + PROVIDE_HIDDEN (__rela_iplt_end = .);
  21. + }
  22. . = ALIGN(PAGE_SIZE);
  23. .syscall_stub : {