This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: Enable -frecord-gcc-switches for the MN10300
- From: Nick Clifton <nickc at redhat dot com>
- To: law at redhat dot com, aoliva at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 07 Dec 2006 11:34:28 +0000
- Subject: RFA: Enable -frecord-gcc-switches for the MN10300
Hi Jeff, Hi Alex,
May I apply the patch below to enable the -frecord-gcc-switches
switch for the MN10300 port ? A discussion of this new feature can
be found starting here:
http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00211.html
Cheers
Nick
gcc/ChangeLog
2006-12-07 Nick Clifton <nickc@redhat.com>
* config/mn10300/mn10300.c (TARGET_ASM_RECORD_GCC_SWITCHES):
Set to elf_record_gcc_switches.
Index: gcc/config/mn10300/mn10300.c
===================================================================
--- gcc/config/mn10300/mn10300.c (revision 119614)
+++ gcc/config/mn10300/mn10300.c (working copy)
@@ -116,6 +116,9 @@ static int mn10300_arg_partial_bytes (CU
#undef TARGET_EXPAND_BUILTIN_SAVEREGS
#define TARGET_EXPAND_BUILTIN_SAVEREGS mn10300_builtin_saveregs
+#undef TARGET_ASM_RECORD_GCC_SWITCHES
+#define TARGET_ASM_RECORD_GCC_SWITCHES elf_record_gcc_switches
+
static void mn10300_encode_section_info (tree, rtx, int);
struct gcc_target targetm = TARGET_INITIALIZER;