summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/common.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-6/+6
| | | | | | | | | | | | | | | 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-3/+3
| | | | llvm-svn: 204584
* Replace coff-/elf-dump with llvm-readobjNico Rieck2013-04-121-47/+58
| | | | llvm-svn: 179361
* 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-6/+6
| | | | llvm-svn: 136877
* print st_type with the correct number of bits.Rafael Espindola2011-08-041-6/+6
| | | | llvm-svn: 136875
* Print st_bind with the correct number of bits.Rafael Espindola2011-08-041-6/+6
| | | | llvm-svn: 136874
* Another counter goes decimal.Rafael Espindola2011-08-041-2/+2
| | | | 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-12/+12
| | | | llvm-svn: 122263
* Fix another case of a .comm directive without a corresponding .typeRafael Espindola2010-11-141-4/+17
| | | | | | directive. llvm-svn: 119073
* Fix the type of a symbol created with .comm and no corresponding .type.Rafael Espindola2010-11-141-0/+12
| | | | llvm-svn: 119060
* Fixing r116753 r116756 r116777Jason W Kim2010-10-191-26/+26
| | | | | | | | | | | | | | | | | | | The failures in r116753 r116756 were caused by a python issue - Python likes to append 'L' suffix to stringified numbers if the number is larger than a machine int. Unfortunately, this causes a divergence of behavior between 32 and 64 bit python versions. I re-crafted elf-dump/common_dump to take care of these issues by: 1. always printing 0x (makes for easy sed/regex) 2. always print fixed length (exactly 2 + numBits/4 digits long) by mod ((2^numBits) - 1) 3. left-padded with '0' There is a residual common routine that is also used by macho-dump (dataToHex) , so I left the 'section_data' test values alone. llvm-svn: 116823
* Speculatively revert 116753 and 116756 to attempt to fix the bots.Eric Christopher2010-10-191-26/+26
| | | | llvm-svn: 116777
* Changed elf-dump to output hex format by default.Jason W Kim2010-10-181-26/+26
| | | | | | Also updated tests. llvm-svn: 116753
* Implement support for .local and its "interesting" interactions with .comm.Rafael Espindola2010-09-211-0/+63
llvm-svn: 114382
OpenPOWER on IntegriCloud