This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: (boehm-gc) Clarify comment based on feedback
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 8 Apr 2002 20:36:20 -0500 (CDT)
- Subject: PATCH: (boehm-gc) Clarify comment based on feedback
- Reply-to: rittle at labs dot mot dot com
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.