summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/tls.s
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-readobj] Change -t to --symbols in tests. NFCFangrui Song2019-05-011-1/+1
| | | | | | | | | | -t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf. The confusing option should not be used since we aim for improving compatibility. Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test llvm-svn: 359661
* Update tests to not be as dependent on section numbers.Rafael Espindola2015-04-151-1/+1
| | | | | | | | Many of these predate llvm-readobj. With elf-dump we had to match a relocation to symbol number and symbol number to symbol name or section number. llvm-svn: 235015
* ELFObjectWriter: deduplicate suffices in strtabHans Wennborg2014-04-301-7/+7
| | | | | | | | | | | | | | | We already do this for shstrtab, so might as well do it for strtab. This extracts the string table building code into a separate class. The idea is to use it for other object formats too. I mostly wanted to do this for the general principle, but it does save a little bit on object file size. I tried this on a clang bootstrap and saved 0.54% on the sum of object file sizes (1.14 MB out of 212 MB for a release build). Differential Revision: http://reviews.llvm.org/D3533 llvm-svn: 207670
* Teach llvm-readobj to print human friendly description of reserved sections.Rafael Espindola2014-03-241-6/+6
| | | | llvm-svn: 204584
* Replace coff-/elf-dump with llvm-readobjNico Rieck2013-04-121-63/+64
| | | | llvm-svn: 179361
* For ELF, also call fixSymbolsInTLSFixups() on expressions passed to ↵David Meyer2012-02-151-2/+31
| | | | | | EmitValue (literal values). Previously only called on expressions in instructions. New test cases added to tls.s, tls-i386.s. Resolves PR11981. llvm-svn: 150582
* print st_shndx with the correct number of bits.Rafael Espindola2011-08-041-4/+4
| | | | llvm-svn: 136880
* print st_other with the correct number of bits.Rafael Espindola2011-08-041-4/+4
| | | | llvm-svn: 136877
* print st_type with the correct number of bits.Rafael Espindola2011-08-041-4/+4
| | | | llvm-svn: 136875
* Print st_bind with the correct number of bits.Rafael Espindola2011-08-041-4/+4
| | | | llvm-svn: 136874
* Another counter goes decimal.Rafael Espindola2011-08-041-3/+3
| | | | llvm-svn: 136871
* Write the section table and the section data in the same order thatRafael Espindola2011-03-201-1/+1
| | | | | | | gun as does. This makes it a lot easier to compare the output of both as the addresses are now a lot closer. llvm-svn: 127972
* Print all 64bits for st_value and st_size. Adjust tests accordingly.Roman Divacky2010-12-201-8/+8
| | | | llvm-svn: 122263
* Fix and add tests for all cases in x86 and x86_64 where gnu as implicitlyRafael Espindola2010-11-241-11/+32
| | | | | | sets the type of a symbol to STT_TLS. llvm-svn: 120100
* If a symbol is used as tls, mark it as tls even if not declare as so. ProbablyRafael Espindola2010-11-241-2/+14
| | | | | | fixes PR8659. llvm-svn: 120076
* Mark labels declared in tls sections as STT_TLS. This matches the behavior ofRafael Espindola2010-11-111-0/+15
gas. llvm-svn: 118818
OpenPOWER on IntegriCloud