Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make it possible for the MCObjectWriter to decide if a given fixup is fully | Rafael Espindola | 2010-09-30 | 1 | -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 Espindola | 2010-09-29 | 1 | -0/+21 | |
| | | | | llvm-svn: 115037 | |||||
* | Add a test that I forgot to add with a previous commit. | Rafael Espindola | 2010-09-29 | 1 | -0/+13 | |
| | | | | llvm-svn: 115036 | |||||
* | On elf, undefined symbols can start with .L. | Rafael Espindola | 2010-09-28 | 1 | -0/+15 | |
| | | | | llvm-svn: 114958 | |||||
* | Write relocations in the end of the file. This matches what gas does and | Rafael Espindola | 2010-09-27 | 3 | -50/+50 | |
| | | | | | | makes files easier to diff. llvm-svn: 114898 | |||||
* | Make sure .text doesn't produce extra alignment. | Rafael Espindola | 2010-09-27 | 1 | -0/+19 | |
| | | | | llvm-svn: 114895 | |||||
* | Move ELF to HasReliableSymbolDifference=true. Also take the opportunity to put | Rafael Espindola | 2010-09-25 | 2 | -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 Espindola | 2010-09-24 | 1 | -0/+32 | |
| | | | | | | http://google1.osuosl.org:8011/builders/llvm-gcc-i386-linux-selfhost/builds/69 llvm-svn: 114761 | |||||
* | Revert 114678 and 114667 to see if | Rafael Espindola | 2010-09-24 | 1 | -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 binding | Rafael Espindola | 2010-09-23 | 1 | -0/+14 | |
| | | | | | | (2 == STB_WEAK | STB_GLOBAL). llvm-svn: 114690 | |||||
* | Represent relocations against local symbols as relocations against the section | Rafael Espindola | 2010-09-23 | 1 | -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 Espindola | 2010-09-22 | 1 | -0/+32 | |
| | | | | llvm-svn: 114594 | |||||
* | Correctly align bss. | Rafael Espindola | 2010-09-22 | 1 | -0/+17 | |
| | | | | llvm-svn: 114556 | |||||
* | Implement support for .local and its "interesting" interactions with .comm. | Rafael Espindola | 2010-09-21 | 1 | -0/+63 | |
| | | | | llvm-svn: 114382 | |||||
* | Produce a R_X86_64_32 when the value is >=0. | Rafael Espindola | 2010-09-20 | 2 | -2/+14 | |
| | | | | llvm-svn: 114339 | |||||
* | Make sure the STT_FILE symbol is the first one in the symbol table. | Rafael Espindola | 2010-09-18 | 1 | -0/+23 | |
| | | | | llvm-svn: 114285 | |||||
* | Add test that was missing in my previous commit. | Rafael Espindola | 2010-09-18 | 1 | -0/+18 | |
| | | | | llvm-svn: 114248 | |||||
* | Print the address of sections as 0 and create the metadata sections in the | Rafael Espindola | 2010-09-16 | 1 | -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 Espindola | 2010-09-16 | 1 | -0/+11 | |
| | | | | llvm-svn: 114091 | |||||
* | Add support for the .zero directive. | Rafael Espindola | 2010-09-16 | 1 | -0/+15 | |
| | | | | llvm-svn: 114077 | |||||
* | Add a InitSections method to the streamer interface. | Rafael Espindola | 2010-09-15 | 3 | -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 Espindola | 2010-09-11 | 3 | -1/+52 | |
| | | | | llvm-svn: 113691 | |||||
* | Add an elf-dumper utility. | Benjamin Kramer | 2010-09-09 | 1 | -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 special | Daniel Dunbar | 2010-08-18 | 2 | -0/+13 | |
directives for putting contents in .bss, for example. llvm-svn: 111376 |