X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Felf%2Fsection7.s;fp=gas%2Ftestsuite%2Fgas%2Felf%2Fsection7.s;h=fe9aaa1040531cc953862843c9d8b7a3ddaca128;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/elf/section7.s b/gas/testsuite/gas/elf/section7.s new file mode 100644 index 0000000..fe9aaa1 --- /dev/null +++ b/gas/testsuite/gas/elf/section7.s @@ -0,0 +1,38 @@ + .section .bar,"a" + .byte 0 +.pushsection .bar1,2,"a" + .byte 2 +.popsection + .byte 0 +.pushsection .bar2,3,"a" + .byte 2 +.popsection + .byte 0 +.pushsection .bar3,2,"a", %progbits + .byte 3 +.popsection + .byte 0 +.pushsection .bar4 + .byte 4 +.popsection + .byte 0 +.pushsection .text,1,"axG",%progbits,foo,comdat + .byte -1 +.popsection + .byte 0 +.pushsection .text,"axG",%progbits,foo,comdat + .byte -2 +.popsection + .byte 0 +.pushsection .bar1,"a" + .byte 1 +.popsection + .byte 0 +.pushsection .bar3,"a", %progbits + .byte 1 +.popsection + .byte 0 +.pushsection .bar2,"a" + .byte 1 +.popsection + .byte 0