Add new directive to GAS: .attach_to_group.
authorNick Clifton <nickc@redhat.com>
Thu, 1 Oct 2020 15:34:05 +0000 (16:34 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 1 Oct 2020 15:34:05 +0000 (16:34 +0100)
commit642f545a93326f570ef4718e9a26c29285943f27
treefef880554b171346c1ddb02e7d3be2788c06de97
parent1f22ee1f72385731cc6511de3b6f1b51c163ecb9
Add new directive to GAS: .attach_to_group.

* config/obj-elf (elf_pseudo_table): Add attach_to_group.
        (obj_elf_attach_to_group): New function.
        * doc/as.texi: Document the new directive.
* NEWS: Mention the new feature.
        * testsuite/gas/elf/attach-1.s: New test.
        * testsuite/gas/elf/attach-1.d: New test driver.
        * testsuite/gas/elf/attach-2.s: New test.
        * testsuite/gas/elf/attach-2.d: New test driver.
        * testsuite/gas/elf/attach-err.s: New test.
        * testsuite/gas/elf/attach-err.d: New test driver.
        * testsuite/gas/elf/attach-err.err: New test error output.
        * testsuite/gas/elf/elf.exp: Run the new tests.
gas/ChangeLog
gas/config/obj-elf.c
gas/doc/as.texi
gas/testsuite/gas/elf/attach-1.d [new file with mode: 0644]
gas/testsuite/gas/elf/attach-1.s [new file with mode: 0644]
gas/testsuite/gas/elf/attach-2.d [new file with mode: 0644]
gas/testsuite/gas/elf/attach-2.s [new file with mode: 0644]
gas/testsuite/gas/elf/attach-err.d [new file with mode: 0644]
gas/testsuite/gas/elf/attach-err.err [new file with mode: 0644]
gas/testsuite/gas/elf/attach-err.s [new file with mode: 0644]
gas/testsuite/gas/elf/elf.exp