Edit

IABSD.fr/src/gnu/usr.bin

Branch :

  • Show log

    Commit

  • Author : jsg
    Date : 2020-07-23 14:53:48
    Hash : 37304ae7
    Message : change bfd amd64 ELF_MAXPAGESIZE from 1M to 4K An amd64 clang 10 binary built with lld 10 would abort after calling execve(2) if it had been stripped. PT_LOAD segment aligment being changed by strip was the cause. Changing to 4K matches lld and results in a working binary after strip. Introducing ELF_MINPAGESIZE of 4K (which is ELF_MAXPAGESIZE if not defined by the arch) would have also worked but we don't support large pages in userland. ok kettenis@