Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | A bit of cleanup: early exit ApplyFixup and cache the Fixup offset. No | Bill Wendling | 2010-12-07 | 1 | -13/+14 | |
| | | | | | | functionality change. llvm-svn: 121195 | |||||
* | Add fixup for Thumb1 BL/BLX instructions. | Jim Grosbach | 2010-12-06 | 1 | -7/+23 | |
| | | | | llvm-svn: 121072 | |||||
* | Remove the instruction fragment to data fragment lowering since it was causing | Rafael Espindola | 2010-12-06 | 1 | -9/+9 | |
| | | | | | | freed data to be read. I will open a bug to track it being reenabled. llvm-svn: 121028 | |||||
* | Remove unused variable. | Benjamin Kramer | 2010-12-03 | 1 | -1/+0 | |
| | | | | llvm-svn: 120836 | |||||
* | fix ARM::fixup_arm_branch, cleanup, and share more code between ELF and Darwin | Jason W Kim | 2010-12-03 | 1 | -23/+10 | |
| | | | | llvm-svn: 120832 | |||||
* | Add support for binary encoding of ARM 'adr' instructions referencing constant | Jim Grosbach | 2010-12-02 | 1 | -3/+18 | |
| | | | | | | pool entries (LEApcrel pseudo). Ongoing saga of rdar://8542291. llvm-svn: 120635 | |||||
* | fixing style nit: move class static to global static | Jason W Kim | 2010-12-01 | 1 | -42/+41 | |
| | | | | llvm-svn: 120619 | |||||
* | Add correct encodings for STRD and LDRD, including fixup support. ↵ | Owen Anderson | 2010-12-01 | 1 | -2/+2 | |
| | | | | | | Additionally, update these to unified syntax. llvm-svn: 120589 | |||||
* | kill trailing space | Jason W Kim | 2010-12-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 120586 | |||||
* | 10 bits, not 12. | Jim Grosbach | 2010-12-01 | 1 | -2/+2 | |
| | | | | llvm-svn: 120584 | |||||
* | Remove "comparison of integers of different signs" warning by making the | Bill Wendling | 2010-12-01 | 1 | -1/+1 | |
| | | | | | | variable unsigned. llvm-svn: 120541 | |||||
* | ARM/MC/ELF relocation "hello world" for movw/movt. | Jason W Kim | 2010-12-01 | 1 | -44/+75 | |
| | | | | | | | | | | | Lifted adjustFixupValue() from Darwin for sharing w ELF. Test added TODO: refactor ELFObjectWriter::RecordRelocation more. Possibly share more code with Darwin? Lots more relocations... llvm-svn: 120534 | |||||
* | Fix handling of ARM negative pc-relative fixups for loads and stores. | Jim Grosbach | 2010-11-30 | 1 | -5/+27 | |
| | | | | llvm-svn: 120480 | |||||
* | MC/Mach-O: Switch to using MachOFormat.h. | Daniel Dunbar | 2010-11-27 | 1 | -3/+4 | |
| | | | | | | - I'm leaving MachO.h, because I believe it has external consumers, but I would really like to eliminate it (we have stylistic disagreements with one another). llvm-svn: 120187 | |||||
* | Remove the unused TheTarget member. | Rafael Espindola | 2010-11-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 120168 | |||||
* | make isVirtualSection a virtual method on MCSection. Chris' suggestion. | Rafael Espindola | 2010-11-17 | 1 | -12/+0 | |
| | | | | llvm-svn: 119547 | |||||
* | tidy up | Chris Lattner | 2010-11-17 | 1 | -8/+5 | |
| | | | | llvm-svn: 119462 | |||||
* | MC: Simplify Mach-O and ELF object writer implementations. | Daniel Dunbar | 2010-11-13 | 1 | -8/+7 | |
| | | | | | | - What was I thinking????? llvm-svn: 118992 | |||||
* | Start of support for binary emit of 16-it Thumb instructions. | Jim Grosbach | 2010-11-11 | 1 | -4/+8 | |
| | | | | llvm-svn: 118859 | |||||
* | Encoding of destination fixup for ARM branch and conditional branch | Jim Grosbach | 2010-11-11 | 1 | -6/+8 | |
| | | | | | | instructions. llvm-svn: 118801 | |||||
* | ARM .word data fixups don't need an adjustment. | Jim Grosbach | 2010-11-09 | 1 | -0/+1 | |
| | | | | llvm-svn: 118586 | |||||
* | Add support for a few simple fixups to the ARM Darwin asm backend. This allows | Jim Grosbach | 2010-11-09 | 1 | -2/+34 | |
| | | | | | | | | | | | | | | constant pool references and global variable refernces to resolve properly for object file generation. For example, int x; void foo(unsigned a, unsigned *p) { p[a] = x; } can now be successfully compiled directly to an (ARM mode) object file. llvm-svn: 118469 | |||||
* | Enable MachO writing for ARM/Darwin. Lots of stuff still doesn't work | Jim Grosbach | 2010-11-05 | 1 | -1/+0 | |
| | | | | | | (relocations, e.g.), but this will allow simple things to flow through. llvm-svn: 118289 | |||||
* | Allow targets to specify the MachO CPUType/CPUSubtype information. | Jim Grosbach | 2010-11-05 | 1 | -1/+4 | |
| | | | | llvm-svn: 118288 | |||||
* | Add support for emitting ARM file attributes. | Rafael Espindola | 2010-10-25 | 1 | -2/+1 | |
| | | | | llvm-svn: 117275 | |||||
* | Making the e_machine configurable by the target backend in ELFObjectWriter. | Wesley Peck | 2010-10-22 | 1 | -1/+2 | |
| | | | | llvm-svn: 117099 | |||||
* | Add a MCObjectFormat class so that code common to all targets that use a | Rafael Espindola | 2010-10-16 | 1 | -2/+13 | |
| | | | | | | | | | | | | single object format can be shared. This also adds support for mov zed+(bar-foo), %eax on ELF and COFF targets. llvm-svn: 116675 | |||||
* | Move getPointerSize() to the base class since it's not dependent on MachO | Jim Grosbach | 2010-09-30 | 1 | -8/+4 | |
| | | | | | | vs. ELF llvm-svn: 115180 | |||||
* | Remove extraneous ';' | Jim Grosbach | 2010-09-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 115176 | |||||
* | Adds getPointerSize() to the AsmBackend which will be needed by the final patch | Kevin Enderby | 2010-09-30 | 1 | -0/+8 | |
| | | | | | | for the dwarf .loc support to emit dwarf line number tables. llvm-svn: 115153 | |||||
* | Fix two tiny issues (ARM does not need COFF) and comment sanity. | Jason W Kim | 2010-09-30 | 1 | -2/+1 | |
| | | | | llvm-svn: 115147 | |||||
* | trailing whitespace | Jim Grosbach | 2010-09-30 | 1 | -3/+3 | |
| | | | | llvm-svn: 115136 | |||||
* | Remove misplaced ';'. Make buildbots happy, hopefully. | Jim Grosbach | 2010-09-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 115135 | |||||
* | I added a new file ARMAsmBackend which stubs out in similar ways to | Jason W Kim | 2010-09-30 | 1 | -0/+143 | |
the eqv X86 class. For now, I split the ELFARMAsmBackend from the DarwinARMAsmBackend (also mimicking X86) Tested against -r115126 llvm-svn: 115129 |