[Bug target/46770] New: Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

mh+gcc at glandium dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 2 19:21:00 GMT 2010


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

           Summary: Replace .ctors/.dtors with .init_array/.fini_array on
                    targets supporting them
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mh+gcc@glandium.org


Considering .init_array/.fini_array has been supported by glibc for 11 years (
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=fcf70d4114db9ff7923f5dfeb3fea6e2d623e5c2;hp=3f3822198993be18d4d9ccb1593eea274dbd2ba0
), it would make sense to use these instead of .ctors/.dtors, on systems
supporting them.



More information about the Gcc-bugs mailing list