PERFORCE change 44758 for review
Juli Mallett
jmallett at FreeBSD.org
Sun Jan 4 02:11:32 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=44758
Change 44758 by jmallett at 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. */
More information about the p4-projects
mailing list