How to use .pushsection?
Nick Clifton
nickc@redhat.com
Fri Oct 12 03:16:00 GMT 2007
Hi Lee,
> The document says
>
> `.pushsection NAME , SUBSECTION'
I have applied the attached patch to fix the behaviour of the assembler so that
it conforms to this documentation.
Cheers
Nick
gas/ChangeLog
2007-10-11 Nick Clifton <nickc@redhat.com>
* config/obj-elf.c (obj_elf_section): When pushing a section, if
there is a a comma then the following argument must be a
subsection number.
gas/testsuite/ChangeLog
2007-10-11 Nick Clifton <nickc@redhat.com>
* gas/elf/elf.exp (run_elf_list_test): Run section6 test.
* gas/elf/section6.s: New file: Check behaviour of .pushsection
with a subsection argument.
* gas/elf/section6.d: New file: Expected disassembly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pushsection.patch
Type: text/x-patch
Size: 2186 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20071012/fef16032/attachment.bin>
More information about the Binutils
mailing list