1 # Files shared with other projects. Pass a file path to the
2 # get_glibc_shared_code() function in the python library
3 # scripts/glibc_shared_code.py to get a dict object with this information. See
4 # the library sources for more information.
6 # The headers on most of these files indicate that glibc is the canonical
7 # source for these files, although in many cases there seem to be useful
8 # changes in the gnulib versions that could be merged back in. Not all gnulib
9 # files contain such a header and it is not always consistent in its format, so
10 # it would be useful to make sure that all gnulib files that are using glibc as
11 # upstream have a greppable header.
13 # These files are quite hard to find without a header to grep for and each file
14 # has to be compared manually so this list is likely incomplete or may contain
32 # Merged from gnulib 2021-09-21
34 # Merged from gnulib 2021-09-21
36 locale/programs/3level.h
37 # Merged from gnulib 2014-6-23
39 # Merged from gnulib 2014-6-23
41 # Merged from gnulib 2014-07-10
46 # Merged from gnulib 2021-09-21
49 # Intended to be the same. Gnulib copy contains glibc changes.
51 # Intended to be the same. Gnulib copy contains glibc changes.
53 # Intended to be the same. Gnulib copy contains glibc changes.
56 # Merged from gnulib 2021-09-21
58 # Merged from gnulib 2021-09-21
60 # Merged from gnulib 2021-09-21
62 # Merged from gnulib 2021-09-21
63 posix/regex_internal.c
64 # Merged from gnulib 2021-09-21
65 posix/regex_internal.h
66 # Merged from gnulib 2021-09-21
69 posix/spawn_faction_addclose.c
70 posix/spawn_faction_adddup2.c
71 posix/spawn_faction_addopen.c
72 posix/spawn_faction_destroy.c
73 posix/spawn_faction_init.c
75 posix/spawnattr_destroy.c
76 posix/spawnattr_getdefault.c
77 posix/spawnattr_getflags.c
78 posix/spawnattr_getpgroup.c
79 posix/spawnattr_getschedparam.c
80 posix/spawnattr_getschedpolicy.c
81 posix/spawnattr_getsigmask.c
82 posix/spawnattr_init.c
83 posix/spawnattr_setdefault.c
84 posix/spawnattr_setflags.c
85 posix/spawnattr_setpgroup.c
86 posix/spawnattr_setschedparam.c
87 posix/spawnattr_setschedpolicy.c
88 posix/spawnattr_setsigmask.c
95 # Merged from gnulib 2014-6-26, needs merge back
114 # Merged from gnulib 2024-04-08 (gnulib commit 3238349628)
115 stdio-common/tmpdir.c
116 stdio-common/tmpdir.h
117 sysdeps/generic/pty-private.h
118 sysdeps/generic/siglist.h
119 sysdeps/posix/euidaccess.c
120 sysdeps/posix/gai_strerror.c
121 sysdeps/posix/getcwd.c
122 sysdeps/posix/pwrite.c
123 sysdeps/posix/spawni.c
124 # Merged from gnulib 2024-04-08 (gnulib commit 3238349628)
125 sysdeps/posix/tempname.c
126 # Merged from gnulib 2014-6-27
128 time/mktime-internal.h
132 # The last merge was 2014-12-11 and merged gettext 0.19.3 into glibc with a
133 # patch submitted to the gettext mailing list for changes that could be merged
136 # This commit was omitted from the merge as it does not appear to be compatible
137 # with how glibc expects things to work:
139 # commit 279b57fc367251666f00e8e2b599b83703451afb
140 # Author: Bruno Haible <bruno@clisp.org>
141 # Date: Fri Jun 14 12:03:49 2002 +0000
143 # Make absolute pathnames inside $LANGUAGE work.
169 # The following files are bundled from upstream Linux 6.10 for FUSE testing
172 support/bundled/linux/COPYING
173 support/bundled/linux/LICENSES
174 support/bundled/linux/LICENSES/exceptions/Linux-syscall-note
175 support/bundled/linux/LICENSES/preferred/GPL-2.0
176 support/bundled/linux/include/uapi/linux/fuse.h
178 # The following files are shared with the upstream Unicode project and must be
179 # updated regularly to stay in sync with the upstream unicode releases.
181 # Merged from Unicode 16.0.0 release.
183 localedata/unicode-gen/UnicodeData.txt
184 localedata/unicode-gen/unicode-license.txt
185 localedata/unicode-gen/DerivedCoreProperties.txt
186 localedata/unicode-gen/EastAsianWidth.txt
187 localedata/unicode-gen/HangulSyllableType.txt
189 # The following files are shared with the upstream tzcode project and must be
190 # updated regularly to stay in sync with the upstream releases.
192 # Currently synced to TZDB 2024b, announced and distributed here:
193 # https://github.com/eggert/tz/releases/tag/2024b
197 timezone/tzselect.ksh
202 # The following files are shared with the upstream tzdata project but is not
203 # synchronized regularly. The data files themselves are used only for testing
204 # purposes and their data is never used to generate any output. We synchronize
205 # them only to stay on top of newer data that might help with testing.
207 # Currently synced to tzcode 2009i, announced and distributed here:
208 # https://mm.icann.org/pipermail/tz/2009-June/040697.html
209 # https://data.iana.org/time-zones/releases/tzdata2009i.tar.gz
216 timezone/northamerica
217 timezone/southamerica
229 # This is yearistype.sh in the parent project
232 # The following files are shared with the CORE-MATH project
233 sysdeps/ieee754/flt-32/e_gammaf_r.c
234 (file src/binary32/tgamma/tgammaf.c in CORE-MATH)
235 Instructions to merge new versions:
236 - change the function name from cr_tgammaf to __ieee754_gammaf_r
237 - add "int *signgamp" as 2nd argument and add at the beginning:
238 if (signgamp != NULL) *signgamp = 1;
239 - remove the errno stuff (this is done by the wrapper)
240 - replace 0x1p127f * 0x1p127f by math_narrow_eval (x * 0x1p127f)
241 - replace 0x1p-127f * sgn[k&1] by math_narrow_eval (0x1p-127f * sgn[k&1])
242 - add libm_alias_finite (__ieee754_gammaf_r, __gammaf_r) at the end
243 sysdeps/ieee754/flt-32/s_exp10m1f.c
244 (file src/binary32/exp10m1/exp10m1f.c in CORE-MATH)
245 - The code was adapted to use glibc code style and internal
246 functions to handle errno, overflow, and underflow.
247 sysdeps/ieee754/flt-32/s_exp2m1f.c
248 (file src/binary32/exp2m1/exp2m1f.c in CORE-MATH)
249 - The code was adapted to use glibc code style and internal
250 functions to handle errno, overflow, and underflow.
251 sysdeps/ieee754/flt-32/s_expm1f.c
252 (file src/binary32/expm1/expm1f.c in CORE-MATH)
253 - The code was adapted to use glibc code style and internal
254 functions to handle errno, overflow, and underflow.
255 sysdeps/ieee754/flt-32/e_log10f.c
256 (file src/binary32/log10/log10f.c in CORE-MATH)
257 - The code was adapted to use glibc code style and internal
258 functions to handle errno, overflow, and underflow.
259 sysdeps/ieee754/flt-32/s_log2p1f.c
260 (file src/binary32/log2p1/log2p1f.c in CORE-MATH)
261 - The code was adapted to use glibc code style and internal
262 functions to handle errno, overflow, and underflow.
263 sysdeps/ieee754/flt-32/s_log1pf.c
264 (file src/binary32/log1p/log1pf.c in CORE-MATH)
265 - The code was adapted to use glibc code style and internal
266 functions to handle errno, overflow, and underflow.
267 sysdeps/ieee754/flt-32/s_log10p1f.c
268 (file src/binary32/log10p1/log10p1f.c in CORE-MATH)
269 - The code was adapted to use glibc code style and internal
270 functions to handle errno, overflow, and underflow.
271 sysdeps/ieee754/flt-32/s_cbrtf.c
272 (file src/binary32/cbrt/cbrtf.c in CORE-MATH)
273 - The code was adapted to use glibc code style and internal
274 functions to handle errno, overflow, and underflow.
275 sysdeps/ieee754/flt-32/s_erff.c
276 (file src/binary32/erf/erff.c in CORE-MATH)
277 - The code was adapted to use glibc code style and internal
278 functions to handle errno, overflow, and underflow.
279 sysdeps/ieee754/flt-32/s_erfcf.c
280 (file src/binary32/erfc/erfcf.c in CORE-MATH)
281 - The code was adapted to use glibc code style and internal
282 functions to handle errno, overflow, and underflow.
283 sysdeps/ieee754/flt-32/e_lgammaf_r.c:
284 (file src/binary32/lgamma/lgammaf.c in CORE-MATH)
285 - change the function name from cr_lgammaf to __ieee754_lgammaf_r
286 - add "int *signgamp" as 2nd argument and add at the beginning:
287 if (signgamp != NULL) *signgamp = 1;
288 - remove the errno stuff (this is done by the wrapper)
289 - replace 0x1p127f * 0x1p127f by math_narrow_eval (x * 0x1p127f)
290 - add libm_alias_finite (__ieee754_lgammaf_r, __lgammaf_r) at the end
291 sysdeps/ieee754/flt-32/s_tanf.c:
292 (src/binary32/tan/tanf.c in CORE-MATH)
293 - The code was adapted to use glibc code style and internal
294 functions to handle errno, overflow, and underflow. It was changed
295 to use an internal wrapper for 128 bit unsigned integer operations
296 for ABIs that do not support the type natively.
297 sysdeps/ieee754/flt-32/e_acosf.c:
298 (src/binary32/acos/acosf.c in CORE-MATH)
299 - The code was adapted to use glibc code style and internal
300 functions to handle errno, overflow, and underflow.
301 sysdeps/ieee754/flt-32/e_acoshf.c:
302 (src/binary32/acosh/acoshf.c in CORE-MATH)
303 - The code was adapted to use glibc code style and internal
304 functions to handle errno, overflow, and underflow.
305 sysdeps/ieee754/flt-32/e_asinf.c:
306 (src/binary32/asin/asinf.c in CORE-MATH)
307 - The code was adapted to use glibc code style and internal
308 functions to handle errno, overflow, and underflow.
309 sysdeps/ieee754/flt-32/s_asinhf.c:
310 (src/binary32/asinh/asinhf.c in CORE-MATH)
311 - The code was adapted to use glibc code style and internal
312 functions to handle errno, overflow, and underflow.
313 sysdeps/ieee754/flt-32/s_atanf.c:
314 (src/binary32/atan/atanf.c in CORE-MATH)
315 - The code was adapted to use glibc code style and internal
316 functions to handle errno, overflow, and underflow.
317 sysdeps/ieee754/flt-32/e_atan2f.c:
318 (src/binary32/atan2/atan2f.c in CORE-MATH)
319 - The code was adapted to use glibc code style and internal
320 functions to handle errno, overflow, and underflow.
321 sysdeps/ieee754/flt-32/e_atanhf.c:
322 (src/binary32/atanh/atanhf.c in CORE-MATH)
323 - The code was adapted to use glibc code style and internal
324 functions to handle errno, overflow, and underflow.
325 sysdeps/ieee754/flt-32/e_coshf.c:
326 (src/binary32/cosh/coshf.c in CORE-MATH)
327 - the code was adapted to use glibc code style and internal
328 functions to handle errno, overflow, and underflow.
329 sysdeps/ieee754/flt-32/e_sinhf.c:
330 (src/binary32/sinh/sinhf.c in CORE-MATH)
331 - the code was adapted to use glibc code style and internal
332 functions to handle errno, overflow, and underflow.
333 sysdeps/ieee754/flt-32/s_tanhf.c:
334 (src/binary32/tanh/tanhf.c in CORE-MATH)
335 - the code was adapted to use glibc code style and internal
336 functions to handle errno, overflow, and underflow.