summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAsmBackend.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* A bit of cleanup: early exit ApplyFixup and cache the Fixup offset. NoBill Wendling2010-12-071-13/+14
| | | | | | functionality change. llvm-svn: 121195
* Add fixup for Thumb1 BL/BLX instructions.Jim Grosbach2010-12-061-7/+23
| | | | llvm-svn: 121072
* Remove the instruction fragment to data fragment lowering since it was causingRafael Espindola2010-12-061-9/+9
| | | | | | freed data to be read. I will open a bug to track it being reenabled. llvm-svn: 121028
* Remove unused variable.Benjamin Kramer2010-12-031-1/+0
| | | | llvm-svn: 120836
* fix ARM::fixup_arm_branch, cleanup, and share more code between ELF and DarwinJason W Kim2010-12-031-23/+10
| | | | llvm-svn: 120832
* Add support for binary encoding of ARM 'adr' instructions referencing constantJim Grosbach2010-12-021-3/+18
| | | | | | pool entries (LEApcrel pseudo). Ongoing saga of rdar://8542291. llvm-svn: 120635
* fixing style nit: move class static to global staticJason W Kim2010-12-011-42/+41
| | | | llvm-svn: 120619
* Add correct encodings for STRD and LDRD, including fixup support. ↵Owen Anderson2010-12-011-2/+2
| | | | | | Additionally, update these to unified syntax. llvm-svn: 120589
* kill trailing spaceJason W Kim2010-12-011-1/+1
| | | | llvm-svn: 120586
* 10 bits, not 12.Jim Grosbach2010-12-011-2/+2
| | | | llvm-svn: 120584
* Remove "comparison of integers of different signs" warning by making theBill Wendling2010-12-011-1/+1
| | | | | | variable unsigned. llvm-svn: 120541
* ARM/MC/ELF relocation "hello world" for movw/movt.Jason W Kim2010-12-011-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 Grosbach2010-11-301-5/+27
| | | | llvm-svn: 120480
* MC/Mach-O: Switch to using MachOFormat.h.Daniel Dunbar2010-11-271-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 Espindola2010-11-261-1/+1
| | | | llvm-svn: 120168
* make isVirtualSection a virtual method on MCSection. Chris' suggestion.Rafael Espindola2010-11-171-12/+0
| | | | llvm-svn: 119547
* tidy upChris Lattner2010-11-171-8/+5
| | | | llvm-svn: 119462
* MC: Simplify Mach-O and ELF object writer implementations.Daniel Dunbar2010-11-131-8/+7
| | | | | | - What was I thinking????? llvm-svn: 118992
* Start of support for binary emit of 16-it Thumb instructions.Jim Grosbach2010-11-111-4/+8
| | | | llvm-svn: 118859
* Encoding of destination fixup for ARM branch and conditional branchJim Grosbach2010-11-111-6/+8
| | | | | | instructions. llvm-svn: 118801
* ARM .word data fixups don't need an adjustment.Jim Grosbach2010-11-091-0/+1
| | | | llvm-svn: 118586
* Add support for a few simple fixups to the ARM Darwin asm backend. This allowsJim Grosbach2010-11-091-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 workJim Grosbach2010-11-051-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 Grosbach2010-11-051-1/+4
| | | | llvm-svn: 118288
* Add support for emitting ARM file attributes.Rafael Espindola2010-10-251-2/+1
| | | | llvm-svn: 117275
* Making the e_machine configurable by the target backend in ELFObjectWriter.Wesley Peck2010-10-221-1/+2
| | | | llvm-svn: 117099
* Add a MCObjectFormat class so that code common to all targets that use aRafael Espindola2010-10-161-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 MachOJim Grosbach2010-09-301-8/+4
| | | | | | vs. ELF llvm-svn: 115180
* Remove extraneous ';'Jim Grosbach2010-09-301-2/+2
| | | | llvm-svn: 115176
* Adds getPointerSize() to the AsmBackend which will be needed by the final patchKevin Enderby2010-09-301-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 Kim2010-09-301-2/+1
| | | | llvm-svn: 115147
* trailing whitespaceJim Grosbach2010-09-301-3/+3
| | | | llvm-svn: 115136
* Remove misplaced ';'. Make buildbots happy, hopefully.Jim Grosbach2010-09-301-1/+1
| | | | llvm-svn: 115135
* I added a new file ARMAsmBackend which stubs out in similar ways toJason W Kim2010-09-301-0/+143
the eqv X86 class. For now, I split the ELFARMAsmBackend from the DarwinARMAsmBackend (also mimicking X86) Tested against -r115126 llvm-svn: 115129
OpenPOWER on IntegriCloud