This is the mail archive of the binutils@sources.redhat.com 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: converting binary file into object


On Sun, May 19, 2002 at 07:18:46PM +0200, Christian Groessler wrote:
> Now my question: How can I set the .rodata section flags to include
> READONLY

objcopy --set-section-flags

> and how can I set it's alignment to 4  (2**2)?

Include another object file in the link with a .rodata section having
your required alignment.  An empty .rodata might even work.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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