Date: Sun, 4 Jan 2004 02:11:29 -0800 (PST) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 44758 for review Message-ID: <200401041011.i04ABT4Y038575@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401041011.i04ABT4Y038575>