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 sanitizer/55617] static constructors are not being instrumented correctly on darwin


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

--- Comment #51 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2013-02-04 20:08:34 UTC ---
Author: mrs
Date: Mon Feb  4 20:08:29 2013
New Revision: 195735

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195735
Log:
2013-02-04  Alexander Potapenko <glider@google.com>
            Jack Howarth  <howarth@bromo.med.uc.edu>
            Jakub Jelinek  <jakub@redhat.com>

        PR sanitizer/55617
        * config/darwin.c (sort_ctor_records): Stabilized qsort
        on constructor priority by using original position.
        (finalize_ctors): New routine to sort constructors by
        priority before use in assemble_integer.
        (machopic_asm_out_constructor): Use finalize_ctors if needed.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/darwin.c


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