summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/relocatable-comdat.s
Commit message (Collapse)AuthorAgeFilesLines
* [test] Change llvm-readobj -long-option to --long-option or well-known short ↵Fangrui Song2019-05-011-1/+1
| | | | | | | | | | | | 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
* Always add a .note.GNU-stack section if -r.Rui Ueyama2018-08-291-1/+1
| | | | | | | | | | | | With this patch, lld creates a .note.GNU_stack and adds that to an output file if it is creating a re-linkable object file (i.e. if -r is given). If we don't do this, and if you use GNU linkers as a final linker, they create an executable whose stack area is executable, which is considered pretty bad these days. Differential Revision: https://reviews.llvm.org/D51400 llvm-svn: 340902
* [lld] Fix comdat testsAlexander Shaposhnikov2018-03-131-0/+2
| | | | | | | This diff adjusts the comdat tests after changing the format of llvm-readobj output for .group sections. llvm-svn: 327353
* [ELF] - Do not allow -r to eat comdats.George Rimar2017-05-291-0/+45
This is PR33052, "Bug 33052 - -r eats comdats ". To fix it I stop removing group section from out when -r is given and fixing SHT_GROUP content when writing it just like we do some other fixup, e.g. for Rel[a]. (it needs fix for section indices that are in group). Differential revision: https://reviews.llvm.org/D33485 llvm-svn: 304140
OpenPOWER on IntegriCloud