aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/vdso/vdso2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/vdso/vdso2c.h b/arch/x86/vdso/vdso2c.h
index 8a074637a576..d9f6f61aef1c 100644
--- a/arch/x86/vdso/vdso2c.h
+++ b/arch/x86/vdso/vdso2c.h
@@ -116,7 +116,7 @@ static void GOFUNC(void *addr, size_t len, FILE *outfile, const char *name)
116 hdr->e_shoff = 0; 116 hdr->e_shoff = 0;
117 hdr->e_shentsize = 0; 117 hdr->e_shentsize = 0;
118 hdr->e_shnum = 0; 118 hdr->e_shnum = 0;
119 hdr->e_shstrndx = htole16(SHN_UNDEF); 119 hdr->e_shstrndx = SHN_UNDEF; /* SHN_UNDEF == 0 */
120 120
121 if (!name) { 121 if (!name) {
122 fwrite(addr, load_size, 1, outfile); 122 fwrite(addr, load_size, 1, outfile);