* config/obj-elf.c (obj_elf_section): When pushing a section, if there is a
commit46031934c24c1cfb13bb03f3039cfd15f0d460e5
authorNick Clifton <nickc@redhat.com>
Thu, 11 Oct 2007 20:20:55 +0000 (11 20:20 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 11 Oct 2007 20:20:55 +0000 (11 20:20 +0000)
treeb6213e0dc3956aaf881b605495f1bbc8de65f354
parentca60d3c74bdcaf9a06223e6313b809d29ae19b24
* config/obj-elf.c (obj_elf_section): When pushing a section, if there is a
  comma then the following argument must be a subsection number.
* testsuite/gas/elf/elf.exp (run_elf_list_test): Run section6 test.
* testsuite/gas/elf/section6.s: New file: Check behaviour of .pushsection with a subsection argument.
* testsuite/gas/elf/section6.d: New file: Expected disassembly.
gas/ChangeLog
gas/config/obj-elf.c
gas/testsuite/ChangeLog
gas/testsuite/gas/elf/elf.exp
gas/testsuite/gas/elf/section6.d [new file with mode: 0644]
gas/testsuite/gas/elf/section6.s [new file with mode: 0644]