[all-commits] [llvm/llvm-project] 969b91: [Driver] Default arm-linux-androideabi to -z max-p...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Apr 8 12:05:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 969b91af732d83870bb17e1e0ca0202fe4b89965
      https://github.com/llvm/llvm-project/commit/969b91af732d83870bb17e1e0ca0202fe4b89965
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-04-08 (Wed, 08 Apr 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Linux.cpp
    R clang/test/Driver/android-aarch64-link.cpp
    A clang/test/Driver/android-link.cpp

  Log Message:
  -----------
  [Driver] Default arm-linux-androideabi to -z max-page-size=4096

Similar to D55029. The requirement arises when discussing increasing
default max-page-size for lld ARM (D77330).

For the record, the default max-page-size on the 3 commonly used linkers:

* GNU ld since 2014 (https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7572ca8989ead4c3425a1500bc241eaaeffa2c89) defaults to 65536
* GNU gold remains 4096
* lld<=10 uses 4096. lld from 11 onwards will use 65536 (D77330)

Reviewed By: srhines, thieta

Differential Revision: https://reviews.llvm.org/D77746




More information about the All-commits mailing list