//===-- ARMTargetAsmInfo.cpp - ARM asm properties ---------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file was developed by James M. Laskey and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the declarations of the ARMTargetAsmInfo properties.
//
//===----------------------------------------------------------------------===//

#include "ARMTargetAsmInfo.h"

using namespace llvm;

ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
  Data16bitsDirective = "\t.half\t";
  Data32bitsDirective = "\t.word\t";
  Data64bitsDirective = 0;
  ZeroDirective = "\t.skip\t";
  CommentString = "@";
  ConstantPoolSection = "\t.text\n";
  AlignmentIsInBytes = false;
  WeakRefDirective = "\t.weak\t";
}

//===-- ARMTargetAsmInfo.cpp - ARM asm properties ---------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file was developed by James M. Laskey and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file contains the declarations of the ARMTargetAsmInfo properties.
//
//===----------------------------------------------------------------------===//

#include "ARMTargetAsmInfo.h"

using namespace llvm;

ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
  Data16bitsDirective = "\t.half\t";
  Data32bitsDirective = "\t.word\t";
  Data64bitsDirective = 0;
  ZeroDirective = "\t.skip\t";
  CommentString = "@";
  ConstantPoolSection = "\t.text\n";
  AlignmentIsInBytes = false;
  WeakRefDirective = "\t.weak\t";
  StaticCtorsSection = "\t.section .ctors,\"aw\",%progbits";
  StaticDtorsSection = "\t.section .dtors,\"aw\",%progbits";
}

Define StaticCtorsSection and StaticDtorsSection for ARM.
Define StaticCtorsSection and StaticDtorsSection for ARM.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@32763 91177308-0d34-0410-b5e6-96231b3b80d8
