summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetObjectFile.h
Commit message (Collapse)AuthorAgeFilesLines
* Use TARGET2 relocation for TType references on ARM.Anton Korobeynikov2012-11-141-0/+5
| | | | | | | | Do some cleanup of the code while here. Inspired by patch by Logan Chien! llvm-svn: 167904
* Move the support for using .init_array from ARM to the genericRafael Espindola2012-06-191-4/+0
| | | | | | | | | | TargetLoweringObjectFileELF. Use this to support it on X86. Unlike ARM, on X86 it is not easy to find out if .init_array should be used or not, so the decision is made via TargetOptions and defaults to off. Add a command line option to llc that enables it. llvm-svn: 158692
* Properly emit ctors / dtors with priorities into desired sectionsAnton Korobeynikov2012-01-251-0/+4
| | | | | | | | and let linker handle the rest. This finally fixes PR5329 llvm-svn: 148990
* Second set of ARM/MC/ELF changes.Jason W Kim2010-10-111-1/+10
| | | | | | | | | Added ARM specific ELF section types. Added AttributesSection to ARMElfTargetObject First step in unifying .cpu assembly tag with ELF/.o llc now asserts on actual ELF emission on -filetype=obj :-) llvm-svn: 116257
* Now that the default for Darwin platforms is to place the LSDA into the TEXTBill Wendling2010-03-151-12/+0
| | | | | | section, remove the target-specific code that performs this. llvm-svn: 98580
* The ARM EH experiment worked!Bill Wendling2010-03-091-20/+22
| | | | | | | | | | | | Place the LSDA into the TEXT section for ARM platforms. This involves making the encoding indirect, pcrel, and sdata4 instead of an absolute pointer. The references to the type infos are then non-lazy pointers. Revision 98019 changed the encoding of non-lazy pointers to add the symbol to the non-lazy pointer definition if it's a local symbol (otherwise, it's external and set to '0' so that the loader can adjust it to the real value). This paved the way for this change to work on ARM. llvm-svn: 98068
* Move TLOF implementations to libCodegen to resolve layering violation.Anton Korobeynikov2010-02-151-2/+2
| | | | llvm-svn: 96288
* Change MCSectionELF to represent a section semantically instead ofBruno Cardoso Lopes2009-08-131-4/+5
| | | | | | | syntactically as a string, very similiar to what Chris did with MachO. The parsing support and validation is not introduced yet. llvm-svn: 78890
* Whitespace cleanup. Remove trailing whitespace.Jim Grosbach2009-08-111-3/+3
| | | | llvm-svn: 78666
* 1. Make MCSection an abstract class.Chris Lattner2009-08-081-1/+1
| | | | | | | | | 2. Move section switch printing to MCSection virtual method which takes a TAI. This eliminates textual formatting stuff from TLOF. 3. Eliminate SwitchToSectionDirective, getSectionFlagsAsString, and TLOFELF::AtIsCommentChar. llvm-svn: 78510
* now that getOrCreateSection is all object-file specific,Chris Lattner2009-08-081-4/+4
| | | | | | | give the impls an object-file-specific name. In the future they can take different arguments etc. llvm-svn: 78495
* Ooops, I was too fast to commit the wrong fix :(Anton Korobeynikov2009-08-041-2/+2
| | | | llvm-svn: 78060
* Fix a typo - this unbreaks llvm-gcc build on armAnton Korobeynikov2009-08-041-2/+2
| | | | llvm-svn: 78059
* convert ctors/dtors section to be in TLOF instead ofChris Lattner2009-08-021-0/+38
TAI. llvm-svn: 77842
OpenPOWER on IntegriCloud