[v3] std::string::_S_construct for 64bit size_t

Benjamin Kosnik bkoz@redhat.com
Wed Nov 13 10:27:00 GMT 2002


Jakub pointed out to me that the current link map for libstdc++ symbol
versioning is missing a symbol on ia64 and alpha. This situation is
easily resolved by the following patch.

Mark, this needs to go into the gcc-3_2-branch as well, or else ia64
and alpha libstdc++ will break the ABI. Sorry.

-benjamin

tested x86/linux
tested x86/linux gcc-3_2-branch

2002-11-13  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Export all _S_construct.

Index: config/linker-map.gnu
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/config/linker-map.gnu,v
retrieving revision 1.22
diff -c -p -r1.22 linker-map.gnu
*** config/linker-map.gnu	4 Nov 2002 22:57:00 -0000	1.22
--- config/linker-map.gnu	13 Nov 2002 18:23:51 -0000
*************** GLIBCPP_3.2 {
*** 80,87 ****
      _ZNSs12_S_empty_repEv;
      _ZNSs20_S_empty_rep_storageE;
      _ZNSbIwSt11char_traitsIwESaIwEE20_S_empty_rep_storageE;
!     _ZNSs12_S_constructEjcRKSaIcE;
!     _ZNSs13_S_copy_chars*;
      _ZNSbIwSt11char_traitsIwESaIwEE[A-Ra-z]*;
      _ZNSbIwSt11char_traitsIwESaIwEE[0-9][A-Ra-z]*;
      _ZNSbIwSt11char_traitsIwESaIwEE[0-9][0-9][A-Ra-z]*;
--- 80,87 ----
      _ZNSs12_S_empty_repEv;
      _ZNSs20_S_empty_rep_storageE;
      _ZNSbIwSt11char_traitsIwESaIwEE20_S_empty_rep_storageE;
!     _ZNSs12_S_constructE*;
!     _ZNSs13_S_copy_charsE*;
      _ZNSbIwSt11char_traitsIwESaIwEE[A-Ra-z]*;
      _ZNSbIwSt11char_traitsIwESaIwEE[0-9][A-Ra-z]*;
      _ZNSbIwSt11char_traitsIwESaIwEE[0-9][0-9][A-Ra-z]*;



More information about the Gcc-patches mailing list