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 section type & objcopy


Hi Nathan,

The attached flag also sets SEC_LINKER_CREATED to force checking the
section name and restores the original behaviour.

Am I heading in the right direction?

Definitely. It seems slightly counter-intuitive to say that a section requested by the user is "linker created", so it would be worth adding a comment to the code explaining why the flag is used. But apart from that your solution seems fine to me.


Cheers
  Nick



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