[lld] r193556 - [PECOFF] Set section name for BSS atoms.

Rui Ueyama ruiu at google.com
Mon Oct 28 21:20:04 PDT 2013


On Mon, Oct 28, 2013 at 9:07 PM, Shankar Easwaran
<shankare at codeaurora.org>wrote:

> On 10/28/2013 6:26 PM, Rui Ueyama wrote:
>
>> -      : COFFDefinedFileAtom(file, name, "", scope, typeZeroFill, perms,
>> +      : COFFDefinedFileAtom(file, name, ".bss", scope, typeZeroFill,
>> perms,
>>
> The section name should be derived by the writer for default section types.
>

That is not true for COFF. In COFF, section name has significance unlike
ELF, and the linker is expected to emit sections with the same name as in
the object file.

Thanks
>
> Shankar Easwaran
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by the Linux Foundation
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131028/498a547a/attachment.html>


More information about the llvm-commits mailing list