summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/ELFAsmParser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Factor some code to parseSectionFlags and fix the default type of a section.Rafael Espindola2010-11-251-49/+58
| | | | llvm-svn: 120145
* Behave a bit more like gnu as and use the symbol (instead of the section)Rafael Espindola2010-11-241-3/+9
| | | | | | for any relocation to a symbol defined in a tls section. llvm-svn: 120121
* Parse and record the gnu_unique_object type.Rafael Espindola2010-11-131-0/+1
| | | | llvm-svn: 118980
* gnu as support both % and @ before types, do the same.Rafael Espindola2010-11-121-10/+4
| | | | llvm-svn: 118893
* Initial comdat implementation.Rafael Espindola2010-11-111-5/+7
| | | | llvm-svn: 118805
* Fixed version of 118639 with an extra assert to catch similar problemsRafael Espindola2010-11-091-3/+2
| | | | | | earlier. Implicit bool -> int conversions are evil! llvm-svn: 118651
* Revert previous patch. Missed a case.Rafael Espindola2010-11-091-2/+3
| | | | llvm-svn: 118645
* Remove IsExplicit. It was always false.Rafael Espindola2010-11-091-3/+2
| | | | llvm-svn: 118639
* Set default flags for .rodata.Rafael Espindola2010-11-081-1/+3
| | | | llvm-svn: 118395
* Implement .weakref.Rafael Espindola2010-11-011-0/+28
| | | | llvm-svn: 117911
* Improvements to .section parsing:Rafael Espindola2010-10-281-10/+38
| | | | | | | | | | * If we have a M or a G, reject sections without the type * Only parse the flag specific arguments if we have M or G * Parse the corresponding arguments for M and G We ignore the G arguments and flag for now. llvm-svn: 117608
* Set default type and flags for .init and .fini.Rafael Espindola2010-10-271-1/+9
| | | | llvm-svn: 117471
* Add support for the .symver directive. This is really ugly, but most of it isRafael Espindola2010-10-271-0/+30
| | | | | | contained in the ELF object writer. llvm-svn: 117448
* Add support for .ident.Rafael Espindola2010-10-261-0/+32
| | | | llvm-svn: 117389
* MC: Move ParseDirectiveELFType into ELFAsmParser. COFF uses .type for ↵Michael J. Spencer2010-10-091-1/+49
| | | | | | something else. llvm-svn: 116142
* Have ELFAsmParser.cpp use the already parsed "Size" (entry size) when Jan Wen Voung2010-09-301-1/+2
| | | | | | constructing a section. Test for a few cases also included. llvm-svn: 115132
* Make sure .text doesn't produce extra alignment.Rafael Espindola2010-09-271-9/+3
| | | | llvm-svn: 114895
* Make sure that names like .note.GNU-stack are accepted as valid section names.Rafael Espindola2010-09-161-2/+37
| | | | llvm-svn: 114091
* Add a InitSections method to the streamer interface.Rafael Espindola2010-09-151-3/+11
| | | | | | | | | | | | | | 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-111-23/+0
| | | | llvm-svn: 113691
* Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky.Benjamin Kramer2010-09-021-0/+10
| | | | llvm-svn: 112849
* Add some more handlers for ELF section directives.Matt Fleming2010-07-201-0/+54
| | | | llvm-svn: 108928
* MC/AsmParser: Stop playing unsafe member function pointer calls, this isn'tDaniel Dunbar2010-07-181-12/+12
| | | | | | | | portable enough. - Downside is we now double dispatch through a stub function, but this isn't performance critical. llvm-svn: 108661
* MC/AsmParser: Fix TokError() to accept a Twine.Daniel Dunbar2010-07-181-0/+1
| | | | llvm-svn: 108647
* Start of .sleb128/.uleb128 parsing support.Eli Friedman2010-07-171-0/+26
| | | | llvm-svn: 108612
* Work-in-progress parsing for ELF .section directive.Eli Friedman2010-07-171-5/+113
| | | | llvm-svn: 108609
* Add support for parsing .size directives for ELF.Eli Friedman2010-07-171-0/+24
| | | | llvm-svn: 108606
* MC/AsmParser: Move ELF specific parser to ELFAsmParser.cpp.Daniel Dunbar2010-07-121-0/+68
llvm-svn: 108196
OpenPOWER on IntegriCloud