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: modification section attributes in .elf


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


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