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: elf->srec link vs string merging


Hi DJ,

Issuing a warning seems useless as there is nothing the user can do
about it.

My thought was, if we had a choice between silently doing the wrong thing and noisily doing nothing, choose the latter.

It would be better IMO to produce an error (since the output is unusable) and to include the advice that the user link first and then use objcopy afterwards.


I'm just not sure
how to do that cleanly; the alternative is to modify each ELF backend
to check.

Can the srec backend check to see if any of the input sections are mergeable string sections ?


Cheers
  Nick


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