https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127412

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Robert Dubner <[email protected]>:

https://gcc.gnu.org/g:db54bfba3a0afb93257b9e30ff7fa70207367045

commit r17-4450-gdb54bfba3a0afb93257b9e30ff7fa70207367045
Author: Robert Dubner <[email protected]>
Date:   Fri Sep 18 16:36:02 2026 -0400

    cobol: Change policy for finding .so files.  [PR127412]

    This patch partially addresses PR127412 by changing "cp1140" to
    "ibm1140" in the DejaGNU tests.  "ibm1140", unlike "cp1140", is
    recognized not just on glibc systems, but FreeBSD and NetBSD systems as
    well.  Some necessary changes to charmaps.cc have not yet been made.

    The main purpose of this patch is to modify the policy used to search
    for shared-object .so files that contain a desired symbol.

    gcc/cobol/ChangeLog:

            * gcobol.1: Documentation for the .so search.
            * move.cc: Fix typo.
            * parse.y: Data capacity test.
            * symbols.cc (expand_picture): Fix off-by-one error; handle corner
            case where 'B' is the final character of a numeric-edited PICTURE
            string.
            * symbols.h: Remove unnecessary test.

    libgcobol/ChangeLog:

            * libgcobol.cc (do_the_dl_thing): New .so policy.
            (find_in_dirs): Likewise.
            (__gg__function_handle_from_cobpath): Likewise.

    gcc/testsuite/ChangeLog:

            PR cobol/127412

            * cobol.dg/group2/CBL_DELETE_FILE.cob: Minor logic change.
            * cobol.dg/group2/CBL_DELETE_FILE.out: Likewise.
            * cobol.dg/group2/CBL_OPEN_FILE___CBL_CLOSE_FILE.cob: Likewise.
            * cobol.dg/group2/CBL_OPEN_FILE___CBL_CLOSE_FILE.out: Likewise.
            *
cobol.dg/group2/CBL_READ_FILE__check_file_size_with_flags___128.cob:
            Likewise.
            * cobol.dg/group2/CDF_Feature_.cob: Switch to "ibm1140".
            *
cobol.dg/group2/CHAR_and_ORD_with_COLLATING_sequence_-_EBCDIC.cob:
            Likewise.
            * cobol.dg/group2/FIND-STRING__forward_.cob: Likewise.
            * cobol.dg/group2/FIND-STRING__reverse_.cob: Likewise.
            * cobol.dg/group2/FUNCTION_CONVERT.cob: Likewise.
            * cobol.dg/group2/CBL_CHECK_FILE_EXIST__known_timestamp_.cob: New
test.
            * cobol.dg/group2/MF__identifier_as_PIC_X_ANY_LENGTH.cob: New test.

Reply via email to