Skip to content
  • Rafael Espindola's avatar
    074ba93c
    Don't print empty PT_LOAD. · 074ba93c
    Rafael Espindola authored
    If we do, the freebsd dynamic linker tries to call mmap with a size 0,
    which fails.
    
    It is hard to avoid creating them when linker scripts are used, so we
    just delete empty PT_LOADs at the end.
    
    llvm-svn: 288808
    074ba93c
    Don't print empty PT_LOAD.
    Rafael Espindola authored
    If we do, the freebsd dynamic linker tries to call mmap with a size 0,
    which fails.
    
    It is hard to avoid creating them when linker scripts are used, so we
    just delete empty PT_LOADs at the end.
    
    llvm-svn: 288808
Loading