summaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-03-09 11:53:16 +1030
committerAlan Modra <amodra@gmail.com>2023-03-10 21:22:16 +1030
commit75bd292bea53d6ce8de66f30d67c2edb4a558110 (patch)
tree82b642338ab4ecb6404ea72442d4d40e5a3cb64b /ld/ldlang.c
parent36ba37c085438d23de2289ea17b56e7b91d1c5c5 (diff)
downloadbinutils-gdb-75bd292bea53d6ce8de66f30d67c2edb4a558110.tar.gz
Revert ld DIGEST support
This is a hopefully temporary reversion of new ld features for embedded processors by Ulf Samuelsson, plus some followup patches. Squashed together from the following: Revert "lddigest 32-bit support and gcc-4 compile errors" This reverts commit d7ee19be87110a8f5342cec6e323d83d01c641d1. Revert "ld: Use correct types for crc64 calculations" This reverts commit 9a534b9f8e3d0f3cdb5a20f19ff165693fbb84d2. Revert "Re: DIGEST: testsuite" This reverts commit c8e85484d8a0fe9f7b88e00a6b9ae63bcb53ba32. Revert "Regen potfiles" This reverts commit 4d98c966f8bf305ab25badd34cb295631873cf7c. Revert "DIGEST: Makefile.*" This reverts commit 78ef6ab03f56ce83a606d974bb8a9f34b5d6e0b7. Revert "DIGEST: calculation" This reverts commit 5243990191e683d5066d3dd622c76deaba0bf15c. Revert "DIGEST: ldlang.*: add timestamp" This reverts commit bd9466d4aa277a469a9d8b12f0a6e6fa51678e36. Revert "DIGEST: ldmain.c" This reverts commit c8f8653fa7eeb3dc0769ac23039eadb5c5f09dff. Revert "DIGEST: ldgram.y" This reverts commit d73c01be2669e9c5267fab669a269f95a32048c9. Revert "DIGEST: ldlex.l" This reverts commit 48b5163a9dd5759cc87171331bbd6e902c547b5a. Revert "DIGEST: testsuite" This reverts commit a4135d1a4886400ea29af2da782dd8dd40ccad23. Revert "DIGEST: Documentation" This reverts commit 3ec28966c3e4c63704212778f96c517cbf2e0090. Revert "DIGEST: NEWS" This reverts commit 099bf2927d446424e8585a60cf4ce63209999aa2. Revert "DIGEST: LICENSING" This reverts commit 5c8a0c6654fb55926985edf3b360b62d4f20691d.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 77917027f83..295de015da9 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -20,7 +20,6 @@
#include "sysdep.h"
#include <limits.h>
-#include <time.h>
#include "bfd.h"
#include "libiberty.h"
#include "filenames.h"
@@ -8521,13 +8520,6 @@ lang_add_string (size_t size, const char *s)
free (string);
}
-/* Store the time of linking in the image */
-void
-lang_add_timestamp (void)
-{
- lang_add_data (QUAD, exp_intop ((bfd_vma) time (0)));
-}
-
/* Create a new reloc statement. RELOC is the BFD relocation type to
generate. HOWTO is the corresponding howto structure (we could
look this up, but the caller has already done so). SECTION is the