From e285b259521d85061e9b4eed074c5fb8ba412280 Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Tue, 9 Apr 2002 01:35:21 +0000 Subject: [PATCH] * include/private/gcconfig.h (DATAEND): Clarify comment. From-SVN: r52054 --- boehm-gc/ChangeLog | 4 ++++ boehm-gc/include/private/gcconfig.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 157adaa780a..896ec3e3bcf 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +2002-04-08 Loren J. Rittle + + * include/private/gcconfig.h (DATAEND): Clarify comment. + 2002-04-08 Hans Boehm * include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix. diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index a3f468f6891..9151a2ff796 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -453,6 +453,9 @@ * 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. -- 2.30.2