[PATCH] D147983: [lld][driver] Add `--relax-gp`/`no-relax-gp` flags for GNU compatibility
Paul Kirth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 13:38:18 PDT 2023
paulkirth updated this revision to Diff 512565.
paulkirth added a comment.
Fix remaining whitespace, not added to last commit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147983/new/
https://reviews.llvm.org/D147983
Files:
lld/ELF/Options.td
lld/test/ELF/silent-ignore.test
Index: lld/test/ELF/silent-ignore.test
===================================================================
--- lld/test/ELF/silent-ignore.test
+++ lld/test/ELF/silent-ignore.test
@@ -7,6 +7,8 @@
RUN: -no-ctors-in-init-array \
RUN: -no-keep-memory \
RUN: --no-relax \
+RUN: --no-relax \
+RUN: --no-relax-gp \
RUN: -no-warn-mismatch \
RUN: -rpath-link . \
RUN: -secure-plt \
Index: lld/ELF/Options.td
===================================================================
--- lld/ELF/Options.td
+++ lld/ELF/Options.td
@@ -711,6 +711,8 @@
def: F<"warn-once">;
def: F<"warn-shared-textrel">;
def: JoinedOrSeparate<["-"], "G">;
+def: F<"relax-gp">;
+def: F<"no-relax-gp">;
// Hidden option used for testing MIPS multi-GOT implementation.
defm mips_got_size:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147983.512565.patch
Type: text/x-patch
Size: 779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/bc17e020/attachment.bin>
More information about the llvm-commits
mailing list