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: Accumulation of similar size data items to reduce ROM space.


On Tue, Nov 09, 2004 at 02:07:27PM +0530, Nitin Yewale wrote:
> We would like to put all similar size variables into one section. How can we 
> automate this in compiler?

By providing a suitable select_section function in gcc.  See
TARGET_ASM_SELECT_SECTION and varasm.c

-- 
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]