Remove duplicate definition

Message ID 87y1lcxpj0.fsf@igel.home
State Accepted
Headers
Series Remove duplicate definition |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

Andreas Schwab May 25, 2023, 5:57 p.m. UTC
  * coff/pe.h (IMAGE_FILE_MACHINE_AMD64): Remove duplicate
	definition.  Alphabetize.
  

Comments

Alan Modra May 26, 2023, 3:59 a.m. UTC | #1
On Thu, May 25, 2023 at 07:57:23PM +0200, Andreas Schwab wrote:
> 	* coff/pe.h (IMAGE_FILE_MACHINE_AMD64): Remove duplicate
> 	definition.  Alphabetize.

Please apply, and if you spot other obvious fixes you're welcome to
apply them without asking for permission.
  

Patch

diff --git a/include/coff/pe.h b/include/coff/pe.h
index 27f56caa0f1..4af7b0c3b26 100644
--- a/include/coff/pe.h
+++ b/include/coff/pe.h
@@ -144,6 +144,7 @@ 
 #define IMAGE_FILE_MACHINE_EBC               0x0ebc
 #define IMAGE_FILE_MACHINE_I386              0x014c
 #define IMAGE_FILE_MACHINE_IA64              0x0200
+#define IMAGE_FILE_MACHINE_LOONGARCH64       0x6264
 #define IMAGE_FILE_MACHINE_M32R              0x9041
 #define IMAGE_FILE_MACHINE_M68K              0x0268
 #define IMAGE_FILE_MACHINE_MIPS16            0x0266
@@ -162,8 +163,6 @@ 
 #define IMAGE_FILE_MACHINE_THUMB             0x01c2
 #define IMAGE_FILE_MACHINE_TRICORE           0x0520
 #define IMAGE_FILE_MACHINE_WCEMIPSV2         0x0169
-#define IMAGE_FILE_MACHINE_AMD64             0x8664
-#define IMAGE_FILE_MACHINE_LOONGARCH64       0x6264
 
 #define IMAGE_SUBSYSTEM_UNKNOWN			 0
 #define IMAGE_SUBSYSTEM_NATIVE			 1