520cc8
commit 29eb7961197bee68470730aecfdda4d0e206812e
520cc8
Author: Florian Weimer <fweimer@redhat.com>
520cc8
Date:   Mon Sep 5 12:11:19 2022 +0200
520cc8
520cc8
    elf.h: Remove duplicate definition of VER_FLG_WEAK
520cc8
    
520cc8
    This did not cause a warning before because the token sequence for
520cc8
    the two definitions was identical.
520cc8
    
520cc8
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
520cc8
520cc8
diff --git a/elf/elf.h b/elf/elf.h
520cc8
index d6506ea1c7160dea..ec09040be639a52a 100644
520cc8
--- a/elf/elf.h
520cc8
+++ b/elf/elf.h
520cc8
@@ -1027,7 +1027,8 @@ typedef struct
520cc8
 
520cc8
 /* Legal values for vd_flags (version information flags).  */
520cc8
 #define VER_FLG_BASE	0x1		/* Version definition of file itself */
520cc8
-#define VER_FLG_WEAK	0x2		/* Weak version identifier */
520cc8
+#define VER_FLG_WEAK	0x2		/* Weak version identifier.  Also
520cc8
+					   used by vna_flags below.  */
520cc8
 
520cc8
 /* Versym symbol index values.  */
520cc8
 #define	VER_NDX_LOCAL		0	/* Symbol is local.  */
520cc8
@@ -1105,10 +1106,6 @@ typedef struct
520cc8
 } Elf64_Vernaux;
520cc8
 
520cc8
 
520cc8
-/* Legal values for vna_flags.  */
520cc8
-#define VER_FLG_WEAK	0x2		/* Weak version identifier */
520cc8
-
520cc8
-
520cc8
 /* Auxiliary vector.  */
520cc8
 
520cc8
 /* This vector is normally only used by the program interpreter.  The