| OLD | NEW |
| 1 //===- subzero/src/IceELFObjectWriter.cpp - ELF object file writer --------===// | 1 //===- subzero/src/IceELFObjectWriter.cpp - ELF object file writer --------===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file defines the writer for ELF relocatable object files. | 10 // This file defines the writer for ELF relocatable object files. |
| 11 // | 11 // |
| 12 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
| 13 | 13 |
| 14 #include "llvm/Support/MathExtras.h" | 14 #include "llvm/Support/MathExtras.h" |
| 15 | 15 |
| 16 #include "assembler.h" | 16 #include "IceAssembler.h" |
| 17 #include "IceDefs.h" | 17 #include "IceDefs.h" |
| 18 #include "IceELFObjectWriter.h" | 18 #include "IceELFObjectWriter.h" |
| 19 #include "IceELFSection.h" | 19 #include "IceELFSection.h" |
| 20 #include "IceELFStreamer.h" | 20 #include "IceELFStreamer.h" |
| 21 #include "IceGlobalContext.h" | 21 #include "IceGlobalContext.h" |
| 22 #include "IceGlobalInits.h" | 22 #include "IceGlobalInits.h" |
| 23 #include "IceOperand.h" | 23 #include "IceOperand.h" |
| 24 | 24 |
| 25 using namespace llvm::ELF; | 25 using namespace llvm::ELF; |
| 26 | 26 |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 if (ELF64) { | 607 if (ELF64) { |
| 608 writeELFHeaderInternal<true>(ShOffset, ShStrTab->getNumber(), | 608 writeELFHeaderInternal<true>(ShOffset, ShStrTab->getNumber(), |
| 609 AllSections.size()); | 609 AllSections.size()); |
| 610 } else { | 610 } else { |
| 611 writeELFHeaderInternal<false>(ShOffset, ShStrTab->getNumber(), | 611 writeELFHeaderInternal<false>(ShOffset, ShStrTab->getNumber(), |
| 612 AllSections.size()); | 612 AllSections.size()); |
| 613 } | 613 } |
| 614 } | 614 } |
| 615 | 615 |
| 616 } // end of namespace Ice | 616 } // end of namespace Ice |
| OLD | NEW |