[ELF] Require two-dash form for --pack-dyn-relocs
authorFangrui Song <i@maskray.me>
Fri, 15 Oct 2021 22:36:30 +0000 (15:36 -0700)
committerFangrui Song <i@maskray.me>
Fri, 15 Oct 2021 22:36:30 +0000 (15:36 -0700)
commitf8ee74fc130481f5198231f285447a499df2ce40
tree43ae4a9c515ea505bf6d88afcf4c35d0101ca84d
parent489561d46381d41a068beed1a2e18e00f0660248
[ELF] Require two-dash form for --pack-dyn-relocs

LLD specific options can be more rigid.
Also add a test.
lld/ELF/Driver.cpp
lld/ELF/Options.td
lld/test/ELF/pack-dyn-relocs.s