This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to use .pushsection?


The document says

        `.pushsection NAME , SUBSECTION'

           This directive pushes the current section (and subsection) onto the
        top of the section stack, and then replaces the current section and
        subsection with `name' and `subsection'.

but when assembling the following sentences:

        .section sec1

        .pushsection sec2,1

gas complaining

        t.s: Assembler messages:
        t.s:3: Error: character following name is not '#'

What's this error mean? Did I misunderstood some thing?

lee


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]