Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore r125595 (reverted in r126336) with modifications: | Joerg Sonnenberger | 2011-02-24 | 1 | -1/+3 |
| | | | | | | | Introduce a variable in the AsmParserExtension whether [] is valid in an expression. If it is true, parse them like (). Enable this for ELF only. llvm-svn: 126443 | ||||
* | Bug#9172: Don't use static in file scope, use an attribute on the | Joerg Sonnenberger | 2011-02-22 | 1 | -5/+5 |
| | | | | | | parser. llvm-svn: 126225 | ||||
* | Add support for pushsection and popsection. Patch by Joerg Sonnenberger. | Rafael Espindola | 2011-02-16 | 1 | -4/+26 |
| | | | | llvm-svn: 125629 | ||||
* | Handle strings in section names the same way as gas: | Rafael Espindola | 2011-01-24 | 1 | -3/+14 |
| | | | | | | | * If the name is a single string, we remove the quotes * If the name starts without a quote, we include any quotes in the name llvm-svn: 124127 | ||||
* | Delay the creation of eh_frame so that the user can change the defaults. | Rafael Espindola | 2011-01-23 | 1 | -0/+2 |
| | | | | | | Add support for SHT_X86_64_UNWIND. llvm-svn: 124059 | ||||
* | Remove more duplicated code. | Rafael Espindola | 2011-01-23 | 1 | -35/+35 |
| | | | | llvm-svn: 124056 | ||||
* | Remove duplicated code. | Rafael Espindola | 2011-01-23 | 1 | -18/+19 |
| | | | | llvm-svn: 124054 | ||||
* | Add support for @note. Patch by Jörg Sonnenberger. | Rafael Espindola | 2010-12-26 | 1 | -0/+2 |
| | | | | llvm-svn: 122568 | ||||
* | Factor some code to parseSectionFlags and fix the default type of a section. | Rafael Espindola | 2010-11-25 | 1 | -49/+58 |
| | | | | llvm-svn: 120145 | ||||
* | Behave a bit more like gnu as and use the symbol (instead of the section) | Rafael Espindola | 2010-11-24 | 1 | -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 Espindola | 2010-11-13 | 1 | -0/+1 |
| | | | | llvm-svn: 118980 | ||||
* | gnu as support both % and @ before types, do the same. | Rafael Espindola | 2010-11-12 | 1 | -10/+4 |
| | | | | llvm-svn: 118893 | ||||
* | Initial comdat implementation. | Rafael Espindola | 2010-11-11 | 1 | -5/+7 |
| | | | | llvm-svn: 118805 | ||||
* | Fixed version of 118639 with an extra assert to catch similar problems | Rafael Espindola | 2010-11-09 | 1 | -3/+2 |
| | | | | | | earlier. Implicit bool -> int conversions are evil! llvm-svn: 118651 | ||||
* | Revert previous patch. Missed a case. | Rafael Espindola | 2010-11-09 | 1 | -2/+3 |
| | | | | llvm-svn: 118645 | ||||
* | Remove IsExplicit. It was always false. | Rafael Espindola | 2010-11-09 | 1 | -3/+2 |
| | | | | llvm-svn: 118639 | ||||
* | Set default flags for .rodata. | Rafael Espindola | 2010-11-08 | 1 | -1/+3 |
| | | | | llvm-svn: 118395 | ||||
* | Implement .weakref. | Rafael Espindola | 2010-11-01 | 1 | -0/+28 |
| | | | | llvm-svn: 117911 | ||||
* | Improvements to .section parsing: | Rafael Espindola | 2010-10-28 | 1 | -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 Espindola | 2010-10-27 | 1 | -1/+9 |
| | | | | llvm-svn: 117471 | ||||
* | Add support for the .symver directive. This is really ugly, but most of it is | Rafael Espindola | 2010-10-27 | 1 | -0/+30 |
| | | | | | | contained in the ELF object writer. llvm-svn: 117448 | ||||
* | Add support for .ident. | Rafael Espindola | 2010-10-26 | 1 | -0/+32 |
| | | | | llvm-svn: 117389 | ||||
* | MC: Move ParseDirectiveELFType into ELFAsmParser. COFF uses .type for ↵ | Michael J. Spencer | 2010-10-09 | 1 | -1/+49 |
| | | | | | | something else. llvm-svn: 116142 | ||||
* | Have ELFAsmParser.cpp use the already parsed "Size" (entry size) when | Jan Wen Voung | 2010-09-30 | 1 | -1/+2 |
| | | | | | | constructing a section. Test for a few cases also included. llvm-svn: 115132 | ||||
* | Make sure .text doesn't produce extra alignment. | Rafael Espindola | 2010-09-27 | 1 | -9/+3 |
| | | | | llvm-svn: 114895 | ||||
* | Make sure that names like .note.GNU-stack are accepted as valid section names. | Rafael Espindola | 2010-09-16 | 1 | -2/+37 |
| | | | | llvm-svn: 114091 | ||||
* | Add a InitSections method to the streamer interface. | Rafael Espindola | 2010-09-15 | 1 | -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 Espindola | 2010-09-11 | 1 | -23/+0 |
| | | | | llvm-svn: 113691 | ||||
* | Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky. | Benjamin Kramer | 2010-09-02 | 1 | -0/+10 |
| | | | | llvm-svn: 112849 | ||||
* | Add some more handlers for ELF section directives. | Matt Fleming | 2010-07-20 | 1 | -0/+54 |
| | | | | llvm-svn: 108928 | ||||
* | MC/AsmParser: Stop playing unsafe member function pointer calls, this isn't | Daniel Dunbar | 2010-07-18 | 1 | -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 Dunbar | 2010-07-18 | 1 | -0/+1 |
| | | | | llvm-svn: 108647 | ||||
* | Start of .sleb128/.uleb128 parsing support. | Eli Friedman | 2010-07-17 | 1 | -0/+26 |
| | | | | llvm-svn: 108612 | ||||
* | Work-in-progress parsing for ELF .section directive. | Eli Friedman | 2010-07-17 | 1 | -5/+113 |
| | | | | llvm-svn: 108609 | ||||
* | Add support for parsing .size directives for ELF. | Eli Friedman | 2010-07-17 | 1 | -0/+24 |
| | | | | llvm-svn: 108606 | ||||
* | MC/AsmParser: Move ELF specific parser to ELFAsmParser.cpp. | Daniel Dunbar | 2010-07-12 | 1 | -0/+68 |
llvm-svn: 108196 |