diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-03-19 18:10:04 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-03 01:17:56 +0200 |
commit | 8d873a4904e7808110a1170aba9ba9f74cd71137 (patch) | |
tree | 04ea30ffd1d84960472224376adb9cec38d62d5d /sysdeps/x86_64 | |
parent | fb9e7f6732311ed8874b6afc1ff4a331a9e6ba68 (diff) | |
download | glibc-8d873a4904e7808110a1170aba9ba9f74cd71137.zip glibc-8d873a4904e7808110a1170aba9ba9f74cd71137.tar.gz glibc-8d873a4904e7808110a1170aba9ba9f74cd71137.tar.bz2 |
x86_64: Add rtld-stpncpy & rtld-strncpy
Just like the other existing rtld-str* files, this provides rtld with
usable versions of stpncpy and strncpy.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230319151017.531737-22-bugaevc@gmail.com>
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/multiarch/rtld-stpncpy.S | 18 | ||||
-rw-r--r-- | sysdeps/x86_64/multiarch/rtld-strncpy.S | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/rtld-stpncpy.S b/sysdeps/x86_64/multiarch/rtld-stpncpy.S new file mode 100644 index 0000000..1c6780a --- /dev/null +++ b/sysdeps/x86_64/multiarch/rtld-stpncpy.S @@ -0,0 +1,18 @@ +/* Copyright (C) 2022-2023 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <https://www.gnu.org/licenses/>. */ + +#include "../stpncpy.S" diff --git a/sysdeps/x86_64/multiarch/rtld-strncpy.S b/sysdeps/x86_64/multiarch/rtld-strncpy.S new file mode 100644 index 0000000..500a100 --- /dev/null +++ b/sysdeps/x86_64/multiarch/rtld-strncpy.S @@ -0,0 +1,18 @@ +/* Copyright (C) 2022-2023 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <https://www.gnu.org/licenses/>. */ + +#include "../strncpy.S" |