From: Alexandre Julliard <julliard@winehq.org> Using the GCC Runtime Library exception, similar to what glibc is doing for files that get linked directly into the application. --- dlls/msvcrt/crt_gccmain.c | 8 ++++++++ dlls/msvcrt/crt_init.h | 8 ++++++++ dlls/msvcrt/crt_main.c | 8 ++++++++ dlls/msvcrt/crt_winmain.c | 8 ++++++++ dlls/msvcrt/crt_wmain.c | 8 ++++++++ dlls/msvcrt/crt_wwinmain.c | 8 ++++++++ dlls/msvcrt/iob.c | 8 ++++++++ dlls/msvcrt/mathf.c | 8 ++++++++ dlls/msvcrt/onexit.c | 8 ++++++++ dlls/msvcrt/sincos.c | 8 ++++++++ dlls/ucrtbase/atexit.c | 8 ++++++++ dlls/ucrtbase/printf.c | 8 ++++++++ 12 files changed, 96 insertions(+) diff --git a/dlls/msvcrt/crt_gccmain.c b/dlls/msvcrt/crt_gccmain.c index 88ca2874732..4ead0025082 100644 --- a/dlls/msvcrt/crt_gccmain.c +++ b/dlls/msvcrt/crt_gccmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/crt_init.h b/dlls/msvcrt/crt_init.h index 97d9de618cc..1ef8ccbcfc6 100644 --- a/dlls/msvcrt/crt_init.h +++ b/dlls/msvcrt/crt_init.h @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/crt_main.c b/dlls/msvcrt/crt_main.c index be3e748d723..29165a48460 100644 --- a/dlls/msvcrt/crt_main.c +++ b/dlls/msvcrt/crt_main.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/crt_winmain.c b/dlls/msvcrt/crt_winmain.c index fda3d12f688..804dfb61587 100644 --- a/dlls/msvcrt/crt_winmain.c +++ b/dlls/msvcrt/crt_winmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/crt_wmain.c b/dlls/msvcrt/crt_wmain.c index 598d2a338b3..8798418d03b 100644 --- a/dlls/msvcrt/crt_wmain.c +++ b/dlls/msvcrt/crt_wmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/crt_wwinmain.c b/dlls/msvcrt/crt_wwinmain.c index b50f728025b..c3ba32a5fb9 100644 --- a/dlls/msvcrt/crt_wwinmain.c +++ b/dlls/msvcrt/crt_wwinmain.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/iob.c b/dlls/msvcrt/iob.c index 4d8456867a8..7bf4bc60d20 100644 --- a/dlls/msvcrt/iob.c +++ b/dlls/msvcrt/iob.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/mathf.c b/dlls/msvcrt/mathf.c index 7f46230e7bd..8daac69bfc5 100644 --- a/dlls/msvcrt/mathf.c +++ b/dlls/msvcrt/mathf.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/onexit.c b/dlls/msvcrt/onexit.c index d0c61700542..ffc28496636 100644 --- a/dlls/msvcrt/onexit.c +++ b/dlls/msvcrt/onexit.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/msvcrt/sincos.c b/dlls/msvcrt/sincos.c index 1a34c50f034..f874a743253 100644 --- a/dlls/msvcrt/sincos.c +++ b/dlls/msvcrt/sincos.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/ucrtbase/atexit.c b/dlls/ucrtbase/atexit.c index 142de9efa0c..7b5032020ca 100644 --- a/dlls/ucrtbase/atexit.c +++ b/dlls/ucrtbase/atexit.c @@ -8,6 +8,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU diff --git a/dlls/ucrtbase/printf.c b/dlls/ucrtbase/printf.c index 4483fb936ea..0f881692ad6 100644 --- a/dlls/ucrtbase/printf.c +++ b/dlls/ucrtbase/printf.c @@ -6,6 +6,14 @@ * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * + * In addition to the permissions in the GNU Lesser General Public License, + * the authors give you unlimited permission to link the compiled version + * of this file with other programs, and to distribute those programs + * without any restriction coming from the use of this file. (The GNU + * Lesser General Public License restrictions do apply in other respects; + * for example, they cover modification of the file, and distribution when + * not linked into another program.) + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10545