| 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 /// \file |
| 11 // | 11 /// This file defines the writer for ELF relocatable object files. |
| 12 /// |
| 12 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 13 | 14 |
| 14 #include "IceELFObjectWriter.h" | 15 #include "IceELFObjectWriter.h" |
| 15 | 16 |
| 16 #include "IceAssembler.h" | 17 #include "IceAssembler.h" |
| 17 #include "IceDefs.h" | 18 #include "IceDefs.h" |
| 18 #include "IceELFSection.h" | 19 #include "IceELFSection.h" |
| 19 #include "IceELFStreamer.h" | 20 #include "IceELFStreamer.h" |
| 20 #include "IceGlobalContext.h" | 21 #include "IceGlobalContext.h" |
| 21 #include "IceGlobalInits.h" | 22 #include "IceGlobalInits.h" |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 if (ELF64) { | 626 if (ELF64) { |
| 626 writeELFHeaderInternal<true>(ShOffset, ShStrTab->getNumber(), | 627 writeELFHeaderInternal<true>(ShOffset, ShStrTab->getNumber(), |
| 627 AllSections.size()); | 628 AllSections.size()); |
| 628 } else { | 629 } else { |
| 629 writeELFHeaderInternal<false>(ShOffset, ShStrTab->getNumber(), | 630 writeELFHeaderInternal<false>(ShOffset, ShStrTab->getNumber(), |
| 630 AllSections.size()); | 631 AllSections.size()); |
| 631 } | 632 } |
| 632 } | 633 } |
| 633 | 634 |
| 634 } // end of namespace Ice | 635 } // end of namespace Ice |
| OLD | NEW |