How to use .pushsection?

Lee Duhem lee.duhem@gmail.com
Thu Oct 11 04:22:00 GMT 2007


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



More information about the Binutils mailing list