This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Enabled -frecord-gcc-switches for ELF based targets

Hi Nick,

excuse me if I am getting this wrong but... are you committing these
changes to mainline or to 4.2 branch? I mention this because you added
your project as committed to
. Perhaps you meant to add it to



On 07/12/06, Nick Clifton <> wrote:
Hi Guys,

  Now that the patch to implement -frecord-gcc-switches has been
  checked into the sources, I would like to enable it for ELF based
  targets.  Please may I therefore apply the patch below ?

  Checked by building and testing an x86 native and an arm-eabi cross
  toolchain, with no regressions.


2006-12-07  Nick Clifton  <>

        * config/elfos.h (TARGET_ASM_RECORD_GCC_SWITCHES): Set to

Index: gcc/config/elfos.h
--- gcc/config/elfos.h  (revision 119614)
+++ gcc/config/elfos.h  (working copy)
@@ -499,3 +499,8 @@ Boston, MA 02110-1301, USA.  */
         fprintf ((FILE), "\"\n");                                      \
     }                                                                  \
   while (0)
+/* Allow the use of the -frecord-gcc-switches switch via the
+   elf_record_gcc_switches function defined in varasm.c.  */
+#define TARGET_ASM_RECORD_GCC_SWITCHES elf_record_gcc_switches

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]