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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to