[Bug other/49325] New: Incorrect target HAVE_INITFINI_ARRAY check

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 8 16:31:00 GMT 2011


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

           Summary: Incorrect target HAVE_INITFINI_ARRAY check
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com


HAVE_INITFINI_ARRAY support was added by:

http://gcc.gnu.org/ml/gcc-patches/2002-11/msg00387.html

Unfortunately, it checks if host supports init_array/fini_array
sections, not target.  It will generate wrong result
for cross compiler.



More information about the Gcc-bugs mailing list