OSDN Git Service

* config/elfos.h (TARGET_ASM_RECORD_GCC_SWITCHES): Set to elf_record_gcc_switches.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Dec 2006 17:44:10 +0000 (17:44 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Dec 2006 17:44:10 +0000 (17:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119630 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/elfos.h

index 3c98eb1..f09fcd7 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-07  Nick Clifton  <nickc@redhat.com>
+
+       * config/elfos.h (TARGET_ASM_RECORD_GCC_SWITCHES): Set to
+       elf_record_gcc_switches.
+
 2006-12-07  Andrew Macleod  <amacleod@redhat.com>
 
        * expr.c (string_constant): Account for non-zero lower bound arrays.
index 9aa2497..cc27b3f 100644 (file)
@@ -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.  */
+#undef  TARGET_ASM_RECORD_GCC_SWITCHES
+#define TARGET_ASM_RECORD_GCC_SWITCHES elf_record_gcc_switches