Commit f6430ea5 by Kai Tietz Committed by Kai Tietz

lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Rename to IMAGE_FILE_MACHINE_AMD64.

2010-05-11  Kai Tietz  <kai.tietz@onevision.com>

        * lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Rename to
        IMAGE_FILE_MACHINE_AMD64.
        * lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Likewise.

From-SVN: r159290
parent 3b5fda81
2010-05-11 Kai Tietz <kai.tietz@onevision.com>
* lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Rename to
IMAGE_FILE_MACHINE_AMD64.
* lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Likewise.
2010-05-11 Jan Hubicka <jh@suse.cz> 2010-05-11 Jan Hubicka <jh@suse.cz>
* lto.c (lto_fixup_decls): Remove global var decls freeing here. * lto.c (lto_fixup_decls): Remove global var decls freeing here.
......
...@@ -379,7 +379,7 @@ validate_file (lto_coff_file *coff_file) ...@@ -379,7 +379,7 @@ validate_file (lto_coff_file *coff_file)
return false; return false;
} }
if (mach != IMAGE_FILE_MACHINE_ADM64 if (mach != IMAGE_FILE_MACHINE_AMD64
&& COFF_CHARACTERISTICS != (COFF_CHARACTERISTICS & charact)) && COFF_CHARACTERISTICS != (COFF_CHARACTERISTICS & charact))
{ {
/* ECOFF/XCOFF support not implemented. */ /* ECOFF/XCOFF support not implemented. */
......
...@@ -79,13 +79,13 @@ along with GCC; see the file COPYING3. If not see ...@@ -79,13 +79,13 @@ along with GCC; see the file COPYING3. If not see
/* COFF header machine codes. */ /* COFF header machine codes. */
#define IMAGE_FILE_MACHINE_I386 (0x014c) #define IMAGE_FILE_MACHINE_I386 (0x014c)
#define IMAGE_FILE_MACHINE_ADM64 (0x8664) #define IMAGE_FILE_MACHINE_AMD64 (0x8664)
/* Known header magics for validation, as an array initialiser. */ /* Known header magics for validation, as an array initialiser. */
#define COFF_KNOWN_MACHINES \ #define COFF_KNOWN_MACHINES \
{ IMAGE_FILE_MACHINE_I386, \ { IMAGE_FILE_MACHINE_I386, \
IMAGE_FILE_MACHINE_ADM64/*, ... add more here when working. */ } IMAGE_FILE_MACHINE_AMD64/*, ... add more here when working. */ }
/* COFF object file header, section and symbol flags and types. These are /* COFF object file header, section and symbol flags and types. These are
currently specific to PE-COFF, which is the only LTO-COFF format at the currently specific to PE-COFF, which is the only LTO-COFF format at the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment