From owner-p4-projects@FreeBSD.ORG Sun Jan 4 02:11:31 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9883316A4D0; Sun, 4 Jan 2004 02:11:31 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CBB216A4CE for ; Sun, 4 Jan 2004 02:11:31 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AFF043D54 for ; Sun, 4 Jan 2004 02:11:30 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i04ABT0B038581 for ; Sun, 4 Jan 2004 02:11:29 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i04ABT4Y038575 for perforce@freebsd.org; Sun, 4 Jan 2004 02:11:29 -0800 (PST) (envelope-from jmallett@freebsd.org) Date: Sun, 4 Jan 2004 02:11:29 -0800 (PST) Message-Id: <200401041011.i04ABT4Y038575@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett To: Perforce Change Reviews Subject: PERFORCE change 44758 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 10:11:32 -0000 http://perforce.freebsd.org/chv.cgi?CH=44758 Change 44758 by jmallett@jmallett_oingo on 2004/01/04 02:11:15 Simplify, silence warnings now that we can use the right include order in the build. Doesn't seem to change anyting. Affected files ... .. //depot/projects/mips/contrib/gcc/config/mips/freebsd.h#11 edit Differences ... ==== //depot/projects/mips/contrib/gcc/config/mips/freebsd.h#11 (text+ko) ==== @@ -60,27 +60,10 @@ /* No mips-tfile. */ #undef ASM_FINAL_SPEC -/* - * Things assembled are horribly broken with the default of using $ as the - * local label prefix, because that isn't what we use, consistently, so we - * need to hardcode '.' - */ +/* Get the local label prefix right for the ABI or things break bad. */ #undef LOCAL_LABEL_PREFIX -#define LOCAL_LABEL_PREFIX "." - -/* - * Use Dwarf2 for FreeBSD/MIPS. - */ -#define DWARF2_DEBUGGING_INFO -#define MIPS_DEBUGGING_INFO -#undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG - -/* - * Be explicit about the object format we don't want. - */ -#undef OBJECT_FORMAT_COFF - +#define LOCAL_LABEL_PREFIX ((mips_abi == ABI_32 || mips_abi == ABI_O64) \ + ? "$" : ".") /* -G is incompatible with -KPIC which is the default, so only allow objects in the small data section if the user explicitly asks for it. */