[PATCH 1/2]: bfd: remove unused NO_WRITE_HEADER_KLUDGE #define
Gunther Nikl
gnikl@justmail.de
Tue May 26 16:14:40 GMT 2020
NO_WRITE_HEADER_KLUDGE is defined but nowhere used. It seems that this
define is dead for a very long time. I was unable to find a binutils
version using this define.
2020-05-XX Gunther Nikl <gnikl@justmail.de>
* i386aout.c (NO_WRITE_HEADER_KLUDGE): Delete define.
* libaout.h (NO_WRITE_HEADER_KLUDGE): Do not define.
diff --git a/bfd/i386aout.c b/bfd/i386aout.c
index 694301b5bb..61e0306f8d 100644
--- a/bfd/i386aout.c
+++ b/bfd/i386aout.c
@@ -38,7 +38,6 @@
the tokens. */
#define MY(OP) CONCAT2 (i386_aout_,OP)
#define TARGETNAME "a.out-i386"
-#define NO_WRITE_HEADER_KLUDGE 1
#include "sysdep.h"
#include "bfd.h"
diff --git a/bfd/libaout.h b/bfd/libaout.h
index 61746db243..8e62072741 100644
--- a/bfd/libaout.h
+++ b/bfd/libaout.h
@@ -609,9 +609,6 @@ extern bfd_boolean NAME (aout, bfd_free_cached_info)
#define aout_32_get_section_contents _bfd_generic_get_section_contents
#define aout_64_get_section_contents _bfd_generic_get_section_contents
-#ifndef NO_WRITE_HEADER_KLUDGE
-#define NO_WRITE_HEADER_KLUDGE 0
-#endif
#ifndef aout_32_bfd_is_local_label_name
#define aout_32_bfd_is_local_label_name bfd_generic_is_local_label_name
More information about the Binutils
mailing list