llvm-mc/Mach-O: Add section padding where needed (to align the next section).
authorDaniel Dunbar <daniel@zuster.org>
Wed, 26 Aug 2009 04:13:32 +0000 (04:13 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 26 Aug 2009 04:13:32 +0000 (04:13 +0000)
commit6742e34385bff89b897ef0fc930c4bca9e75ac4a
tree2f287695b6a793d472137ce08c2328c82046e6b6
parent5e835967dd5dda294d0ef3392f4c1d4a2260f532
llvm-mc/Mach-O: Add section padding where needed (to align the next section).

Also, simplify some of Mach-O writer code which can now use section addresses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80067 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAssembler.h
lib/MC/MCAssembler.cpp
test/MC/MachO/section-align-1.s [new file with mode: 0644]
test/MC/MachO/section-align-2.s [new file with mode: 0644]