diff options
Diffstat (limited to 'gcc/config/ia64/crtend.asm')
-rw-r--r-- | gcc/config/ia64/crtend.asm | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/config/ia64/crtend.asm b/gcc/config/ia64/crtend.asm index 17c3be41d89..303f30cbce8 100644 --- a/gcc/config/ia64/crtend.asm +++ b/gcc/config/ia64/crtend.asm @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. Contributed by Jes Sorensen, <Jes.Sorensen@cern.ch> The GNU C Library is free software; you can redistribute it and/or @@ -33,12 +33,7 @@ __DTOR_END__: __JCR_END__: data8 0 -#ifdef HAVE_INITFINI_ARRAY - -.section .init_array,"a","progbits" - data8 @fptr(__do_global_ctors_aux) - -#else /* !HAVE_INITFINI_ARRAY */ +#ifndef HAVE_INITFINI_ARRAY /* * Fragment of the ELF _init routine that invokes our dtor cleanup. * @@ -71,6 +66,12 @@ __JCR_END__: .text .align 16 +#ifdef HAVE_INITFINI_ARRAY + /* This is referenced from crtbegin.o. */ + .globl __do_global_ctors_aux# + .type __do_global_ctors_aux#,@function + .hidden __do_global_ctors_aux# +#endif .proc __do_global_ctors_aux# __do_global_ctors_aux: /* |