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

--- Comment #2 from Sam James <sam at gentoo dot org> ---
```

Program received signal SIGSEGV, Segmentation fault.
riscv_elf_relocate_section (output_bfd=output_bfd@entry=0x555555855df0,
info=0x55555584e7f8 <link_info>, input_bfd=input_bfd@entry=0x5555562e7fb0,
    input_section=input_section@entry=0x55555642a258, contents=0x5555575f9f90
"yq\"\360&\354J\350N\344Rຄ\006\364}\0272\212.\2116\204\276\211c", <incomplete
sequence \307>,
    relocs=relocs@entry=0x555556df7ef0,
local_syms=local_syms@entry=0x7ffff6bdd010, local_sections=0x7ffff576b010) at
/home/sam/git/binutils-gdb/bfd/elfnn-riscv.c:2786
2786              if (h->root.type == bfd_link_hash_undefweak && !via_plt)
(gdb) bt
#0  riscv_elf_relocate_section (output_bfd=output_bfd@entry=0x555555855df0,
info=0x55555584e7f8 <link_info>, input_bfd=input_bfd@entry=0x5555562e7fb0,
    input_section=input_section@entry=0x55555642a258, contents=0x5555575f9f90
"yq\"\360&\354J\350N\344Rຄ\006\364}\0272\212.\2116\204\276\211c", <incomplete
sequence \307>,
    relocs=relocs@entry=0x555556df7ef0,
local_syms=local_syms@entry=0x7ffff6bdd010, local_sections=0x7ffff576b010) at
/home/sam/git/binutils-gdb/bfd/elfnn-riscv.c:2786
#1  0x00007ffff7f4c8e8 in elf_link_input_bfd
(flinfo=flinfo@entry=0x7fffffffefe8, input_bfd=input_bfd@entry=0x5555562e7fb0)
at /home/sam/git/binutils-gdb/bfd/elflink.c:11900
#2  0x00007ffff7f4d71a in bfd_elf_final_link (abfd=0x555555855df0,
info=0x55555584e7f8 <link_info>) at
/home/sam/git/binutils-gdb/bfd/elflink.c:13159
#3  0x000055555557cfb0 in ldwrite () at
/home/sam/git/binutils-gdb/ld/ldwrite.c:548
#4  0x000055555557bd9e in main (argc=<optimized out>, argv=<optimized out>) at
/home/sam/git/binutils-gdb/ld/ldmain.c:561
(gdb) p h
$1 = (struct elf_link_hash_entry *) 0x0
```

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

Reply via email to