converting binary file into object
Alan Modra
amodra@bigpond.net.au
Mon May 20 16:32:00 GMT 2002
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
More information about the Binutils
mailing list