@whitequark Funny I commented on a GCC bug report 2 weeks ago about how to support this pragma:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39437
I didn't know clang did it in a .note section but since it does, GCC's emitting into the same note section should be done.
I wonder what section is done for pecoff object files now ...