OSDN Git Service

Use a default alignment for data and bss sections.
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 23 Jun 2009 04:39:27 +0000 (04:39 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Tue, 23 Jun 2009 04:39:27 +0000 (04:39 +0000)
commite39493eb1bb867f8c4e4cdb59952576b52201bbf
treed65fc13b99e4f184a1f7994d11bfd5650f8db840
parentbcd0b8d2ef63c8a3219bf1d93653279c2814281f
Use a default alignment for data and bss sections.
Only pad when the section size > 0 and move the code that deals
with globals initializers to a place we know for sure the global
is initialized.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73944 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ELFWriter.cpp
lib/CodeGen/ELFWriter.h