aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-08-07 07:39:54 -0700
committerH.J. Lu <hjl.tools@gmail.com>2025-08-07 07:39:54 -0700
commit1d4757b724abf2043f67fd86ff4cf3fab90bdd3b (patch)
treeb71d28926fe95088dfe8a98c4187493935244eb8
parent97b6ffe44b98479f991ab38b4c59f4fd0f30198e (diff)
downloadbinutils-1d4757b724abf2043f67fd86ff4cf3fab90bdd3b.zip
binutils-1d4757b724abf2043f67fd86ff4cf3fab90bdd3b.tar.gz
binutils-1d4757b724abf2043f67fd86ff4cf3fab90bdd3b.tar.bz2
ldlang.c: Don't include "elf-bfd.h" twice
* ldlang.c: Don't include "elf-bfd.h" twice. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
-rw-r--r--ld/ldlang.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 6e31c35..fc7a7d2 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -44,14 +44,10 @@
#include "elf-bfd.h"
#include "bfdver.h"
#include <errno.h>
-
#if BFD_SUPPORTS_PLUGINS
#include "plugin.h"
#endif
-/* FIXME: Put it here to avoid NAME conflict from ldgram.h. */
-#include "elf-bfd.h"
-
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) & (((TYPE*) 0)->MEMBER))
#endif