aboutsummaryrefslogtreecommitdiff
path: root/include/coff/x86_64.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-02 14:04:17 +0000
committerNick Clifton <nickc@redhat.com>2009-12-02 14:04:17 +0000
commite05da72d4d8289607dfc3f320ce28c25ed939f82 (patch)
treea79a3020d40e6b98a23407039bd4795a2750d4d1 /include/coff/x86_64.h
parentf29dff0a0940505506d27e54afbd750b8409846b (diff)
downloadbinutils-e05da72d4d8289607dfc3f320ce28c25ed939f82.zip
binutils-e05da72d4d8289607dfc3f320ce28c25ed939f82.tar.gz
binutils-e05da72d4d8289607dfc3f320ce28c25ed939f82.tar.bz2
PR binutils/11017
* dlltool.c (PAGE_SIZE): Delete. (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386. * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h * i386lh (COFF_PAGE_SIZE): Define. * x86_64.h (COFF_PAGE_SIZE): Define.
Diffstat (limited to 'include/coff/x86_64.h')
-rw-r--r--include/coff/x86_64.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/coff/x86_64.h b/include/coff/x86_64.h
index b58dd2f..ae43277 100644
--- a/include/coff/x86_64.h
+++ b/include/coff/x86_64.h
@@ -1,5 +1,5 @@
/* COFF information for AMD 64.
- Copyright 2006 Free Software Foundation, Inc.
+ Copyright 2006, 2009 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -24,6 +24,8 @@
#include "coff/external.h"
+#define COFF_PAGE_SIZE 0x1000
+
#define AMD64MAGIC 0x8664
#define AMD64BADMAG(x) ((x).f_magic != AMD64MAGIC)