summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/dynamic-list.s
Commit message (Collapse)AuthorAgeFilesLines
* Update lld tests dynamic-list.s and symbol-override.s to use llvm-nmMatthew Voss2019-09-061-3/+3
| | | | | | | | | | The following tests failed on Windows bots due to nm not being available: lld/test/ELF/dynamic-list.s lld/test/ELF/symbol-override.s llvm-svn: 371267
* [ELF][test] Simplify and reorganize testsFangrui Song2019-09-061-141/+31
| | | | | | | | | | | | Add file-level comments Delete insignificant addresses to make them more tolerant to layout changes Simplify test output Delete simple Inputs/*.s files Delete version-script-copy-rel.s - covered by verdef-defaultver.s Delete version-wildcard.test - covered by version-script-glob.s llvm-svn: 371213
* [test] Change llvm-readobj -long-option to --long-option or well-known short ↵Fangrui Song2019-05-011-8/+8
| | | | | | | | | | | | 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
* [ELF] Remove checking for spurious '@' at the end of dynamic sym namesJames Henderson2019-01-081-11/+11
| | | | | | | | | | | | llvm-readobj currently has a bug (see PR40097) where it prints '@' at the end of unversioned dynamic symbols. This bug will be fixed in a separate later commit, but these tests need fixing first. Reviewed by: ruiu, Higuoxing Differential Revision: https://reviews.llvm.org/D56388 llvm-svn: 350614
* [ELF] - Do --hash-style=both by default.George Rimar2017-10-061-9/+9
| | | | | | | | | | | | | | Its PR34712, GNU linkers recently changed default values to "both" of "sysv". Patch do the same for all targets except MIPS, where .gnu.hash section is not yet supported. Code suggested by Rui Ueyama. Differential revision: https://reviews.llvm.org/D38407 llvm-svn: 315051
* [ELF] - Remove outdated comment. NFC.George Rimar2017-08-221-4/+0
| | | | llvm-svn: 311449
* [lld] --export-dynamic overrides --dynamic-list.Evgeniy Stepanov2017-04-111-0/+59
| | | | | | | | | Fixes PR32573. --export-dynamic exports everything, even in the presence of a --dynamic-list, or --export-dynamic-symbol. llvm-svn: 300002
* ELF: Read all dynamic lists specified on the command line.Peter Collingbourne2017-02-131-0/+4
| | | | | | | | | | | We were previously only reading the last one. Fixes PR31939 (which was likely the issue underlying https://github.com/google/oss-fuzz/issues/295). Differential Revision: https://reviews.llvm.org/D29861 llvm-svn: 294977
* lld: Default image base address to 0x200000 on x86-64Ed Maste2016-11-231-4/+4
| | | | | | | | | Align to the large page size (known as a superpage or huge page). FreeBSD automatically promotes large, superpage-aligned allocations. Differential Revision: https://reviews.llvm.org/D27042 llvm-svn: 287782
* Remove string table offsets from tests.Rui Ueyama2016-11-011-6/+6
| | | | | | <N> where "foo (<N>)" is the offset of string "foo" in the string table. llvm-svn: 285751
* Revert r281045, it broke BB.George Rimar2016-09-091-2/+0
| | | | | | | Broken BB: http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/27211 llvm-svn: 281046
* Remove trailing whitespaces.Rui Ueyama2016-07-251-2/+2
| | | | llvm-svn: 276649
* Really define --export-dynamic-symbol= as an alias to --export-dynamic-symbol.Rui Ueyama2016-05-251-0/+2
| | | | | | Thanks to Sean for pointing it out. llvm-svn: 270660
* ELF: Implement --export-dynamic-symbol.Peter Collingbourne2016-04-221-0/+4
| | | | llvm-svn: 267184
* ELF: Implement --dynamic-listAdhemerval Zanella2016-04-131-0/+104
This patch implements the --dynamic-list option, which adds a list of global symbol that either should not be bounded by default definition when creating shared libraries, or add in dynamic symbol table in the case of creating executables. The patch modifies the ScriptParserBase class to use a list of Token instead of StringRef, which contains information if the token is a quoted or unquoted strings. It is used to use a faster search for exact match symbol name. The input file follow a similar format of linker script with some simplifications (it does not have scope or node names). It leads to a simplified parser define in DynamicList.{cpp,h}. Different from ld/gold neither glob pattern nor mangled names (extern 'C++') are currently supported. llvm-svn: 266227
OpenPOWER on IntegriCloud