bug-binutils
[Top][All Lists]
Advanced

[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]