Hi Martin,
I thought that was fixed... guess not...
The attributes in a section declaration are "sticky". If you can arrange for Nasm to *first* see "section .data some attributes", subsequent "section .data"s will have the same attributes, without any whining from Nasm. That's how I deal with it. The only "trick" is that the declaration with the attributes has to come first! Dunno if that will help you any...
Best,
Frank
maybe:
%ifdef GOT_SECTION_ATTRIBUTES
section .data
%elif
section .data use32 ; etc...
%define GOT_SECTION_ATTRIBUTES
%endif
???