https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122702
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by James K. Lowden <[email protected]>: https://gcc.gnu.org/g:d8e3ddc3191f25b9c1412d27c8df55ed709984d4 commit r16-5367-gd8e3ddc3191f25b9c1412d27c8df55ed709984d4 Author: James K. Lowden <[email protected]> Date: Mon Nov 17 18:17:00 2025 -0500 cobol: Correct libgcobol install directory and add components. Set libgcobol/Makefile.am to define libdir and libsubdir the way libada does. Reorganize libgcobol/compat directory to group by emulation, not component. Move orphan gcc/udf/stored-char-length.cbl to the compat directory. Introduce new POSIX bindings. gcc/cobol/ChangeLog: PR cobol/122702 * Make-lang.in: Move stored-char-length.cbl to libgcobol. libgcobol/ChangeLog: PR cobol/122702 * Makefile.am: Set libdir and libsubdir per libada example. * Makefile.in: Regenerate. * compat/README.md: Revise per new directory structure. * compat/gnu/lib/CBL_ALLOC_MEM.cbl: Moved from compat/lib/gnu. * compat/gnu/lib/CBL_CHECK_FILE_EXIST.cbl: Moved from compat/lib/gnu. * compat/gnu/lib/CBL_DELETE_FILE.cbl: Moved from compat/lib/gnu. * compat/gnu/lib/CBL_FREE_MEM.cbl: Moved from compat/lib/gnu. * compat/gnu/udf/stored-char-length.cbl: New file. * compat/lib/gnu/CBL_ALLOC_MEM.cbl: Moved to compat/gnu/lib. * compat/lib/gnu/CBL_CHECK_FILE_EXIST.cbl: Moved to compat/gnu/lib. * compat/lib/gnu/CBL_DELETE_FILE.cbl: Moved to compat/gnu/lib. * compat/lib/gnu/CBL_FREE_MEM.cbl: Moved to compat/gnu/lib. * posix/cpy/psx-open.cpy: New file. * posix/shim/open.cc: New file. * posix/shim/stat.h: Add mode & flag bits for open.cc * posix/udf/posix-lseek.cbl: New file. * posix/udf/posix-open.cbl: New file. * posix/udf/posix-read.cbl: New file. * posix/udf/posix-write.cbl: New file. * xmlparse.cc: Quell context_t initialization-order warning.
