This patch set for the generic BFD a.out backend removes a dead #define and makes...
authorGunther Nikl <gnikl@justmail.de>
Wed, 3 Jun 2020 14:24:58 +0000 (15:24 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 3 Jun 2020 14:24:58 +0000 (15:24 +0100)
commit0bff75284e1067e22cbe88fad672362db06f22ee
treec3374d8a516b9800ad84481903259460ed3aae07
parentd49e5065ed43ec88627fd8cc6ab9e45fcc0e538a
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.
bfd/ChangeLog
bfd/aout64.c
bfd/aoutx.h
bfd/i386aout.c
bfd/libaout.h