[PATCH] D119108: [ELF] Remove GNU ld incompatible --[no-]define-common and obscure -dc/-dp

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 7 00:12:42 PST 2022


MaskRay updated this revision to Diff 406338.
MaskRay retitled this revision from "[ELF] Clarify -dc and remove GNU ld incompatible --[no-]define-common" to "[ELF] Remove GNU ld incompatible --[no-]define-common and obscure -dc/-dp".
MaskRay edited the summary of this revision.
MaskRay added a comment.

remove -dc/-dp

I have tried some Debian Code Search patterns and believe they are not used
for targets we support.

- -Wl,-dp -Wl,-dc
- LDFLAGS.*-dc
- LDFLAGS.*-dp

I keep -d because it is used by grub


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119108

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/Options.td
  lld/ELF/SyntheticSections.cpp
  lld/docs/ReleaseNotes.rst
  lld/docs/ld.lld.1
  lld/test/ELF/relocatable-common.s
  lld/test/ELF/silent-ignore.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119108.406338.patch
Type: text/x-patch
Size: 6829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220207/a87ceb5d/attachment.bin>


More information about the llvm-commits mailing list