diff options
author | Lulu Cheng <chenglulu@loongson.cn> | 2022-07-29 09:44:52 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2022-07-29 14:58:39 +0800 |
commit | 201e8d9f82444403682cd583ce0a03e3e3dd2b73 (patch) | |
tree | 7821cdc35f8f9f3528c75062fe25b34cf4eb5d49 /libgo/sysinfo.c | |
parent | 0c0feae60aa2f1a29d2624399cbcc6b1a52cc07c (diff) | |
download | gcc-201e8d9f82444403682cd583ce0a03e3e3dd2b73.zip gcc-201e8d9f82444403682cd583ce0a03e3e3dd2b73.tar.gz gcc-201e8d9f82444403682cd583ce0a03e3e3dd2b73.tar.bz2 |
LoongArch: Define the macro ASM_PREFERRED_EH_DATA_FORMAT by checking the assembler's support for eh_frame encoding.
.eh_frame DW_EH_PE_pcrel encoding format is not supported by gas <= 2.39.
Check if the assembler support DW_EH_PE_PCREL encoding and define .eh_frame
encoding type.
gcc/ChangeLog:
* config.in: Regenerate.
* config/loongarch/loongarch.h (ASM_PREFERRED_EH_DATA_FORMAT):
Select the value of the macro definition according to whether
HAVE_AS_EH_FRAME_PCREL_ENCODING_SUPPORT is defined.
* configure: Regenerate.
* configure.ac: Reinstate HAVE_AS_EH_FRAME_PCREL_ENCODING_SUPPORT test.
Diffstat (limited to 'libgo/sysinfo.c')
0 files changed, 0 insertions, 0 deletions