This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4 PATCH: Provide JCR_SECTION_ASM_OP for crtstuff.c
- From: Richard Henderson <rth at redhat dot com>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Sep 2003 19:08:43 -0700
- Subject: Re: 3.4 PATCH: Provide JCR_SECTION_ASM_OP for crtstuff.c
- References: <16232.44763.405011.494842@xayide.TechFak.Uni-Bielefeld.DE>
On Wed, Sep 17, 2003 at 08:58:35PM +0200, Rainer Orth wrote:
> Since the native IRIX 6 O32 assembler doesn't support named sections, I had
> to use a hack to get crtstuff.c compiled into crtbegin.o/crtend.o even for
> the O32 ABI: the file is needed for the N32/N64 ABIs and I saw no easy way
> to disable it selectively, so I did the following: while I could provide
> dummy definitions of [CD]TORS_SECTION_ASM_OP, __JCR_LIST__/__JCR_END__
> always used section(JCR_SECTION_NAME). I've changed them like the others
> to optionally use JCR_SECTION_ASM_OP ;-)
If what you're trying to do is disable use of the JCR section entirely
in crtstuff, do that. This, however, is Just Wrong.
r~