aboutsummaryrefslogtreecommitdiff
path: root/conform/list-header-symbols.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-12-03 15:21:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-12-03 15:21:28 +0000
commite3d6dba5dfe2e125b15ea1dd36c8dfa373bb4956 (patch)
tree56ff1bfda930a80e8569b453b8aa86f28ffc93f3 /conform/list-header-symbols.pl
parent28a91e8f65eb00d3bd9dd1edcdca439f66128b74 (diff)
downloadglibc-e3d6dba5dfe2e125b15ea1dd36c8dfa373bb4956.zip
glibc-e3d6dba5dfe2e125b15ea1dd36c8dfa373bb4956.tar.gz
glibc-e3d6dba5dfe2e125b15ea1dd36c8dfa373bb4956.tar.bz2
Fix linknamespace getdate_err handling.
Some linknamespace tests were failing because of references to getdate_err. References to this symbol should be allowed for XPG4 and later XSI standards; it was missing from the whitelist of data symbols. This patch adds it to that list. Tested for x86_64. * conform/list-header-symbols.pl (%extra_syms): Add getdate_err for XPG4, UNIX98, XOPEN2K and XOPEN2K8. * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace): Remove variable. (test-xfail-XOPEN2K/time.h/linknamespace): Likewise. (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise. (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
Diffstat (limited to 'conform/list-header-symbols.pl')
-rw-r--r--conform/list-header-symbols.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/conform/list-header-symbols.pl b/conform/list-header-symbols.pl
index c0c695c..7d15a1b 100644
--- a/conform/list-header-symbols.pl
+++ b/conform/list-header-symbols.pl
@@ -47,17 +47,17 @@ $extra_syms{"XPG3"} = ["errno", "setjmp", "va_end", "environ", "signgam",
$extra_syms{"XPG4"} = ["errno", "setjmp", "va_end", "environ", "signgam",
"loc1", "loc2", "locs", "sigsetjmp", "optarg",
"optind", "opterr", "optopt", "daylight", "timezone",
- "tzname"];
+ "tzname", "getdate_err"];
$extra_syms{"UNIX98"} = ["errno", "setjmp", "va_end", "environ", "signgam",
"loc1", "loc2", "locs", "sigsetjmp", "optarg",
"optind", "opterr", "optopt", "daylight", "timezone",
- "tzname"];
+ "tzname", "getdate_err"];
$extra_syms{"XOPEN2K"} = ["errno", "setjmp", "va_end", "environ", "signgam",
"sigsetjmp", "optarg", "optind", "opterr", "optopt",
- "daylight", "timezone", "tzname"];
+ "daylight", "timezone", "tzname", "getdate_err"];
$extra_syms{"XOPEN2K8"} = ["errno", "setjmp", "va_end", "environ", "signgam",
"sigsetjmp", "optarg", "optind", "opterr", "optopt",
- "daylight", "timezone", "tzname"];
+ "daylight", "timezone", "tzname", "getdate_err"];
$extra_syms{"POSIX2008"} = ["errno", "setjmp", "va_end", "environ",
"sigsetjmp", "optarg", "optind", "opterr", "optopt",
"tzname"];