Skip to content
Commit 477ff124 authored by Rafael Espindola's avatar Rafael Espindola
Browse files

Error on -no-define-common if the output is not relocatable.

The ELF spec says

Symbols with section index SHN_COMMON may appear only in relocatable
objects.

Currently lld can produce file that break that requirement.

llvm-svn: 319473
parent 0b7c822f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment