Write the section table and the section data in the same order that
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 20 Mar 2011 18:44:20 +0000 (18:44 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 20 Mar 2011 18:44:20 +0000 (18:44 +0000)
commit7c18fa87a4d4ed8b0cfe1ec65597c748c6d91ca9
tree805831560fd2335ffc166f53d3852bacd28e9c67
parenta201c4c2e604a519665ca55dc49e913628444ddb
Write the section table and the section data in the same order that
gun as does. This makes it a lot easier to compare the output of both
as the addresses are now a lot closer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127972 91177308-0d34-0410-b5e6-96231b3b80d8
32 files changed:
lib/MC/ELFObjectWriter.cpp
lib/MC/ELFObjectWriter.h
test/CodeGen/ARM/2010-12-15-elf-lcomm.ll
test/MC/ARM/elf-reloc-01.ll
test/MC/ARM/elf-reloc-02.ll
test/MC/ARM/elf-reloc-03.ll
test/MC/ELF/alias-reloc.s
test/MC/ELF/basic-elf-32.s
test/MC/ELF/basic-elf-64.s
test/MC/ELF/cfi-advance-loc2.s
test/MC/ELF/cfi-def-cfa-offset.s
test/MC/ELF/cfi-def-cfa-register.s
test/MC/ELF/cfi-def-cfa.s
test/MC/ELF/cfi-offset.s
test/MC/ELF/cfi-remember.s
test/MC/ELF/cfi-zero-addr-delta.s
test/MC/ELF/cfi.s
test/MC/ELF/comdat.s
test/MC/ELF/common.s
test/MC/ELF/got.s
test/MC/ELF/local-reloc.s
test/MC/ELF/merge.s
test/MC/ELF/pic-diff.s
test/MC/ELF/relocation-386.s
test/MC/ELF/relocation-pc.s
test/MC/ELF/relocation.s
test/MC/ELF/rename.s
test/MC/ELF/symref.s
test/MC/ELF/tls.s
test/MC/ELF/undef2.s
test/MC/ELF/weakref-reloc.s
test/MC/ELF/weakref.s