[PATCH 2/6] Use makedoc generated texinfo documentation for reentrant syscalls

Andre Vieira Andre.SimoesDiasVieira@arm.com
Thu Jul 30 08:29:00 GMT 2015

On 29/07/15 16:55, Jon TURNEY wrote:
> On 29/07/2015 11:50, Andre Vieira wrote:
>> On 23/07/15 13:47, Jon TURNEY wrote:
>>> We use texinfo nodes beginning with an underscore in several other
>>> places, so
>>> revert this ancient workaround for a no longer existing bug, and use
>>> the makedoc
>>> generated texinfo for reentrant versions of syscalls, rather than
>>> handwritten
>>> documentation.
>>> Also alphabetically sort these functions.
>>> Also add documentation for _execve_r, _getpid_r, _kill_r and _times_r
>>> functions,
>>> whose non-reentrant versions are documented as stubs
>>> v2:
>>> Keep _open64_r, _lseek64_r and _fstat64_r functions under texinfo
>>> conditional STDIO64
>>> Add _stat64_r function likewise.
> [...]
>> This is failing for our 32-bit build. The menu entries for _fstat64_r,
>> _lseek64_r, _open64_r and _stat64_r are included regardless of whether
>> STDIO64 is set, so if it's not, the nodes they reference will not be
>> created. This yields errors such as:
>> ./reent/statr.def:1: Prev reference to nonexistent node `_stat64_r'
>> (perhaps incorrect sectioning?).
> Oh dear.  Sorry about that.
> I guess the attached is the fix?

Hi Jon,

Yes that works! Thank you.


More information about the Newlib mailing list