[lld] r193556 - [PECOFF] Set section name for BSS atoms.
Rui Ueyama
ruiu at google.com
Mon Oct 28 16:26:33 PDT 2013
Author: ruiu
Date: Mon Oct 28 18:26:33 2013
New Revision: 193556
URL: http://llvm.org/viewvc/llvm-project?rev=193556&view=rev
Log:
[PECOFF] Set section name for BSS atoms.
This change has no effect now, but will be needed to emit BSS atoms
to .bss section.
Modified:
lld/trunk/lib/ReaderWriter/PECOFF/Atoms.h
Modified: lld/trunk/lib/ReaderWriter/PECOFF/Atoms.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/PECOFF/Atoms.h?rev=193556&r1=193555&r2=193556&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/PECOFF/Atoms.h (original)
+++ lld/trunk/lib/ReaderWriter/PECOFF/Atoms.h Mon Oct 28 18:26:33 2013
@@ -209,7 +209,7 @@ public:
COFFBSSAtom(const File &file, StringRef name, Scope scope,
ContentPermissions perms, Merge merge, uint32_t size,
uint64_t ordinal)
- : COFFDefinedFileAtom(file, name, "", scope, typeZeroFill, perms,
+ : COFFDefinedFileAtom(file, name, ".bss", scope, typeZeroFill, perms,
ordinal),
_merge(merge), _size(size) {}
More information about the llvm-commits
mailing list