[PATCH] D67479: [ELF] Support -z undefs

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 23:24:43 PDT 2019


MaskRay marked an inline comment as done.
MaskRay added inline comments.


================
Comment at: ELF/Driver.cpp:390
+         s == "rodynamic" || s == "text" || s == "undefs" || s == "wxneeded" ||
          s.startswith("common-page-size") || s.startswith("max-page-size=") ||
          s.startswith("stack-size=");
----------------
Unrelated to this change.

```
% ld.lld -z max-page-sizez a.o
error: unknown -z value: max-page-sizez
% ld.lld -z common-page-sizez a.o
# No diagnostic "error: unknown -z value: common-page-sizez"
```


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67479/new/

https://reviews.llvm.org/D67479





More information about the llvm-commits mailing list