aboutsummaryrefslogtreecommitdiff
path: root/bfd/aout64.c
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/aout64.c
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/aout64.c')
-rw-r--r--bfd/aout64.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/aout64.c b/bfd/aout64.c
index 5b43a14..73e3cc7 100644
--- a/bfd/aout64.c
+++ b/bfd/aout64.c
@@ -21,12 +21,4 @@
#define ARCH_SIZE 64
-/* aoutx.h requires definitions for BMAGIC and QMAGIC. */
-#ifndef BMAGIC
-#define BMAGIC 0
-#endif
-#ifndef QMAGIC
-#define QMAGIC 0
-#endif
-
#include "aoutx.h"