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]

PATCH: (boehm-gc) Clarify comment based on feedback


Fergus Henderson privately reviewed (thanks!) a recent boehm-gc patch
I installed on mainline.  Based on his feedback, I applied this:

	* include/private/gcconfig.h (DATAEND): Clarify comment.

Index: include/private/gcconfig.h
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/include/private/gcconfig.h,v
retrieving revision 1.15
diff -c -r1.15 gcconfig.h
*** include/private/gcconfig.h	4 Apr 2002 20:49:38 -0000	1.15
--- include/private/gcconfig.h	9 Apr 2002 01:21:54 -0000
***************
*** 453,458 ****
--- 453,461 ----
   * DATAEND, if not `end' where `end' is defined as ``extern int end[];''.
   * RTH suggests gaining access to linker script synth'd values with
   * this idiom instead of `&end' where `end' is defined as ``extern int end;'' .
+  * Otherwise, ``GCC will assume these are in .sdata/.sbss'' and it will
+  * cause failures on alpha*-*-* with ``-msmall-data or -fpic'' or mips-*-*
+  * or ia64-*-* without any special options.
   *
   * ALIGN_DOUBLE of GC_malloc should return blocks aligned to twice
   * the pointer size.


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