aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamError.cpp
diff options
context:
space:
mode:
authorQiu Chaofan <qiucofan@cn.ibm.com>2022-01-26 13:23:21 +0800
committerQiu Chaofan <qiucofan@cn.ibm.com>2022-01-26 13:28:50 +0800
commitad0345aed1e76f98c6ad55372b675c5647e16d28 (patch)
treeecabf93cc996ebe7865a70cb558a092459167b2e /llvm/lib/Support/BinaryStreamError.cpp
parentf65651cc8aa87ba3a505ba3edebf81a9797685a2 (diff)
downloadllvm-ad0345aed1e76f98c6ad55372b675c5647e16d28.zip
llvm-ad0345aed1e76f98c6ad55372b675c5647e16d28.tar.gz
llvm-ad0345aed1e76f98c6ad55372b675c5647e16d28.tar.bz2
[PowerPC] Emit gnu_attribute according to float-abi metadata
According to GNU as documentation, PowerPC supports some .gnu_attribute tags to represent the vector and float ABI type in the object file. 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. More attributes for soft-fp, hard single/double and even vector ABI need to be supported in the future. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D117193
Diffstat (limited to 'llvm/lib/Support/BinaryStreamError.cpp')
0 files changed, 0 insertions, 0 deletions