• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- ZOption.cpp --------------------------------------------------------===//
2 //
3 //                     The MCLinker Project
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 #include "mcld/MC/ZOption.h"
10 
11 namespace mcld {
12 
13 //===----------------------------------------------------------------------===//
14 // ZOption
15 //===----------------------------------------------------------------------===//
ZOption()16 ZOption::ZOption() : ZOption(Unknown) {
17 }
18 
ZOption(Kind pKind)19 ZOption::ZOption(Kind pKind) : ZOption(pKind, 0x0) {
20 }
21 
ZOption(Kind pKind,uint64_t pPageSize)22 ZOption::ZOption(Kind pKind, uint64_t pPageSize)
23     : m_Kind(pKind), m_PageSize(pPageSize) {
24 }
25 
26 }  // namespace mcld
27