bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24709] [arm] linker crash and assertion failure with CMSE


From: clyon at gcc dot gnu.org
Subject: [Bug ld/24709] [arm] linker crash and assertion failure with CMSE
Date: Wed, 26 Jun 2019 14:56:24 +0000

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

--- Comment #3 from Christophe Lyon <clyon at gcc dot gnu.org> ---

> The failing assertion is in elf32_arm_get_stub_entry:
>   BFD_ASSERT (input_section->id <= htab->top_id);
> in this case we have htab->top_id==478 and input_section_id==509
> (input_section is .gnu.sgstubs.__stub)
> 

The problem here is that when elf32_arm_setup_section_lists() allocates the
stub_group, the CMSE stub has not been created yet, and is not part of the
input_bfds, so it's not taken into account.

-- 
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]