SHARED-FILES 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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.
  5. # The headers on most of these files indicate that glibc is the canonical
  6. # source for these files, although in many cases there seem to be useful
  7. # changes in the gnulib versions that could be merged back in. Not all gnulib
  8. # files contain such a header and it is not always consistent in its format, so
  9. # it would be useful to make sure that all gnulib files that are using glibc as
  10. # upstream have a greppable header.
  11. #
  12. # These files are quite hard to find without a header to grep for and each file
  13. # has to be compared manually so this list is likely incomplete or may contain
  14. # errors.
  15. gnulib:
  16. COPYINGv2
  17. COPYINGv3
  18. COPYING.LESSERv2
  19. doc/fdl-1.3.texi
  20. argp/argp-ba.c
  21. argp/argp-ba.c
  22. argp/argp-eexst.c
  23. argp/argp-fmtstream.c
  24. argp/argp-fmtstream.h
  25. argp/argp-fs-xinl.c
  26. argp/argp-help.c
  27. argp/argp-namefrob.h
  28. argp/argp-parse.c
  29. argp/argp-pv.c
  30. argp/argp-pvh.c
  31. argp/argp-xinl.c
  32. argp/argp.h
  33. dirent/alphasort.c
  34. dirent/scandir.c
  35. # Merged from gnulib 2025-10-29 (gnulib commit 1790ef25d8)
  36. include/intprops.h
  37. include/intprops-internal.h
  38. # Merged from gnulib 2021-09-21
  39. include/regex.h
  40. locale/programs/3level.h
  41. # Merged from gnulib 2014-6-23
  42. malloc/obstack.c
  43. # Merged from gnulib 2014-6-23
  44. malloc/obstack.h
  45. # Merged from gnulib 2014-07-10
  46. misc/error.c
  47. misc/error.h
  48. misc/getpass.c
  49. misc/mkdtemp.c
  50. # Merged from gnulib 2021-09-21
  51. misc/sys/cdefs.h
  52. posix/fnmatch_loop.c
  53. # Intended to be the same. Gnulib copy contains glibc changes.
  54. posix/getopt.c
  55. # Intended to be the same. Gnulib copy contains glibc changes.
  56. posix/getopt1.c
  57. # Intended to be the same. Gnulib copy contains glibc changes.
  58. posix/getopt_int.h
  59. posix/glob.c
  60. # Merged from gnulib 2021-09-21
  61. posix/regcomp.c
  62. # Merged from gnulib 2021-09-21
  63. posix/regex.c
  64. # Merged from gnulib 2021-09-21
  65. posix/regex.h
  66. # Merged from gnulib 2021-09-21
  67. posix/regex_internal.c
  68. # Merged from gnulib 2021-09-21
  69. posix/regex_internal.h
  70. # Merged from gnulib 2021-09-21
  71. posix/regexec.c
  72. posix/spawn.c
  73. posix/spawn_faction_addclose.c
  74. posix/spawn_faction_adddup2.c
  75. posix/spawn_faction_addopen.c
  76. posix/spawn_faction_destroy.c
  77. posix/spawn_faction_init.c
  78. posix/spawn_int.h
  79. posix/spawnattr_destroy.c
  80. posix/spawnattr_getdefault.c
  81. posix/spawnattr_getflags.c
  82. posix/spawnattr_getpgroup.c
  83. posix/spawnattr_getschedparam.c
  84. posix/spawnattr_getschedpolicy.c
  85. posix/spawnattr_getsigmask.c
  86. posix/spawnattr_init.c
  87. posix/spawnattr_setdefault.c
  88. posix/spawnattr_setflags.c
  89. posix/spawnattr_setpgroup.c
  90. posix/spawnattr_setschedparam.c
  91. posix/spawnattr_setschedpolicy.c
  92. posix/spawnattr_setsigmask.c
  93. posix/spawnp.c
  94. stdlib/atoll.c
  95. stdlib/getsubopt.c
  96. stdlib/setenv.c
  97. stdlib/strtoll.c
  98. stdlib/strtoul.c
  99. # Merged from gnulib 2014-6-26, needs merge back
  100. string/memchr.c
  101. string/memcmp.c
  102. string/memmem.c
  103. string/mempcpy.c
  104. string/memrchr.c
  105. string/rawmemchr.c
  106. string/stpcpy.c
  107. string/stpncpy.c
  108. string/str-two-way.h
  109. string/strcasestr.c
  110. string/strcspn.c
  111. string/strdup.c
  112. string/strndup.c
  113. string/strpbrk.c
  114. string/strsignal.c
  115. string/strstr.c
  116. string/strtok_r.c
  117. string/strverscmp.c
  118. # Merged from gnulib 2024-04-08 (gnulib commit 3238349628)
  119. stdio-common/tmpdir.c
  120. stdio-common/tmpdir.h
  121. sysdeps/generic/pty-private.h
  122. sysdeps/generic/siglist.h
  123. sysdeps/posix/euidaccess.c
  124. sysdeps/posix/gai_strerror.c
  125. sysdeps/posix/getcwd.c
  126. sysdeps/posix/pwrite.c
  127. sysdeps/posix/spawni.c
  128. # Merged from gnulib 2024-04-08 (gnulib commit 3238349628)
  129. sysdeps/posix/tempname.c
  130. # Merged from gnulib 2014-6-27
  131. time/mktime.c
  132. time/mktime-internal.h
  133. time/strptime.c
  134. time/timegm.c
  135. # The last merge was 2014-12-11 and merged gettext 0.19.3 into glibc with a
  136. # patch submitted to the gettext mailing list for changes that could be merged
  137. # back.
  138. #
  139. # This commit was omitted from the merge as it does not appear to be compatible
  140. # with how glibc expects things to work:
  141. #
  142. # commit 279b57fc367251666f00e8e2b599b83703451afb
  143. # Author: Bruno Haible <bruno@clisp.org>
  144. # Date: Fri Jun 14 12:03:49 2002 +0000
  145. #
  146. # Make absolute pathnames inside $LANGUAGE work.
  147. gettext:
  148. intl/bindtextdom.c
  149. intl/dcgettext.c
  150. intl/dcigettext.c
  151. intl/dcngettext.c
  152. intl/dgettext.c
  153. intl/dngettext.c
  154. intl/explodename.c
  155. intl/finddomain.c
  156. intl/gettext.c
  157. intl/gettextP.h
  158. intl/gmo.h
  159. intl/hash-string.c
  160. intl/hash-string.h
  161. intl/l10nflist.c
  162. intl/loadinfo.h
  163. intl/loadmsgcat.c
  164. intl/locale.alias
  165. intl/localealias.c
  166. intl/ngettext.c
  167. intl/plural-exp.c
  168. intl/plural-exp.h
  169. intl/plural.y
  170. intl/textdomain.c
  171. # The following files are bundled from upstream Linux 6.10 for FUSE testing
  172. # support.
  173. linux:
  174. support/bundled/linux/COPYING
  175. support/bundled/linux/LICENSES
  176. support/bundled/linux/LICENSES/exceptions/Linux-syscall-note
  177. support/bundled/linux/LICENSES/preferred/GPL-2.0
  178. support/bundled/linux/include/uapi/linux/fuse.h
  179. # The following files are shared with the upstream Unicode project and must be
  180. # updated regularly to stay in sync with the upstream unicode releases.
  181. #
  182. # Merged from Unicode 16.0.0 release.
  183. unicode:
  184. localedata/unicode-gen/UnicodeData.txt
  185. localedata/unicode-gen/unicode-license.txt
  186. localedata/unicode-gen/DerivedCoreProperties.txt
  187. localedata/unicode-gen/EastAsianWidth.txt
  188. 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.
  191. #
  192. # Currently synced to TZDB 2024b, announced and distributed here:
  193. # https://github.com/eggert/tz/releases/tag/2024b
  194. tzcode:
  195. timezone/private.h
  196. timezone/tzfile.h
  197. timezone/tzselect.ksh
  198. timezone/version
  199. timezone/zdump.c
  200. timezone/zic.c
  201. # The following files are shared with the upstream tzdata project but is not
  202. # synchronized regularly. The data files themselves are used only for testing
  203. # purposes and their data is never used to generate any output. We synchronize
  204. # them only to stay on top of newer data that might help with testing.
  205. #
  206. # Currently synced to tzcode 2009i, announced and distributed here:
  207. # https://mm.icann.org/pipermail/tz/2009-June/040697.html
  208. # https://data.iana.org/time-zones/releases/tzdata2009i.tar.gz
  209. tzdata:
  210. timezone/africa
  211. timezone/antarctica
  212. timezone/asia
  213. timezone/australasia
  214. timezone/europe
  215. timezone/northamerica
  216. timezone/southamerica
  217. timezone/pacificnew
  218. timezone/etcetera
  219. timezone/factory
  220. timezone/backward
  221. timezone/systemv
  222. timezone/solar87
  223. timezone/solar88
  224. timezone/solar89
  225. timezone/iso3166.tab
  226. timezone/zone.tab
  227. timezone/leapseconds
  228. # This is yearistype.sh in the parent project
  229. timezone/yearistype
  230. # The following files are imported from the CORE-MATH project, with
  231. # adjustments made to follow glibc code style, to utilize internal error
  232. # handling functions, and to implement minor fixes for ABIs with
  233. # FLT_EVAL_METHOD equal to 2 (i386). Additionally, extra optimizations
  234. # are applied to share the internal data table across different
  235. # implementations.
  236. #
  237. # The project is distribute here:
  238. # https://gitlab.inria.fr/core-math/core-math/
  239. core-math:
  240. # src/binary64/acosh/acosh.c, revision 1bd85b89
  241. sysdeps/ieee754/dbl-64/e_acosh.c
  242. # src/binary64/atanh/atanh.c, revision c423b9a3
  243. sysdeps/ieee754/dbl-64/e_atanh.c
  244. # src/binary64/tgamma/tgamma.c, revision 0f185e23
  245. sysdeps/ieee754/dbl-64/e_gamma_r.c
  246. # src/binary64/lgamma/lgamma.c, revision 0413bb7e
  247. sysdeps/ieee754/dbl-64/e_lgamma_r.c
  248. # src/binary64/asinh/asinh.c, revision cd653cf7
  249. sysdeps/ieee754/dbl-64/s_asinh.c
  250. # src/binary64/erf/erf.c, revision 384ed01d
  251. sysdeps/ieee754/dbl-64/s_erf.c
  252. # src/binary64/erfc/erfc.c, revision 55e9869e
  253. sysdeps/ieee754/dbl-64/s_erfc.c
  254. # src/binary32/acos/acosf.c, revision 56dd347
  255. sysdeps/ieee754/flt-32/e_acosf.c
  256. # src/binary32/acosh/acoshf.c, revision d0b9ddd
  257. sysdeps/ieee754/flt-32/e_acoshf.c
  258. # file src/binary32/cosh/coshf.c, revision de59ecfb
  259. sysdeps/ieee754/flt-32/e_coshf.c
  260. # src/binary32/tgamma/tgammaf.c, revision a48e352
  261. sysdeps/ieee754/flt-32/e_gammaf_r.c
  262. # src/binary32/lgamma/lgammaf.c, revision bc385c2
  263. sysdeps/ieee754/flt-32/e_lgammaf_r.c
  264. # src/binary32/log10/log10f.c, revision bc385c2
  265. sysdeps/ieee754/flt-32/e_log10f.c
  266. # src/binary32/sinh/sinhf.c, revision bbfabd99
  267. sysdeps/ieee754/flt-32/e_sinhf.c
  268. # src/binary32/acospi/acospif.c, revision 1a6a9ab
  269. sysdeps/ieee754/flt-32/s_acospif.c
  270. # src/binary32/asinpi/asinpif.c, revision 6ee58266
  271. sysdeps/ieee754/flt-32/s_asinpif.c
  272. # src/binary32/atan2pi/atan2pif.c, revision dbebee1
  273. sysdeps/ieee754/flt-32/s_atan2pif.c
  274. # src/binary32/atanpi/atanpif.c, revision e02000e
  275. sysdeps/ieee754/flt-32/s_atanpif.c
  276. # src/binary32/cbrt/cbrtf.c, revision f7c7408d
  277. sysdeps/ieee754/flt-32/s_cbrtf.c
  278. # src/binary32/cospi/cospif.c, revision bbfabd99
  279. sysdeps/ieee754/flt-32/s_cospif.c
  280. # src/binary32/erfc/erfcf.c revision d0a2be20
  281. sysdeps/ieee754/flt-32/s_erfcf.c
  282. # src/binary32/erf/erff.c revision bc385c2
  283. sysdeps/ieee754/flt-32/s_erff.c
  284. # src/binary32/exp10m1/exp10m1f.c, revision c46b85b
  285. sysdeps/ieee754/flt-32/s_exp10m1f.c
  286. # src/binary32/exp2m1/exp2m1f.c, revision baf5f6b
  287. sysdeps/ieee754/flt-32/s_exp2m1f.c
  288. # src/binary32/expm1/expm1f.c, revision bc385c2
  289. sysdeps/ieee754/flt-32/s_expm1f.c
  290. # src/binary32/log10p1/log10p1f.c revision bc385c2
  291. sysdeps/ieee754/flt-32/s_log10p1f.c
  292. # src/binary32/log1p/log1pf.c revision bc385c2
  293. sysdeps/ieee754/flt-32/s_log1pf.c
  294. # src/binary32/log2p1/log2p1f.c revision bc385c2
  295. sysdeps/ieee754/flt-32/s_log2p1f.c
  296. # src/binary32/sinpi/sinpif.c, revision bbfabd99d
  297. sysdeps/ieee754/flt-32/s_sinpif.c
  298. # src/binary32/tan/tanf.c, revision 59d21d7
  299. sysdeps/ieee754/flt-32/s_tanf.c
  300. # src/binary32/tanh/tanhf.c, revision b1ecd83
  301. sysdeps/ieee754/flt-32/s_tanhf.c
  302. # src/binary32/tanpi/tanpif.c, revision 3bbf907
  303. sysdeps/ieee754/flt-32/s_tanpif.c