[PATCH] The behavior of gas .subsection/.previous does not confirm descriptions in document

amodra@bigpond.net.au amodra@bigpond.net.au
Mon Oct 8 05:09:00 GMT 2007


---- Lee Duhem <lee.duhem@gmail.com> wrote: 
>         .section sec1
>         .long 0x11111111
> 
>         .subsection 1
>         .long 0x22222222
> 
>         .pushsection sec2
>         .subsection 1
>         .long 0x66666666
>         .long 0x77777777

Here we are in sec2, subsection 1.

>         .subsection 0
>         .long 0x55555555

Now we are in sec2, subsection 0.

>         .previous

So .previous takes you back to sec2, subsection 1.

>         .long 0x33333333



More information about the Binutils mailing list