summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSectionELF.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Be nice to Xcore and the XMOS assembler and avoid quoting section namesJoerg Sonnenberger2011-03-041-12/+18
| | | | | | that contain only letters, digits and the characters "_" and ".". llvm-svn: 127028
* Bug#9033: For the ELF assembler output, always quote the section name.Joerg Sonnenberger2011-03-031-2/+16
| | | | llvm-svn: 126963
* Switch llvm to using comdats. For now always use groups with a singleRafael Espindola2011-02-141-0/+4
| | | | | | section. llvm-svn: 125526
* Move broken HasCommonSymbols to ELFWriter.cpp.Rafael Espindola2011-02-141-11/+0
| | | | llvm-svn: 125490
* Remove more duplicated code.Rafael Espindola2011-01-231-15/+15
| | | | llvm-svn: 124056
* Remove duplicated code.Rafael Espindola2011-01-231-7/+9
| | | | llvm-svn: 124054
* Add support for @note. Patch by Jörg Sonnenberger.Rafael Espindola2010-12-261-0/+2
| | | | llvm-svn: 122568
* make isVirtualSection a virtual method on MCSection. Chris' suggestion.Rafael Espindola2010-11-171-0/+4
| | | | llvm-svn: 119547
* Fixed version of 118639 with an extra assert to catch similar problemsRafael Espindola2010-11-091-32/+23
| | | | | | earlier. Implicit bool -> int conversions are evil! llvm-svn: 118651
* Revert previous patch. Missed a case.Rafael Espindola2010-11-091-22/+32
| | | | llvm-svn: 118645
* Remove IsExplicit. It was always false.Rafael Espindola2010-11-091-32/+22
| | | | llvm-svn: 118639
* Add hook in MCSection to decide when to use "optimized nops", for eachJan Wen Voung2010-10-041-0/+4
| | | | | | | section kind. Previously, optimized nops were only used for MachO. Also added tests for ELF and COFF. llvm-svn: 115523
* Move logic of determining ELF entsize from the .s printer to initializationJan Wen Voung2010-09-301-12/+11
| | | | | | | time. That way, the EntrySize field is initialized for other code paths, namely, the .ll -> .o code path. llvm-svn: 115141
* move elf section uniquing to MCContext. Along the wayChris Lattner2010-04-081-57/+57
| | | | | | merge XCore's section into MCSectionELF llvm-svn: 100812
* Simplify some uses of str(n)cmp with StringRef.Benjamin Kramer2010-01-221-7/+5
| | | | llvm-svn: 94189
* tidyChris Lattner2010-01-131-4/+3
| | | | llvm-svn: 93352
* Pass StringRef by value.Daniel Dunbar2009-11-061-1/+1
| | | | llvm-svn: 86251
* rename TAI -> MAI, being careful not to make MAILJMP instructions :)Chris Lattner2009-08-221-7/+7
| | | | llvm-svn: 79777
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-3/+3
| | | | llvm-svn: 79763
* add support for target-specific ELF section flags, add a new MCSectionXCoreChris Lattner2009-08-151-4/+6
| | | | | | | class which represents the XCore cp/dp section flags. No functionality change yet. llvm-svn: 79077
* *try* to use a better name to describe how common symbols are marked on the ↵Bruno Cardoso Lopes2009-08-141-2/+4
| | | | | | elf object file. llvm-svn: 79029
* Fix MCSectionELF::ShouldOmitSectionDirective's matching of .data andDan Gohman2009-08-131-3/+3
| | | | | | | friends so that it doesn't match sections like .data.rel.local, which should not be emitted as section directives. llvm-svn: 78963
* Remove HasCrazyBSS and add a flag in TAI to indicate that '.section' Bruno Cardoso Lopes2009-08-131-9/+10
| | | | | | must be emitted for PowerPC-Linux '.bss' section llvm-svn: 78958
* Add a method to return if the ELF section contains only common symbols!Bruno Cardoso Lopes2009-08-131-0/+10
| | | | llvm-svn: 78937
* Change MCSectionELF to represent a section semantically instead ofBruno Cardoso Lopes2009-08-131-0/+123
syntactically as a string, very similiar to what Chris did with MachO. The parsing support and validation is not introduced yet. llvm-svn: 78890
OpenPOWER on IntegriCloud