summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/verneed-as-needed-weak.s
Commit message (Collapse)AuthorAgeFilesLines
* [LLD][ELF] - Update test cases after llvm-readobj output format change.George Rimar2019-10-171-2/+2
| | | | | | | | | | | The change was: SHT_GNU_verdef { -> VersionDefinitions [ SHT_GNU_verneed { -> VersionRequirements [ Version symbols [ -> VersionSymbols [ EH_FRAME Header [ -> EHFrameHeader { llvm-svn: 375096
* [ELF] - Get rid of precompiled input objects from testcases.George Rimar2017-10-041-1/+5
| | | | | | | | | | | | | | We have verneed1.so, verneed2.so files and verneed.so.sh script to produce them. They were committed long time ago when LLD was not yet able to produce some sections for versioning (".gnu.version_r" I think). There is no point to have them as binaries anymore. Patch creates asm inputs instead based on verneed.so.sh content. Differential revision: https://reviews.llvm.org/D38505 llvm-svn: 314889
* Also reject 32 bit dynamic relocs when producing executable.Rafael Espindola2016-06-091-1/+1
| | | | | | They point to a shared library, so they would still overflow at runtime. llvm-svn: 272303
* ELF: Compute used bit for --as-needed during symbol resolution.Peter Collingbourne2016-06-091-0/+14
We can now use this to decide whether to emit a verneed during the final pass over the symbols. We were previously wrongly creating a verneed entry in the case where all references to a DSO's symbols were weak. In a future change we may also want to use the used bit to control whether shared symbols are preemptible and appear in the dynsym. This seems a little tricky to do at the moment because isNeeded() is templated. The only other functional change here is that we emit a DT_NEEDED for DSOs whose symbols are all preempted by objects that appear later in the link. But that doesn't seem too important to me. Differential Revision: http://reviews.llvm.org/D21171 llvm-svn: 272282
OpenPOWER on IntegriCloud