From owner-freebsd-hackers Thu Jun 22 10:35:15 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA18172 for hackers-outgoing; Thu, 22 Jun 1995 10:35:15 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA18166 for ; Thu, 22 Jun 1995 10:35:12 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id DAA06679; Fri, 23 Jun 1995 03:33:32 +1000 Date: Fri, 23 Jun 1995 03:33:32 +1000 From: Bruce Evans Message-Id: <199506221733.DAA06679@godzilla.zeta.org.au> To: charnier@lirmm.fr, terry@cs.weber.edu Subject: Re: gcc 2.7.0 Cc: hackers@freebsd.org Sender: hackers-owner@freebsd.org Precedence: bulk >BTW. A full rebuild of the 2.7.0 sources on SunOS 4.1.3 (as in their >example in the INSTALL (did *not* result in a .weak complaint). .weak is only used if ASM_WEAKEN_LABEL() is defined. It is only defined in i386/freebsd.h (although FreeBSD doesn't support it), i386/osfrose.h, m88k/m88k.h, netbsd.h and svr4.h. It is to support the __weak attribute (which gives aliased symbols). I think use of this attribute is optional. It can easily be implemented in an unportable way using stabs. libgcc2 uses it if it is available. Bruce