Blob Blame History Raw
diff -ruN lld-14.0.0.src.orig/ELF/Options.td lld-14.0.0.src/ELF/Options.td
--- a/lld-14.0.0.src.orig/ELF/Options.td	2022-03-14 10:44:55.000000000 +0100
+++ b/lld-14.0.0.src/ELF/Options.td	2022-05-05 13:27:06.029896421 +0200
@@ -695,6 +695,7 @@
 def: F<"detect-odr-violations">;
 def: Flag<["-"], "g">;
 def: F<"long-plt">;
+def: FF<"no-add-needed">;
 def: F<"no-copy-dt-needed-entries">;
 def: F<"no-ctors-in-init-array">;
 def: F<"no-keep-memory">;
diff -ruN lld-14.0.0.src.orig/test/ELF/silent-ignore.test lld-14.0.0.src/test/ELF/silent-ignore.test
--- a/lld-14.0.0.src.orig/test/ELF/silent-ignore.test	2022-03-14 10:44:55.000000000 +0100
+++ b/lld-14.0.0.src/test/ELF/silent-ignore.test	2022-05-05 13:27:29.734085587 +0200
@@ -2,6 +2,7 @@
 RUN:   -detect-odr-violations \
 RUN:   -g \
 RUN:   -long-plt \
+RUN:   --no-add-needed \
 RUN:   -no-copy-dt-needed-entries \
 RUN:   -no-ctors-in-init-array \
 RUN:   -no-keep-memory \