diff options
author | Charles-Antoine Couret <charles-antoine.couret@essensium.com> | 2018-11-29 17:56:55 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-11-29 17:56:55 +0000 |
commit | 3a67e81d7527363a96af095a5af03b6201b82e9d (patch) | |
tree | d9bf1888085845dba749047c639977b4ce28f8b8 /ChangeLog | |
parent | C-SKY: Add dynamic relocations to elf.h (diff) | |
download | glibc-3a67e81d7527363a96af095a5af03b6201b82e9d.tar.gz glibc-3a67e81d7527363a96af095a5af03b6201b82e9d.tar.bz2 glibc-3a67e81d7527363a96af095a5af03b6201b82e9d.zip |
argp: do not call _IO_fwide() if _LIBC is not defined
_IO_fwide() is defined in libio.h file. This file is included only
when _LIBC is defined.
So, in case of compilation of these files without _LIBC definition,
the compilation failed due to this unknown function.
Now this function is called when libio.h file is included.
(Change merged from gnulib. Tested on x86_64.)
* argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
gnulib.)
* argp/argp-help.c (__argp_failure): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com> + + * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC] + conditional on calls to _IO_fwide and putwc_unlocked. (Merge from + gnulib.) + * argp/argp-help.c (__argp_failure): Likewise. + 2018-11-29 Mao Han <han_mao@c-sky.com> * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32) |