crtbegin.asm (dtor_ptr): Make gp-relative.
authorRichard Henderson <rth@redhat.com>
Sun, 19 Aug 2001 04:46:25 +0000 (21:46 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 19 Aug 2001 04:46:25 +0000 (21:46 -0700)
commit3dff7ed031b733e5472f5d2bc39a3c846c395cbc
treecd88847f7a5719bd529eb801dc84602e7729b9f4
parent213f974a3aefc61c3370525fc379eb54a386167d
crtbegin.asm (dtor_ptr): Make gp-relative.

        * config/ia64/crtbegin.asm (dtor_ptr): Make gp-relative.
        (__do_global_dtors_aux): Update to match.
        (__JCR_LIST__, __do_jv_register_classes): New.
        (.init): Call it.
        * config/ia64/crtend.asm (__JCR_END__): New.
        (__do_global_ctors_aux): Use a GPREL64I reloc to __CTOR_END__
        instead of an indirect LTOFF22 reloc.

From-SVN: r45023
gcc/ChangeLog
gcc/config/ia64/crtbegin.asm
gcc/config/ia64/crtend.asm