Ensuring section size is multiple of 4

Jan Tlatlik jtlatlik@techfak.uni-bielefeld.de
Mon Apr 22 12:12:00 GMT 2013


Hey,

I have ported GAS for a new architecture. Since I only can do aligned
loads and stores on this architecture and I'm testing with a simulator,
I need GAS to emit only data sections with sizes being multiples of 4.
The unused space can be filled with zeros.

How can I do this? I didn't find anything about that in the mailing list
archives.
Is there a macro or a hook, called at the end, which I could use?

Greetings,
Jan



More information about the Binutils mailing list