summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF
Commit message (Collapse)AuthorAgeFilesLines
...
* Make it possible for the MCObjectWriter to decide if a given fixup is fullyRafael Espindola2010-09-301-0/+38
| | | | | | | | | | | resolved or not. Different object files have different restrictions and different native assemblers have different idiosyncrasies we want to emulate for now. Move the existing MachO logic to the new place and implement an ELF one that gets fixups to globals right. llvm-svn: 115131
* Move "local commons" to the end of .bss to match the gnu as behavior.Rafael Espindola2010-09-291-0/+21
| | | | llvm-svn: 115037
* Add a test that I forgot to add with a previous commit.Rafael Espindola2010-09-291-0/+13
| | | | llvm-svn: 115036
* On elf, undefined symbols can start with .L.Rafael Espindola2010-09-281-0/+15
| | | | llvm-svn: 114958
* Write relocations in the end of the file. This matches what gas does andRafael Espindola2010-09-273-50/+50
| | | | | | makes files easier to diff. llvm-svn: 114898
* Make sure .text doesn't produce extra alignment.Rafael Espindola2010-09-271-0/+19
| | | | llvm-svn: 114895
* Move ELF to HasReliableSymbolDifference=true. Also take the opportunity to putRafael Espindola2010-09-252-1/+27
| | | | | | symbols defined in merge sections in independent atoms. llvm-svn: 114786
* Reapply 114678 and 114667. Reverting them did not fix the bot:Rafael Espindola2010-09-241-0/+32
| | | | | | http://google1.osuosl.org:8011/builders/llvm-gcc-i386-linux-selfhost/builds/69 llvm-svn: 114761
* Revert 114678 and 114667 to see ifRafael Espindola2010-09-241-32/+0
| | | | | | | | http://google1.osuosl.org:8011/builders/llvm-gcc-i386-linux-selfhost gets happy. llvm-svn: 114742
* Correctly handle weak undefined symbols. Before we would get a invalid bindingRafael Espindola2010-09-231-0/+14
| | | | | | (2 == STB_WEAK | STB_GLOBAL). llvm-svn: 114690
* Represent relocations against local symbols as relocations against the sectionRafael Espindola2010-09-231-0/+32
| | | | | | | | | they are in. Both ways should be equivalent, but gas produces relocations against the section. Roman wrote the patch, I added the test. llvm-svn: 114667
* Avoid some Mach-O specific alignment being done on ELF.Rafael Espindola2010-09-221-0/+32
| | | | llvm-svn: 114594
* Correctly align bss.Rafael Espindola2010-09-221-0/+17
| | | | llvm-svn: 114556
* Implement support for .local and its "interesting" interactions with .comm.Rafael Espindola2010-09-211-0/+63
| | | | llvm-svn: 114382
* Produce a R_X86_64_32 when the value is >=0.Rafael Espindola2010-09-202-2/+14
| | | | llvm-svn: 114339
* Make sure the STT_FILE symbol is the first one in the symbol table.Rafael Espindola2010-09-181-0/+23
| | | | llvm-svn: 114285
* Add test that was missing in my previous commit.Rafael Espindola2010-09-181-0/+18
| | | | llvm-svn: 114248
* Print the address of sections as 0 and create the metadata sections in theRafael Espindola2010-09-161-1/+35
| | | | | | same order as gnu as. llvm-svn: 114109
* Make sure that names like .note.GNU-stack are accepted as valid section names.Rafael Espindola2010-09-161-0/+11
| | | | llvm-svn: 114091
* Add support for the .zero directive.Rafael Espindola2010-09-161-0/+15
| | | | llvm-svn: 114077
* Add a InitSections method to the streamer interface.Rafael Espindola2010-09-153-4/+40
| | | | | | | | | | | | | | The ELF implementation now creates text, data and bss to match the gnu as behavior. The text streamer still has the old MachO specific behavior since the testsuite checks that it will error when a directive is given before a setting the current section for example. A nice benefit is that -n is not required anymore when producing ELF files. llvm-svn: 114027
* Add support for leb128 of absolute expressions.Rafael Espindola2010-09-113-1/+52
| | | | llvm-svn: 113691
* Add an elf-dumper utility.Benjamin Kramer2010-09-091-0/+110
| | | | | | | | - Output format and some of the code stolen from macho-dump. - Somewhat incomplete and probably buggy. - Comes with a very basic test. llvm-svn: 113488
* MC/ELF: Allow null values in virtual sections, ELF doesn't use specialDaniel Dunbar2010-08-182-0/+13
directives for putting contents in .bss, for example. llvm-svn: 111376
OpenPOWER on IntegriCloud