Re: [PATCH v2] gas: support for .pushsection and .popsection pseudo ops for coff

Jan Beulich <[email protected]> Fri, 31 Jul 2026 11:58:54 +0200
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
On 24.07.2026 14:28, Johannes Khoshnazar-Thoma wrote:
> @@ -1898,6 +1932,8 @@ static const pseudo_typeS coff_pseudo_table[] =
>    {"ident", obj_coff_ident, 0},
>    {"line", obj_coff_line, 0},
>    {"ln", obj_coff_ln, 0},
> +  {"pushsection", obj_coff_section, 1},
> +  {"popsection", obj_coff_popsection, 0},
>    {"scl", obj_coff_scl, 0},
>    {"sect", obj_coff_section, 0},
>    {"sect.s", obj_coff_section, 0},

While now you insert at the right spot, what you insert is still the wrong
way round. Beyond this things look okay now as far as these two directives
go, but (to re-state the obvious) support for .previous is still missing.

Jan