This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linker behaviour for sections having flags SHF_MERGE/SHF_STRINGS


On Mon, Nov 12, 2012 at 6:43 AM, Shankar Kalpathi Easwaran
<shankarke@gmail.com> wrote:
>
> I dont know how critical are the linker and the gold bugs, think they are
> not so critical.

I think the only gold bug is a slightly misleading error message.
Definitely not critical.

> 1) How is sh_entsize relevant when the section flags have SHF_STRINGS set ?

sh_entsize tells the linker the size of a character in a string.  This
permits the linker to correctly handle strings represented in, e.g.,
UTF-16 or UCS-2.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]