summaryrefslogtreecommitdiff
path: root/csu/init.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 15:49:30 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 15:49:30 +0000
commite14d51045326808a48d43d7e0b45860cd33e2b17 (patch)
tree90b47e500bf7b1ccffae92fc2105cea5b8b7b61f /csu/init.c
parentc949e9c224c0fc890982cc42797ae868b04faa00 (diff)
parent963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff)
Merge commit 'refs/top-bases/t/context_functions' into t/context_functions
Diffstat (limited to 'csu/init.c')
-rw-r--r--csu/init.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/csu/init.c b/csu/init.c
index 93277268bb..c2f978f3da 100644
--- a/csu/init.c
+++ b/csu/init.c
@@ -1,5 +1,5 @@
/* Special startup support.
- Copyright (C) 1997-2016 Free Software Foundation, Inc.
+ Copyright (C) 1997-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -16,11 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#if defined __GNUC__ && __GNUC__ >= 2
-
-#include <_G_config.h>
-
-/* This records which stdio is linked against in the application. */
-const int _IO_stdin_used = _G_IO_IO_FILE_VERSION;
-
-#endif
+/* Vestigial libio version number. Some code in libio checks whether
+ this symbol exists in the executable, but nothing looks at its
+ value anymore; the value it was historically set to has been
+ preserved out of an abundance of caution. */
+const int _IO_stdin_used = 0x20001;