modification section attributes in .elf
Alan Modra
amodra@bigpond.net.au
Thu Aug 7 06:17:00 GMT 2008
On Thu, Aug 07, 2008 at 10:49:59AM +1000, Tehn Yit Chin wrote:
> Is there another way of changing the section attribute either via gcc,
> gas or ld so that I don't have modify the attribute using objcopy?
You can start out with the correct section attributes using something
like
.section .boot_identifier,"a",@progbits
in an assembly file.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list