summaryrefslogtreecommitdiffstats
path: root/lib/Target/TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-01-17 10:33:08 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-01-17 10:33:08 +0000
commit5032e5a61381437174e035de2a7dd728978f7bd5 (patch)
treed3490b98b33a202ee2b2a399692d9c7b169ac1c8 /lib/Target/TargetAsmInfo.cpp
parente911615c4769d793588087b5321d303ecb9661c7 (diff)
downloadexternal_llvm-5032e5a61381437174e035de2a7dd728978f7bd5.zip
external_llvm-5032e5a61381437174e035de2a7dd728978f7bd5.tar.gz
external_llvm-5032e5a61381437174e035de2a7dd728978f7bd5.tar.bz2
* Fix one more bug in PIC codegen: extra load is needed for *all*
non-statics. * Introduce new option to output zero-initialized data to .bss section. This can reduce size of binaries. Enable it by default for ELF & Cygwin/Mingw targets. Probably, Darwin should be also added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetAsmInfo.cpp')
-rw-r--r--lib/Target/TargetAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp
index b184500..b90eaa1 100644
--- a/lib/Target/TargetAsmInfo.cpp
+++ b/lib/Target/TargetAsmInfo.cpp
@@ -19,6 +19,7 @@ using namespace llvm;
TargetAsmInfo::TargetAsmInfo() :
TextSection(".text"),
DataSection(".data"),
+ BSSSection(".bss"),
AddressSize(4),
NeedsSet(false),
MaxInstLength(4),