[all-commits] [llvm/llvm-project] 742147: [llvm-objcopy][libObject] Add RISC-V big-endian su...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Thu Jul 17 01:36:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 742147ba1bb26d7a69d4289b6ad9a07bd019a2ae
      https://github.com/llvm/llvm-project/commit/742147ba1bb26d7a69d4289b6ad9a07bd019a2ae
  Author: Djordje Todorovic <djordje.todorovic at htecgroup.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M clang/test/Driver/frame-pointer-elim.c
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/Object/RelocationResolver.cpp
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/test/tools/llvm-objcopy/ELF/binary-output-target.test
    M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
    M llvm/unittests/Object/ELFObjectFileTest.cpp

  Log Message:
  -----------
  [llvm-objcopy][libObject] Add RISC-V big-endian support (#146913)

Add support for big-endian RISC-V ELF files:
  - Add riscv32be/riscv64be target architectures to Triple
- Support elf32-bigriscv and elf64-bigriscv output targets in
llvm-objcopy
- Update ELFObjectFile to handle BE RISC-V format strings and
architecture detection
  - Add BE RISC-V support to RelocationResolver
  - Add tests for new functionality

This is a subset of a bigger RISC-V big-endian support patch, containing
only the llvm-objcopy and libObject changes. Other changes will be added
later.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list