aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-09-05 12:11:19 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-09-05 15:02:09 +0200
commit29eb7961197bee68470730aecfdda4d0e206812e (patch)
treef99b8c5543d2463dbfc69f3b360e72a577ce7bd8 /elf
parent45459476ecc8fe315734912baf7adf3551cff640 (diff)
downloadglibc-29eb7961197bee68470730aecfdda4d0e206812e.zip
glibc-29eb7961197bee68470730aecfdda4d0e206812e.tar.gz
glibc-29eb7961197bee68470730aecfdda4d0e206812e.tar.bz2
elf.h: Remove duplicate definition of VER_FLG_WEAK
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>
Diffstat (limited to 'elf')
-rw-r--r--elf/elf.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/elf/elf.h b/elf/elf.h
index 065deca..273305a 100644
--- 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