| 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 /// \file | 10 /// \file |
| 11 /// This file defines the writer for ELF relocatable object files. | 11 /// \brief Defines the writer for ELF relocatable object files. |
| 12 /// | 12 /// |
| 13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 14 | 14 |
| 15 #include "IceELFObjectWriter.h" | 15 #include "IceELFObjectWriter.h" |
| 16 | 16 |
| 17 #include "IceAssembler.h" | 17 #include "IceAssembler.h" |
| 18 #include "IceDefs.h" | 18 #include "IceDefs.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" |
| (...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 if (ELF64) { | 669 if (ELF64) { |
| 670 writeELFHeaderInternal<true>(ShOffset, ShStrTab->getNumber(), | 670 writeELFHeaderInternal<true>(ShOffset, ShStrTab->getNumber(), |
| 671 AllSections.size()); | 671 AllSections.size()); |
| 672 } else { | 672 } else { |
| 673 writeELFHeaderInternal<false>(ShOffset, ShStrTab->getNumber(), | 673 writeELFHeaderInternal<false>(ShOffset, ShStrTab->getNumber(), |
| 674 AllSections.size()); | 674 AllSections.size()); |
| 675 } | 675 } |
| 676 } | 676 } |
| 677 | 677 |
| 678 } // end of namespace Ice | 678 } // end of namespace Ice |
| OLD | NEW |