diff options
author | Slava Zakharin <szakharin@nvidia.com> | 2022-10-13 13:43:41 -0700 |
---|---|---|
committer | Slava Zakharin <szakharin@nvidia.com> | 2022-10-13 14:12:07 -0700 |
commit | 88da0de14f135bee034b286cc736dacd6274e77d (patch) | |
tree | e22b846be7d338e6448ce0f31a8dd9b353ad77b7 /lld/docs | |
parent | 922346ef052f05cfef79b184740217b75647fa34 (diff) | |
download | llvm-88da0de14f135bee034b286cc736dacd6274e77d.tar.gz |
Revert "[Libomp] Do not error on undefined version script symbols"
This reverts commit 096f93e73dc3f88636cdcb57515e3732385b452d.
Revert "[Libomptarget] Make the plugins ingore undefined exported symbols"
This reverts commit 3f62314c235bd2475c8e2b5b874b2932a444e823.
Revert "[LLD] Enable --no-undefined-version by default."
This reverts commit 7ec8b0d162e354c703f5390784287054601f9c69.
Three commits are reverted because of the current omp build fail
with GNU ld. See discussion here: https://reviews.llvm.org/rG096f93e73dc3
Diffstat (limited to 'lld/docs')
-rw-r--r-- | lld/docs/ReleaseNotes.rst | 3 | ||||
-rw-r--r-- | lld/docs/ld.lld.1 | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/lld/docs/ReleaseNotes.rst b/lld/docs/ReleaseNotes.rst index 267701e13b00..2aad9b8644f3 100644 --- a/lld/docs/ReleaseNotes.rst +++ b/lld/docs/ReleaseNotes.rst @@ -31,9 +31,6 @@ ELF Improvements * ``--compress-debug-sections=zstd`` is now available to compress debug sections with zstd (``ELFCOMPRESS_ZSTD``). (`D133548 <https://reviews.llvm.org/D133548>`_) -* ``--no-undefined-version`` is now the default; symbols named in version - scripts that have no matching symbol in the output will be reported. Use - ``--undefined-version`` to revert to the old behavior. Breaking changes ---------------- diff --git a/lld/docs/ld.lld.1 b/lld/docs/ld.lld.1 index dd08b06a19db..9ddd2897a23a 100644 --- a/lld/docs/ld.lld.1 +++ b/lld/docs/ld.lld.1 @@ -352,8 +352,8 @@ Do not set the text data sections to be writable, page align sections. Disable target-specific relaxations. For x86-64 this disables R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX GOT optimization. .It Fl -no-rosegment Do not put read-only non-executable sections in their own segment. -.It Fl -undefined-version -Do not report version scripts that refer to undefined symbols. +.It Fl -no-undefined-version +Report version scripts that refer undefined symbols. .It Fl -no-undefined Report unresolved symbols even if the linker is creating a shared library. .It Fl -no-warn-symbol-ordering |