------- Comment #3 from raj dot khem at gmail dot com 2010-06-08 04:53 ------- (In reply to comment #2) > Confirmed, it should do a .text and then a previous. I have closed a bug > where > an inline-asm was not doing this too (see PR 35895). >
another version I had was with pushsection and popsection but then I read that these directives are ELF specific I thought not to use them .previous is also stated ELF specific in GAS manual. if its ok I can redo it with pushsection/popsection -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44461