This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/15647] New: libgcc_s.so should not contain/expose millicode functions


Various millicode functions for NetBSD/sh3 and Linux/sh3 are added to 
libgcc_s.so which should not happen as these routines cannot be called via the 
PLT. An example of this sort of function is __umodsi3. 
 
mklibgcc.in copies all libgcc1 and libgcc2 functions into libgcc_s.so and the 
standard version script exports the symbols. 
 
Possible fixes are 
 
- to not include the objects in libgcc_s.so 
- create a sh3 specific version script that excludes the millicode functions

-- 
           Summary: libgcc_s.so should not contain/expose millicode
                    functions
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: skrll at netbsd dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sh*-unknown-netbsdelf
  GCC host triplet: sh*-unknown-netbsdelf
GCC target triplet: sh*-unknown-netbsdelf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15647


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]