LoongArch: Update ABI eflag in elf header.
authorliuzhensong <liuzhensong@loongson.cn>
Mon, 21 Feb 2022 06:28:29 +0000 (14:28 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Sun, 20 Mar 2022 01:37:12 +0000 (09:37 +0800)
commit3b14682a432e61c756ec9ad0b5bf5f8136e2cdce
treef6902033039cad8bc0a80090702d2c8e149f6145
parent1848a40fdd134c5579e743d93f1ca9acc0b4b486
LoongArch: Update ABI eflag in elf header.

  Update LoongArch ABI eflag in elf header.
    ilp32s  0x5
    ilp32f  0x6
    ilp32d  0x7
    lp64s   0x1
    lp64f   0x2
    lp64d   0x3

  bfd/
    * elfnn-loongarch.c Check object flags while ld.

  gas/
    * tc-loongarch.c Write eflag to elf header.

  include/elf
        * loongarch.h Define ABI number.
bfd/elfnn-loongarch.c
gas/config/tc-loongarch.c
include/elf/loongarch.h