On Tue, Jun 5, 2012 at 9:56 AM, Steven Bosscher <stevenb....@gmail.com> wrote:
>> BSS was a later addition and there is no ".bss" pseudo-op directive, >> unlike the ".comm" directive. There only is the BSS storage class. > > Do you know where I could find documentation for how to write out > something with BSS storage class? Is that something that GNU binutils > support, so that I can try it out? GNU Binutils is not up to date for AIX 6.1 and AIX 7.1, so it's support currently is irrelevant because it cannot be used for newer versions of AIX. I seem to remember trying BSS a long time ago and something did not work -- maybe the linker did not merge the section as GCC expected. I don't remember the details of the experiment. BSS is like the .text and .data sections: .csect .text[PR] .csect .data[RW] We can try something like .csect .bss[BS] - David