This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1.2 status
- To: law at cygnus dot com
- Subject: Re: egcs-1.1.2 status
- From: Marc Espie <Marc dot Espie at liafa dot jussieu dot fr>
- Date: Fri, 5 Mar 1999 18:26:10 +0100
- Cc: egcs-patches at egcs dot cygnus dot com
- References: <199903051620.RAA00702@quatramaran.ens.fr> <15684.920654208@hurl.cygnus.com>
On Fri, Mar 05, 1999 at 10:16:48AM -0700, Jeffrey A Law wrote:
> Yes, there will be another pre-release snapshot. How else would we know about
> show stoppers :-)
A small bugfix I sent you in private, and which I forgot for egcs-patches.
If you could apply this to both branches... not a large show-stopper, but
it breaks weak symbols very thoroughly. (that's the end of the file).
Fri Mar 5 18:24:08 MET 1999 Marc Espie <espie@cvs.openbsd.org>
* gcc/config/openbsd.h: Resurrect HANDLE_SYSV_PRAGMA, since weak symbols
don't work otherwise.
Index: openbsd.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/openbsd.h,v
retrieving revision 1.1
diff -u -r1.1 openbsd.h
--- openbsd.h 1999/02/18 19:04:30 1.1
+++ openbsd.h 1999/03/05 17:22:54
@@ -300,3 +300,9 @@
#pragma weak. */
#define GTHREAD_USE_WEAK 0
+/* bug work around: we don't want to support #pragma weak, but the current
+ code layout needs HANDLE_PRAGMA_WEAK asserted for __attribute((weak)) to
+ work. On the other hand, we don't define HANDLE_PRAGMA_WEAK directly,
+ as this depends on a few other details as well... */
+#define HANDLE_SYSV_PRAGMA
+
--
Marc Espie
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'