[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/23304] ARM linker fails to combine identical typeinfo sections
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/23304] ARM linker fails to combine identical typeinfo sections |
Date: |
Tue, 19 Jun 2018 11:35:10 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23304
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Right - this is an ARM API issue.
If you compile with the default API for ARM (the AAPCS) then you get
global typeinfo symbols because:
/* \S 3.2.5.4 of the ARM C++ ABI says that class data only have
vague linkage if the class has no key function. */
This is from gcc/config/arm/arm.c:arm_cxx_class_data_always_comdat().
If you compile with a different API, eg apcs-gnu, then you get weak
linkage for typeinfo symbols.
Either way this is not a binutils bug, so I am closing this BZ.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/23304] New: ARM linker fails to combine identical typeinfo sections, nickc at redhat dot com, 2018/06/18
- [Bug ld/23304] ARM linker fails to combine identical typeinfo sections, pbrobinson at gmail dot com, 2018/06/18
- [Bug ld/23304] ARM linker fails to combine identical typeinfo sections, ccoutant at gmail dot com, 2018/06/18
- [Bug ld/23304] ARM linker fails to combine identical typeinfo sections, belegdol at gmail dot com, 2018/06/19
- [Bug ld/23304] ARM linker fails to combine identical typeinfo sections, nickc at redhat dot com, 2018/06/19
- [Bug ld/23304] ARM linker fails to combine identical typeinfo sections, nickc at redhat dot com, 2018/06/19
- [Bug ld/23304] ARM linker fails to combine identical typeinfo sections,
nickc at redhat dot com <=