gas fill section with NOPs
Posted: Fri Sep 16, 2011 12:03 pm
Hello,
I just changed from nasm to the gnu assembler and I wonder how to tell him, that I want to fill up the section until address 0x1FE with NOPs (0x90)? If I use ".align 510, 0x90" he argues there is no power of 2... And in the manual I don't see any possibility to get the current address (by the way: would be useful to know. The '$' dosn't work with the AT&T syntax)
best regards
sebihepp
I just changed from nasm to the gnu assembler and I wonder how to tell him, that I want to fill up the section until address 0x1FE with NOPs (0x90)? If I use ".align 510, 0x90" he argues there is no power of 2... And in the manual I don't see any possibility to get the current address (by the way: would be useful to know. The '$' dosn't work with the AT&T syntax)
best regards
sebihepp