bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/31458] New: FAIL: MIPS eh-frame 3 with --no-keep-memory


From: hjl.tools at gmail dot com
Subject: [Bug ld/31458] New: FAIL: MIPS eh-frame 3 with --no-keep-memory
Date: Thu, 07 Mar 2024 16:06:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31458

            Bug ID: 31458
           Summary: FAIL: MIPS eh-frame 3 with --no-keep-memory
           Product: binutils
           Version: 2.43 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: macro at orcam dot me.uk, paul.hua.gm at gmail dot com
  Target Milestone: ---
            Target: mipstx39-elf

When --no-keep-memory is enabled, mipstx39-elf reports:

FAIL: MIPS eh-frame 3

due to this code in
bfd/elfxx-mips.c:_bfd_mips_elf_eh_frame_address_size to fail:

      if (sec->reloc_count > 0
          && elf_section_data (sec)->relocs != NULL
          && (ELF32_R_TYPE (elf_section_data (sec)->relocs[0].r_info)
              == R_MIPS_64))
        return 8;

elf_section_data (sec)->relocs is NULL with --no-keep-memory.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]