Add strtoll and strtoull to libiberty.
authorYury Gribov <y.gribov@samsung.com>
Tue, 28 Oct 2014 09:43:20 +0000 (09:43 +0000)
committerYury Gribov <ygribov@gcc.gnu.org>
Tue, 28 Oct 2014 09:43:20 +0000 (09:43 +0000)
commitea41822adfb3ea39ba43e033acd1f745abd79083
treededbff4ce1f502ec222e9433c1109ec7759babf3
parent5b595d80ce5f3f74415e91532542a58c1be6a9c4
Add strtoll and strtoull to libiberty.

2014-10-28  Yury Gribov  <y.gribov@samsung.com>

include/
* libiberty.h (strtol, strtoul, strtoll, strtoull): New prototypes.

libiberty/
* strtoll.c: New file.
* strtoull.c: New file.
* configure.ac: Add long long checks.  Add harness for strtoll and
strtoull.  Check decls for strtol, strtoul, strtoll, strtoull.
* Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
* config.in: Regenerate.
* configure: Regenerate.
* functions.texi: Regenerate.
* testsuite/Makefile.in (check-strtol): New rule.
(test-strtol): Likewise.
(mostlyclean): Clean up strtol test.
* testsuite/test-strtol.c: New test.

From-SVN: r216772
12 files changed:
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/Makefile.in
libiberty/config.in
libiberty/configure
libiberty/configure.ac
libiberty/functions.texi
libiberty/strtoll.c [new file with mode: 0644]
libiberty/strtoull.c [new file with mode: 0644]
libiberty/testsuite/Makefile.in
libiberty/testsuite/test-strtol.c [new file with mode: 0644]