This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
How to use .pushsection?
- From: "Lee Duhem" <lee dot duhem at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 11 Oct 2007 11:30:12 +0800
- Subject: 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