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