* peXXigen.c (bfdver.h): Add include.
(LINKER_VERSION): Do calculation based on BFD_VERSION.
+2009-10-27 Kai Tietz <kai.tietz@onevision.com>
+
+ * peXXigen.c (bfdver.h): Add include.
+ (LINKER_VERSION): Do calculation based on BFD_VERSION.
+
2009-10-25 Maciej W. Rozycki <macro@linux-mips.org>
* elf32-vax.c (elf_vax_relocate_section): Correct assertion.
#include "bfd.h"
#include "libbfd.h"
#include "coff/internal.h"
+#include "bfdver.h"
/* NOTE: it's strange to be including an architecture specific header
in what's supposed to be general (to PE/PEI) code. However, that's
H_PUT_16 (abfd, aouthdr_in->magic, aouthdr_out->standard.magic);
-#define LINKER_VERSION 256 /* That is, 2.56 */
+/* e.g. 219510000 is linker version 2.19 */
+#define LINKER_VERSION ((short) (BFD_VERSION / 1000000))
/* This piece of magic sets the "linker version" field to
LINKER_VERSION. */