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: How can I include .symtab and .strtab into .data?


On Thu, Aug 20, 2015 at 05:16:44PM -0700, Yuri Zilber wrote:
> How can I include content of .symtab and .strtab into .data section
> (or loadable segment) using linker script?

You can't.

> Have I use objcopy?

Sorry, objcopy won't help either.  .symtab and .strtab aren't treated
as normal sections by the BFD library.

-- 
Alan Modra
Australia Development Lab, IBM


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