]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
bfd: Delete R_LARCH_NONE from dyn info of LoongArch.
authorliuzhensong <liuzhensong@loongson.cn>
Wed, 20 Jul 2022 11:55:27 +0000 (19:55 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Mon, 25 Jul 2022 01:59:08 +0000 (09:59 +0800)
commit9801120721c3a702ce3bd50433ef920f92a83502
treea4636cc25aac46f15fc1e7d7d62ce9573057b956
parentbc2a35c0b48a93db21af2e7c429dc83828c672c8
bfd: Delete R_LARCH_NONE from dyn info of LoongArch.

  Some R_LARCH_64 in section .eh_frame will to generate
  R_LARCH_NONE, we change relocation to R_LARCH_32_PCREL
  from R_LARCH_64 in setction .eh_frame and not generate
  dynamic relocation for R_LARCH_32_PCREL.

  Add New relocate type R_LARCH_32_PCREL for .eh_frame.

  include/elf/
    loongarch.h

  bfd/
    bfd/bfd-in2.h
    libbfd.h
    reloc.c
    elfxx-loongarch.c
    elfnn-loongarch.c

  gas/config/
    tc-loongarch.c

  binutils/
    readelf.c

  ld/testsuite/ld-elf/
    eh5.d
bfd/bfd-in2.h
bfd/elfnn-loongarch.c
bfd/elfxx-loongarch.c
bfd/libbfd.h
bfd/reloc.c
binutils/readelf.c
include/elf/loongarch.h
ld/testsuite/ld-elf/eh5.d