[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24389] can't link soft-float modules with double-float modules
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/24389] can't link soft-float modules with double-float modules |
Date: |
Tue, 02 Apr 2019 20:32:08 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24389
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Jim Wilson <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=87f98bacb76001157d5a26555a41738ac3841a56
commit 87f98bacb76001157d5a26555a41738ac3841a56
Author: Jim Wilson <address@hidden>
Date: Tue Apr 2 13:30:07 2019 -0700
RISC-V: Don't check ABI flags if no code section.
This fixes a glib build failure reported in PR 24389. Using ld -b binary
creates an object file with no elf header flags set which has the wrong ABI
info for riscv64-linux. But the file also has no code sections, so I added
code borrowed from the arm port that only checks the ELF header ABI flags
if
there is a code section.
bfd/
PR 24389
* elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
ELF header flags to after check for ELF object file. Loop through
sections looking for code sections, if none, then skip ABI checks.
--
You are receiving this mail because:
You are on the CC list for the bug.