aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-12-07 17:44:10 +0000
committerNick Clifton <nickc@gcc.gnu.org>2006-12-07 17:44:10 +0000
commitf4ab8916060b271dcfaf2936af09dfd8af44df7e (patch)
tree149fbc65b356b0aaacedfcbc3736887c884b3e94
parente92df3ed9869a1268064225d6b393ef665253600 (diff)
downloadgcc-f4ab8916060b271dcfaf2936af09dfd8af44df7e.zip
gcc-f4ab8916060b271dcfaf2936af09dfd8af44df7e.tar.gz
gcc-f4ab8916060b271dcfaf2936af09dfd8af44df7e.tar.bz2
* config/elfos.h (TARGET_ASM_RECORD_GCC_SWITCHES): Set to elf_record_gcc_switches.
From-SVN: r119630
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/elfos.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3c98eb1..f09fcd7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 9aa2497..cc27b3f 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -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