[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22119] New: mipsel-sde-elf-ld: linker should inform user when .r
From: |
vlad at ivanov dot email |
Subject: |
[Bug ld/22119] New: mipsel-sde-elf-ld: linker should inform user when .reginfo size is wrong |
Date: |
Fri, 08 Sep 2017 20:13:59 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22119
Bug ID: 22119
Summary: mipsel-sde-elf-ld: linker should inform user when
.reginfo size is wrong
Product: binutils
Version: 2.29
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: vlad at ivanov dot email
Target Milestone: ---
When .reginfo section size is zero, the following assert fails:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=bfd/elfxx-mips.c;h=2eb3dd3363cc03755b664f4b436e4e69be016b69;hb=dd9a28c0966d13924fbd1096a724ae334954d830#l14430
Apparently, this can happen when there is no explicit mention of
.reginfo in the linker script. I have encountered this assert
while building a program for mips32r5 target with GCC 7.2.0.
After .reginfo was added to the linker script, I was able to
compile the program normally.
I'm not sure why this assert wasn't triggered before (with GCC 6.4),
but I think this error could yield a more readable message.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/22119] New: mipsel-sde-elf-ld: linker should inform user when .reginfo size is wrong,
vlad at ivanov dot email <=