According to GNU as documentation, PowerPC supports two kinds of .gnu_attribute tag to represent the vector and float ABI type in the object file. (https://sourceware.org/binutils/docs-2.35/as/GNU-Object-Attributes.html) Some linkers like GNU ld respects the attribute and will prevent objects with conflicting ABIs being linked.
This patch emits gnu_attribute value in assembly printer according to the float-abi metadata defined in D116016.
Should we name it emitGNUAttributes? or even emitGNUAttributes_ABI_FP