aboutsummaryrefslogtreecommitdiff
path: root/bfd/libaout.h
diff options
context:
space:
mode:
authorGunther Nikl <gnikl@justmail.de>2020-06-03 15:24:58 +0100
committerNick Clifton <nickc@redhat.com>2020-06-03 15:24:58 +0100
commit0bff75284e1067e22cbe88fad672362db06f22ee (patch)
treec3374d8a516b9800ad84481903259460ed3aae07 /bfd/libaout.h
parentd49e5065ed43ec88627fd8cc6ab9e45fcc0e538a (diff)
downloadgdb-0bff75284e1067e22cbe88fad672362db06f22ee.zip
gdb-0bff75284e1067e22cbe88fad672362db06f22ee.tar.gz
gdb-0bff75284e1067e22cbe88fad672362db06f22ee.tar.bz2
This patch set for the generic BFD a.out backend removes a dead #define and makes aoutx.h self-contained: [PATCH 1/2]: bfd: remove unused NO_WRITE_HEADER_KLUDGE #define [PATCH 2/2]: bfd: make aoutx.h self-contained
* aout64.c (BMAGIC, QMAGIC): Do not define. * aoutx.h (N_IS_BMAGIC, N_SET_QMAGIC): New defines. (NAME (aout, some_aout_object_p)): Use N_IS_QMAGIC and N_IS_BMAGIC to check the file format. (adjust_z_magic): Use N_SET_QMAGIC to set file format. * i386aout.c (NO_WRITE_HEADER_KLUDGE): Delete define. * libaout.h (NO_WRITE_HEADER_KLUDGE): Do not define.
Diffstat (limited to 'bfd/libaout.h')
-rw-r--r--bfd/libaout.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/libaout.h b/bfd/libaout.h
index 61746db..8e62072 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