This is the mail archive of the gcc@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: mips: -G0 vs __dso_handle


DJ Delorie <dj@redhat.com> writes:

>> I'll pre-approve that change, but I'll also defer to any other
>> maintainer who has a solution they prefer.
>
> How about this one?
>
> 2006-05-15  DJ Delorie  <dj@redhat.com>
>
> 	* crtstuff.c (__dso_handle): Set section from
> 	TARGET_LBIGCC_SDATA_SECTION if defined.
> 	* doc/tm.text (TARGET_LIBGCC_SDATA_SECTION): Document.
> 	* config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.

Doesn't build.  Obvious patch installed.

Andreas.

2006-05-16  Andreas Schwab  <schwab@suse.de>

	* doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
	defmac.

Index: tm.texi
===================================================================
--- tm.texi	(revision 113820)
+++ tm.texi	(working copy)
@@ -1,5 +1,5 @@
 @c Copyright (C) 1988,1989,1992,1993,1994,1995,1996,1997,1998,1999,2000,2001,
-@c 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+@c 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 @c This is part of the GCC manual.
 @c For copying conditions, see the file gcc.texi.
 
@@ -6228,6 +6228,7 @@ MIPS), you could compile crtstuff with @
 require small data support from your application, but use this macro
 to put small data into @code{.sdata} so that your application can
 access these variables whether it uses small data or not.
+@end defmac
 
 @defmac FORCE_CODE_SECTION_ALIGN
 If defined, an ASM statement that aligns a code section to some

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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