]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf.h: Remove duplicate definition of VER_FLG_WEAK
authorFlorian Weimer <fweimer@redhat.com>
Mon, 5 Sep 2022 10:11:19 +0000 (12:11 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 5 Sep 2022 13:02:09 +0000 (15:02 +0200)
This did not cause a warning before because the token sequence for
the two definitions was identical.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/elf.h

index 065deca83cc750937da83f1af3ce7bf254fbd226..273305a7cd4c24ef0e56140e9f53210bc6451900 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1064,7 +1064,8 @@ typedef struct
 
 /* Legal values for vd_flags (version information flags).  */
 #define VER_FLG_BASE   0x1             /* Version definition of file itself */
-#define VER_FLG_WEAK   0x2             /* Weak version identifier */
+#define VER_FLG_WEAK   0x2             /* Weak version identifier.  Also
+                                          used by vna_flags below.  */
 
 /* Versym symbol index values.  */
 #define        VER_NDX_LOCAL           0       /* Symbol is local.  */
@@ -1142,10 +1143,6 @@ typedef struct
 } Elf64_Vernaux;
 
 
-/* Legal values for vna_flags.  */
-#define VER_FLG_WEAK   0x2             /* Weak version identifier */
-
-
 /* Auxiliary vector.  */
 
 /* This vector is normally only used by the program interpreter.  The