summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/relocatable-common.s
Commit message (Collapse)AuthorAgeFilesLines
* [test] Change llvm-readobj -long-option to --long-option or well-known short ↵Fangrui Song2019-05-011-6/+6
| | | | | | | | | | | | options. NFC Also change some options that have different semantics (cause confusion) in llvm-readelf mode: -s => -S -t => --symbols -sd => --section-data llvm-svn: 359651
* Error on -no-define-common if the output is not relocatable.Rafael Espindola2017-11-301-0/+3
| | | | | | | | | | | 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
* ELF: Remove DefinedCommon.Peter Collingbourne2017-11-061-1/+1
| | | | | | | | | Common symbols are now represented with a DefinedRegular that points to a BssSection, even during symbol resolution. Differential Revision: https://reviews.llvm.org/D39666 llvm-svn: 317447
* Relax tests a bit.Rafael Espindola2017-02-101-6/+6
| | | | | | The values being tested were not relevant to the test. llvm-svn: 294776
* Do not allocate space for common symbols with -rRui Ueyama2017-01-241-0/+36
Currently ld.lld -r allocates space for common symbols, whereas ld.bfd -r doesn't. As a result the OpenBSD makefile bits for creating libraries fail as they use ld -X -r to strip local symbols, which results in duplicate symbol errors because space for the common symbols has been allocated. The diff also implements the --define-commons option such that allocation of commons can be forced even if -r is used. Patch by Mark Kettenis. llvm-svn: 292878
OpenPOWER on IntegriCloud