This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] The behavior of gas .subsection/.previous does not confirm descriptions in document
- From: "Lee Duhem" <lee dot duhem at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 8 Oct 2007 13:39:44 +0800
- Subject: Re: [PATCH] The behavior of gas .subsection/.previous does not confirm descriptions in document
- References: <28049459.1191816806280.JavaMail.root@web02sl> <da43c2e0710072226n59ba254avfa86621c1234499b@mail.gmail.com>
>> .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.
>
I think .previous takes me back to sec1 is more natural, because
for current section sec2, sec1 is the previous section(instead of sec2).
But if the behavior of .subsection/.previous is intended, add some examples
in documents maybe helpful.
lee