[PATCH] MC: Add .section directive to COFF

Anton Korobeynikov anton at korobeynikov.info
Sun Apr 14 13:43:17 PDT 2013


>> I mean now it will be easily possible to write .s which will be
>> accepted by LLVM, but not by GAS.
>
> I am probably missing something on the patch. If there is really a
> case that MC accepts and GAS rejects, then yes, it should be
> documented as an extension.
As far as I understand the patch now there is a possibility to define
section flags for COFF. Which GAS implementes not fully. This is why:
"No changes to the printed flags when generating asm (there also
doesn't seem to be a sane way to make these flags roundtrip)."

Nico, please correct, if I'm wrong.

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list