]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: ppc: drop use of DATE & TIME
authorMike Frysinger <vapier@gentoo.org>
Thu, 3 Nov 2022 13:06:01 +0000 (20:06 +0700)
committerMike Frysinger <vapier@gentoo.org>
Thu, 3 Nov 2022 13:09:07 +0000 (20:09 +0700)
No other tool does this, sim or otherwise, and it makes the ppc build
non-reproducible.  Drop it to simplify & make reproducible.

sim/ppc/options.c

index 8aefcb16a6a300ed91b30f4131752750fd6d9148..b74451392b2777de86a09d84e98e121d2746be29 100644 (file)
@@ -110,12 +110,6 @@ INLINE_OPTIONS\
 (void)
 print_options (void)
 {
-#if defined(_GNUC_) && defined(__VERSION__)
-  printf_filtered ("Compiled by GCC %s on %s %s\n", __VERSION__, __DATE__, __TIME__);
-#else
-  printf_filtered ("Compiled on %s %s\n", __DATE__, __TIME__);
-#endif
-
   printf_filtered ("HOST_BYTE_ORDER          = %s\n", options_byte_order (HOST_BYTE_ORDER));
   printf_filtered ("WITH_TARGET_BYTE_ORDER   = %s\n", options_byte_order (WITH_TARGET_BYTE_ORDER));
   printf_filtered ("WITH_XOR_ENDIAN          = %d\n", WITH_XOR_ENDIAN);