summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFStreamer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* On ELF we need to know which symbols are used in relocations to decide ifRafael Espindola2010-10-051-51/+0
| | | | | | | they should be in the symbol table or not. Instead of "guessing", just compute the symbol table after the relocations are known. llvm-svn: 115619
* Tiny patch for proof-of-concept cleanup of ARMAsmPrinter::EmitStartOfAsmFile()Jason W Kim2010-09-301-0/+1
| | | | | | | Small test for sanity check of resulting ARM .s file. Tested against -r115129. llvm-svn: 115133
* Move "local commons" to the end of .bss to match the gnu as behavior.Rafael Espindola2010-09-291-9/+29
| | | | llvm-svn: 115037
* Move ELF to HasReliableSymbolDifference=true. Also take the opportunity to putRafael Espindola2010-09-251-4/+57
| | | | | | symbols defined in merge sections in independent atoms. llvm-svn: 114786
* Avoid some Mach-O specific alignment being done on ELF.Rafael Espindola2010-09-221-1/+1
| | | | llvm-svn: 114594
* Correctly align bss.Rafael Espindola2010-09-221-0/+6
| | | | llvm-svn: 114556
* Implement support for .local and its "interesting" interactions with .comm.Rafael Espindola2010-09-211-6/+23
| | | | llvm-svn: 114382
* Add a InitSections method to the streamer interface.Rafael Espindola2010-09-151-0/+33
| | | | | | | | | | | | | | 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
* Factoring and potential bug fix. The elf "flags" cannot be used as masks.Rafael Espindola2010-09-131-14/+37
| | | | | | | For example, setting STT_OBJECT (1) and STT_FUNC (2), should not produce a STT_SECTION (3). llvm-svn: 113759
* ELF_STB_Local is 0 so setting and checking it must be done speciallyRoman Divacky2010-09-081-1/+3
| | | | llvm-svn: 113375
* Allow MCSA_WeakRef in ELF. Patch by Roman Divacky.Benjamin Kramer2010-09-021-1/+1
| | | | llvm-svn: 112834
* Mark all common symbols external. This is not exactly correct but it lets appsBenjamin Kramer2010-08-301-2/+3
| | | | | | link for now and can be adjusted later. Patch by Roman Divacky. llvm-svn: 112471
* MCELF: Port EmitInstruction changes from MachO streamer. Patch by Roman Divacky.Benjamin Kramer2010-08-271-41/+46
| | | | llvm-svn: 112260
* Fix a few warnings in and detabify MCELFStreamer and ELFObjectWriter.Eli Friedman2010-08-161-0/+1
| | | | llvm-svn: 111175
* Add ELF ObjectWriter and Streamer support.Matt Fleming2010-08-161-0/+401
I forgot to add these files in commit 111172. llvm-svn: 111174
OpenPOWER on IntegriCloud