This is the mail archive of the gcc-patches@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]

Re: 3.4 PATCH: Provide JCR_SECTION_ASM_OP for crtstuff.c


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~


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