.regex.ChangeLog.14 85 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176
  1. 2002-11-19 Ulrich Drepper <drepper@redhat.com>
  2. * intl/localealias.c (read_alias_file): Use only about 400 bytes
  3. of stack space instead of 16k.
  4. 2002-11-18 Wolfram Gloger <wg@malloc.de>
  5. * malloc/arena.c
  6. (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
  7. nothing if not initialized. Bug report from Marcus Brinkmann
  8. <Marcus.Brinkmann@ruhr-uni-bochum.de>.
  9. 2002-11-19 Roland McGrath <roland@redhat.com>
  10. * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and
  11. sched_setaffinity.
  12. * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
  13. `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
  14. test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
  15. * configure: Regenerated.
  16. 2002-11-19 Ulrich Drepper <drepper@redhat.com>
  17. * include/dlfcn.h: __libc_dlopen is now a macro calling
  18. __libc_dlopen_mode with the extra parameter RTLD_LAZY.
  19. (__libc_dlopen_mode): New prototype.
  20. * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add
  21. new parameter. Store new parameter in mode field of structure passed
  22. to do_dlopen.
  23. (struct do_dlopen_args): Add new field mode.
  24. (do_dlopen): Pass mode from parameter structure to _dl_open.
  25. 2002-11-11 Randolf Chung <tausq@debian.org>
  26. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
  27. (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
  28. * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
  29. * sysdeps/hppa/fpu/libm-test-ulps: New file (generated).
  30. * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
  31. Set -mdisable-fpregs for this file.
  32. 2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
  33. * sysdeps/unix/sysv/linux/configure.in:
  34. Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
  35. from gcc-3.0 era for backwards compatibility.
  36. * sysdeps/unix/sysv/linux/configure: Regenerate.
  37. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
  38. Define mcontext_t as a sigcontext.
  39. 2002-11-18 Roland McGrath <roland@redhat.com>
  40. * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
  41. Free memory in `last_result' if it was used.
  42. * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
  43. all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
  44. Do the parsing inline instead of copying strings and calling
  45. inet_network, and properly skip all alias names not matching the form.
  46. * manual/pattern.texi (Variable Substitution): Fix # and ## examples.
  47. 2002-11-17 Ulrich Drepper <drepper@redhat.com>
  48. * manual/pattern.texi (Wordexp Example): Fix sample code.
  49. * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the
  50. childs stack which will be loaded into the %esi register.
  51. 2002-11-14 Paul Eggert <eggert@twinsun.com>
  52. * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer
  53. overflow when skipping the question part and when unpacking aliases.
  54. 2002-11-15 Roland McGrath <roland@redhat.com>
  55. * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,
  56. s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit.
  57. Instead add $(calls:s_%=m_%) to get m_* versions of them all.
  58. 2002-11-15 Jakub Jelinek <jakub@redhat.com>
  59. * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
  60. * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
  61. 2002-11-15 Roland McGrath <roland@redhat.com>
  62. * math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
  63. * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
  64. from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
  65. (+make-include-of-dep): New canned sequence.
  66. * stdlib/canonicalize.c (__realpath): Check for malloc failure.
  67. From Dmitry V. Levin <ldv@altlinux.org>.
  68. 2002-11-14 Roland McGrath <roland@redhat.com>
  69. * sysdeps/generic/errno.c (__libc_errno): Remove alias.
  70. * inet/herrno.c (__libc_h_errno): Likewise.
  71. * resolv/res_libc.c (__libc_res): Likewise.
  72. [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
  73. (__res_state) [! USE___THREAD]: Don't define as weak.
  74. * csu/Versions: Revert last change.
  75. * resolv/Versions: Revert last change.
  76. * Makerules ($(common-objpfx)%.make): New pattern rule.
  77. * tls.make.c: New file.
  78. * Makefile (distribute): Add it.
  79. * sysdeps/generic/errno.c [! USE___THREAD]
  80. [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
  81. with compat_symbol so they are not link-time visible.
  82. [! USE___THREAD] (__libc_errno): New alias for errno.
  83. * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
  84. Add __libc_errno here.
  85. * inet/herrno.c [USE___THREAD]: Use this conditional
  86. in place of [USE_TLS && HAVE___THREAD].
  87. [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
  88. (h_errno, _h_errno): Declare these with compat_symbol so they are not
  89. link-time visible.
  90. [! USE___THREAD] (__libc_h_errno): New alias for h_errno.
  91. * resolv/res_libc.c [! USE___THREAD]
  92. [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
  93. (_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
  94. (__libc_res): Define as alias for _res.
  95. * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
  96. Add __libc_h_errno and __libc_res here.
  97. 2002-11-14 Jakub Jelinek <jakub@redhat.com>
  98. * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now.
  99. * resolv/Versions (h_errno, _res): Likewise.
  100. 2002-11-14 Roland McGrath <roland@redhat.com>
  101. * Makerules (%.dynsym): Remove $(objpfx) from target and dep.
  102. (%.symlist): Likewise.
  103. 2002-11-13 Roland McGrath <roland@redhat.com>
  104. * scripts/abilist.awk: New file.
  105. * Makefile (distribute): Add it.
  106. * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
  107. (tests): Depend on .symlist file for each $(install-lib.so-versioned).
  108. [$(subdir) = elf] (tests): Depend on libc.symlist.
  109. (generated, common-generated): Add those files.
  110. * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP.
  111. * configure: Regenerated.
  112. * config.make.in (OBJDUMP): New variable, substituted by configure.
  113. * malloc/mcheck.c (struct hdr): New members `block' and `magic2'.
  114. (mallochook, reallochook): Set them up.
  115. (checkhdr): Check HDR->magic2 value.
  116. (freehook): Reset HDR->magic2.
  117. (memalignhook): New static function.
  118. (old_memalign_hook): New static variable.
  119. (mcheck, reallochook): Set __memalign_hook to memalignhook.
  120. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
  121. for the new TCB.
  122. 2002-11-13 Andreas Jaeger <aj@suse.de>
  123. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility
  124. attribute.
  125. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  126. 2002-11-11 Paul Eggert <eggert@twinsun.com>
  127. * manual/crypt.texi (Cryptographic Functions): Mention that
  128. the MD5 one-way algorithm is compatible with BSD's.
  129. 2002-11-11 Isamu Hasegawa <isamu@yamato.ibm.com>
  130. * posix/regex_internal.c (re_string_skip_chars): Also return the last
  131. wide character.
  132. (re_string_reconstruct): Calculate the context by itself when the
  133. offset points out of the valid range.
  134. (re_string_context_at): Use wide character when MB_CUR_MAX > 1.
  135. * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro.
  136. (IS_WIDE_WORD_CHAR): New macro.
  137. (IS_WIDE_NEWLINE): New macro.
  138. 2002-11-12 Andreas Jaeger <aj@suse.de>
  139. * sysdeps/x86_64/strchr.S: Don't use one register for two
  140. purposes, this fixes a bug noticed by test-strchr.c.
  141. * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer
  142. correctly.
  143. 2002-11-12 Roland McGrath <roland@redhat.com>
  144. * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]
  145. (_G_IO_NO_BACKWARD_COMPAT): Define it.
  146. * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h>
  147. instead of <pt-machine.h>.
  148. [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of
  149. testandset.
  150. From Ian Wienand <ianw@gelato.unsw.edu.au>.
  151. 2002-11-10 Roland McGrath <roland@redhat.com>
  152. * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos.
  153. Call fputs instead of fwprintf (simpler to follow in debugger).
  154. * crypt/md5-crypt.c: Doc fix.
  155. * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
  156. the beginning of generated target commands.
  157. * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit
  158. dependencies for these in case implicit rule search skipped the
  159. nonexistent source directory.
  160. * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the
  161. files with $(object-suffixes) as targets too.
  162. * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx).
  163. and a target for it using $(make-target-directory).
  164. * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h.
  165. 2002-11-10 Roland McGrath <roland@frob.com>
  166. * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
  167. * sysdeps/generic/bits/pthreadtypes.h: ... here.
  168. * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with
  169. l_start == 0 and l_len == 1 as we do l_len == 0.
  170. 2002-11-10 Ulrich Drepper <drepper@redhat.com>
  171. * po/da.po: Update from translation team.
  172. 2002-11-10 Roland McGrath <roland@redhat.com>
  173. * config.make.in (includedir): New variable, substituted by configure.
  174. Reported missing by Jocelyn Fournier <joc@presence-pc.com>.
  175. * Makeconfig (includedir): Use $(prefix), not $(exec_prefix).
  176. 2002-11-10 Andreas Jaeger <aj@suse.de>
  177. * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
  178. REG_OLDMASK and REG_CR2 to synch with kernel header.
  179. (NGREG): Increase.
  180. * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
  181. aliasing problem.
  182. * nss/getXXbyYY_r.c (INTERNAL): Likewise.
  183. * nss/getnssent_r.c (__nss_getent_r): Likewise.
  184. (__nss_setent): Likewise.
  185. (__nss_getent_r): Likewise.
  186. * inet/getnetgrent_r.c (innetgr): Likewise.
  187. (__internal_setnetgrent_reuse): Likewise.
  188. (internal_getnetgrent_r): Likewise.
  189. * inet/ether_hton.c (ether_hostton): Likewise.
  190. * inet/ether_ntoh.c (ether_ntohost): Likewise.
  191. * sunrpc/netname.c (netname2user): Likewise.
  192. * sunrpc/publickey.c (getpublickey): Likewise.
  193. (getsecretkey): Likewise.
  194. 2002-11-09 Marcus Brinkmann <marcus@gnu.org>
  195. * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
  196. error in range calculation.
  197. 2002-10-09 Jakub Jelinek <jakub@redhat.com>
  198. * string/test-strspn.c (do_test): Ensure zero termination.
  199. * string/test-strpbrk.c (do_test): Likewise.
  200. * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen.
  201. * string/test-strncpy.c (stupid_strncpy): Likewise.
  202. * string/test-stpncpy.c (stupid_stpncpy): Likewise.
  203. 2002-10-08 Roland McGrath <roland@redhat.com>
  204. * string/test-string.h (test_init): Fill BUF1 and BUF2 with
  205. nonzero characters.
  206. 2002-09-22 H.J. Lu <hjl@gnu.org>
  207. * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed
  208. from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT
  209. only if __NR_mmap2 is defined.
  210. * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
  211. * sysdeps/unix/sysv/linux/mmap64.c: ... here.
  212. * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
  213. * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
  214. 2002-11-08 Jakub Jelinek <jakub@redhat.com>
  215. * posix/bug-regex13.c (tests): Add new test.
  216. * string/test-strchr.c (stupid_strchr): New function.
  217. (do_random_tests): Make sure the string is zero terminated.
  218. * string/test-strpbrk.c (stupid_strpbrk): New function.
  219. (do_random_tests): Make sure the string is zero terminated.
  220. * string/test-strcmp.c (stupid_strcmp): New function.
  221. (do_random_tests): Make sure the strings are zero terminated.
  222. * string/test-strspn.c (stupid_strspn): New function.
  223. (simple_strspn): Rename rej argument to acc.
  224. (do_random_tests): Make sure the string is zero terminated.
  225. * string/test-strcspn.c (stupid_strcspn): New function.
  226. * string/test-strncpy.c (stupid_strncpy): New function.
  227. * string/test-stpncpy.c (stupid_stpncpy): New function.
  228. * string/test-strncmp.c (stupid_strncmp): New function.
  229. (do_random_tests): Make sure the strings are zero terminated.
  230. * string/test-string.h (impl_t): Change test into long.
  231. (IMPL): Add __attribute__((aligned (sizeof (void *)))).
  232. 2002-11-08 Roland McGrath <roland@redhat.com>
  233. * sysdeps/ia64/elf/configure.in: Add TLS check.
  234. From Ian Wienand <ianw@cse.unsw.edu.au>.
  235. * sysdeps/ia64/elf/configure: Regenerated.
  236. 2002-11-07 Roland McGrath <roland@redhat.com>
  237. * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in
  238. place of _IO_new_do_write.
  239. [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and
  240. #undef before versioned_symbol use.
  241. 2002-11-07 Richard Henderson <rth@redhat.com>
  242. * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
  243. * configure: Regenerated.
  244. * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
  245. * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
  246. (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and
  247. _dl_fini via gp-relative relocations.
  248. * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
  249. * elf/tls-macros.h: Add alpha versions.
  250. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
  251. * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
  252. * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
  253. * sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
  254. * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
  255. * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
  256. * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
  257. * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
  258. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
  259. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
  260. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
  261. * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
  262. * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
  263. * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
  264. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
  265. * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
  266. * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
  267. * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
  268. * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
  269. Kill argument registers across the inline syscall.
  270. * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
  271. * linuxthreads/sysdeps/alpha/tls.h: New file.
  272. * sysdeps/alpha/dl-tls.h: New file.
  273. 2002-10-29 David Mosberger <davidm@hpl.hp.com>
  274. * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY]
  275. (gmon_initializer): New function.
  276. (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call
  277. __gmon_start__ here. Call it from gmon_initializer() instead.
  278. 2002-03-12 H.J. Lu <hjl@gnu.org>
  279. * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1,
  280. tst-array2, and tst-array3.
  281. [$(have-initfini-array) = yes] (tests-static): Add tst-array3.
  282. [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep.
  283. ($(objpfx)tst-array1.out): New target.
  284. ($(objpfx)tst-array2): Likewise.
  285. ($(objpfx)tst-array2.out): Likewise.
  286. ($(objpfx)tst-array3.out): Likewise.
  287. * elf/tst-array1.c: New file.
  288. * elf/tst-array1.exp: Likewise.
  289. * elf/tst-array2.c: Likewise.
  290. * elf/tst-array2dep.c: Likewise.
  291. * elf/tst-array2.exp: Likewise.
  292. * elf/tst-array3.c: Likewise.
  293. 2002-10-28 David Mosberger <davidm@hpl.hp.com>
  294. * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order.
  295. Don't add L->l_addr to array entry values.
  296. 2002-11-07 Jakub Jelinek <jakub@redhat.com>
  297. * string/test-string.h: New file.
  298. * string/test-strlen.c: New file.
  299. * string/test-string.h: New file.
  300. * string/test-strcmp.c: New file.
  301. * string/test-strchr.c: New file.
  302. * string/test-strrchr.c: New file.
  303. * string/test-strcpy.c: New file.
  304. * string/test-stpcpy.c: New file.
  305. * string/test-strncpy.c: New file.
  306. * string/test-stpncpy.c: New file.
  307. * string/test-strpbrk.c: New file.
  308. * string/test-strcspn.c: New file.
  309. * string/test-strspn.c: New file.
  310. * string/test-strcat.c: New file.
  311. * string/test-strncmp.c: New file.
  312. * string/test-memchr.c: New file.
  313. * string/test-memcmp.c: New file.
  314. * string/test-memset.c: New file.
  315. * string/test-memcpy.c: New file.
  316. * string/test-mempcpy.c: New file.
  317. * string/test-memmove.c: New file.
  318. * string/Makefile (strop-tests): New variable.
  319. (tests): Add strop-tests.
  320. (distribute): Add test-string.h.
  321. 2002-11-06 Ulrich Drepper <drepper@redhat.com>
  322. * posix/regcomp.c: Use tabs instead of spaces.
  323. * posix/regexec.c: Likewise.
  324. * posix/regex_internal.h: Likewise.
  325. * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
  326. 2002-11-06 Jakub Jelinek <jakub@redhat.com>
  327. * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
  328. here.
  329. (regcomp): Don't set can_be_null here.
  330. (re_comp): Clear whole re_comp_buf with the exception of fastmap.
  331. (re_compile_internal): Clear can_be_null, set regs_allocated.
  332. * posix/regcomp.c (re_set_fastmap): New function.
  333. (re_compile_fastmap_iter): Use it. Remove redundant type ==
  334. COMPLEX_BRACKET check.
  335. * posix/regexec.c (re_search_internal): Optimize searching with
  336. fastmap. Call re_string_reconstruct even if match_first is
  337. smaller than raw_mbs_idx.
  338. 2002-11-06 Isamu Hasegawa <isamu@yamato.ibm.com>
  339. * posix/regcomp (free_dfa_content): Use free_state.
  340. * posix/regex_internal.c (re_string_realloc_buffers): Don't edit
  341. pointers in case that realloc failed.
  342. (re_node_set_merge): Likewise.
  343. (register_state): Likewise.
  344. (create_newstate_common): Invoke memory release functions in case of
  345. error conditions.
  346. (create_ci_newstate): Likewise.
  347. (create_cd_newstate): Likewise.
  348. (free_state): New function.
  349. * posix/regexec.c (re_search_internal): Invoke memory release
  350. functions in case of error conditions.
  351. (sift_states_backward): Likewise.
  352. (merge_state_array): Likewise.
  353. (add_epsilon_src_nodes): Likewise.
  354. (sub_epsilon_src_nodes): Likewise.
  355. (search_subexp): Likewise.
  356. (sift_states_bkref): Likewise.
  357. (transit_state_sb): Likewise.
  358. (transit_state_mb): Likewise.
  359. (transit_state_bkref_loop): Likewise.
  360. (group_nodes_into_DFAstates): Likewise.
  361. (push_fail_stack): Don't edit pointers in case that realloc failed.
  362. (extend_buffers): Likewise.
  363. (match_ctx_add_entry): Likewise.
  364. 2002-11-06 Roland McGrath <roland@redhat.com>
  365. * sysdeps/unix/sysv/linux/mips/configure.in: File removed.
  366. * sysdeps/unix/sysv/linux/mips/configure: Likewise.
  367. * configure.in: Add checks on as and ld for binutils 2.13 or later.
  368. * configure: Regenerated.
  369. 2002-11-06 Ulrich Drepper <drepper@redhat.com>
  370. * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail.
  371. If re_compile_internal failed free fastmap buffer.
  372. (free_dfa_content): Broken out of regfree function. Frees all dfa
  373. related data.
  374. (regfree): Add free_dfa_content.
  375. (re_compile_internal): If any of the called functions fails free
  376. all dfa related memory.
  377. 2002-11-05 Ulrich Drepper <drepper@redhat.com>
  378. * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent
  379. warnings from the kernel headers.
  380. 2002-11-05 Roland McGrath <roland@redhat.com>
  381. * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
  382. From Johannes Stezenbach <js@convergence.de>.
  383. * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
  384. #errlist-compat magic comment to give 123 as size.
  385. (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
  386. (libc: GLIBC_2.2): ... here.
  387. (libc: GLIBC_2.3): Likewise.
  388. 2002-11-05 Ulrich Drepper <drepper@redhat.com>
  389. * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount
  390. which happens at the beginning so that we can unload modules in
  391. __libc_freeres.
  392. 2002-11-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  393. * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only
  394. under [__USE_MISC || _ASM].
  395. * elf/elf.h: Remove the obsolete SH TLS relocations.
  396. 2002-11-05 Ulrich Drepper <drepper@redhat.com>
  397. * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
  398. 2002-11-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  399. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
  400. __NR_pread64 and __NR_pwrite64.
  401. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  402. * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64
  403. and __NR_pwrite64.
  404. Revert change to use INLINE_SYSCALL.
  405. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
  406. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
  407. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
  408. * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use
  409. INLINE_SYSCALL.
  410. * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
  411. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
  412. Update clobber list and add a comment about the syscall ABI.
  413. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
  414. s_pwrite64, s_ftruncate, s_truncate): Re-add.
  415. 2002-11-05 Jakub Jelinek <jakub@redhat.com>
  416. * iconv/gconv_dl.c (free_mem): Clear loaded.
  417. * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's
  418. cleanup if any.
  419. 2002-11-05 Ulrich Drepper <drepper@redhat.com>
  420. * sysdeps/unix/sysv/linux/fexecve.c: Include <stdio.h>.
  421. * libio/ioseekoff.c: Remove INTDEF. Define _IO_seekoff_unlocked. Same
  422. as old code without locking. _IO_seekoff calls this function after
  423. locking the stream.
  424. * libio/ioseekpos.c: Likewise for _IO_seekpos.
  425. * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal
  426. prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked
  427. prototypes.
  428. * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead
  429. of _IO_seekoff_internal.
  430. (_IO_rewind): Likewise.
  431. * libio/ioftell.c: Likewise.
  432. * libio/ftello.c: Likewise.
  433. * libio/ftello64.c: Likewise.
  434. * libio/iofgetpos.c: Likewise.
  435. * libio/iofgetpos64.c: Likewise.
  436. * libio/oldiofgetpos.c: Likewise.
  437. * libio/oldiofgetpos64.c: Likewise.
  438. * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of
  439. _IO_seekpos_internal.
  440. * libio/iofsetpos64.c: Likewise.
  441. * libio/oldiofsetpos.c: Likewise.
  442. * libio/oldiofsetpos64.c: Likewise.
  443. 2002-11-04 Roland McGrath <roland@redhat.com>
  444. * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro.
  445. * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
  446. * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
  447. * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise.
  448. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
  449. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
  450. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
  451. * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise.
  452. * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
  453. * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
  454. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl,
  455. s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64,
  456. sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev):
  457. Remove these, no longer used.
  458. 2002-11-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  459. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc,
  460. s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64,
  461. s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority,
  462. s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot,
  463. s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
  464. s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused
  465. syscall stubs.
  466. * sysdeps/unix/sysv/linux/pwrite.c: Fix typo.
  467. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
  468. * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64
  469. and __NR_pread.
  470. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
  471. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64
  472. and __NR_pwrite.
  473. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
  474. 2002-11-03 Roland McGrath <roland@redhat.com>
  475. * sysdeps/generic/ldsodefs.h (struct rtld_global): New member
  476. `_dl_tls_static_used'.
  477. * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
  478. (__libc_setup_tls): Initialize it. Let the initial value of
  479. _dl_tls_static_size indicate some surplus space in the computed value.
  480. * elf/dl-open.c (_dl_tls_static_size): New variable.
  481. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize
  482. _dl_tls_static_used. Add some surplus space into _dl_tls_static_size.
  483. * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
  484. (CHECK_STATIC_TLS): Use it.
  485. * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the
  486. closed objects occupied a trailing contiguous chunk of static TLS area.
  487. 2002-10-18 Bruno Haible <bruno@clisp.org>
  488. * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0.
  489. 2002-11-04 Ulrich Drepper <drepper@redhat.com>
  490. * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and
  491. _wide_data->_IO_read_end if adjustment can be made in the current
  492. buffer.
  493. * sysdeps/unix/sysv/linux/fexecve.c: New file.
  494. * libio/bug-wfflush.c (do_test): Using fseek is not allowed when
  495. wide oriented streams are used.
  496. * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the
  497. service hasn't been used [PR libc/4744].
  498. * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION.
  499. Reported by Miloslav Trmac <mitr@volny.cz> [PR libc/4766].
  500. * manual/examples/dir.c: Don't include <stddef.h>.
  501. * manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
  502. Reported by Frédéric Delanoy <delanoy_f@yahoo.com>.
  503. 2002-11-02 H.J. Lu <hjl@gnu.org>
  504. * stdio-common/reg-printf.c: Include <stddef.h>.
  505. 2002-11-03 Ulrich Drepper <drepper@redhat.com>
  506. * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used.
  507. * po/ca.po: Update from translation team.
  508. * po/es.po: Likewise.
  509. * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF
  510. is defined write out memory map.
  511. * sysdeps/unix/sysv/linux/segfault.c: New file.
  512. 2002-11-02 Roland McGrath <roland@redhat.com>
  513. * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for
  514. pointers that can alias.
  515. Reported by Daniel Jacobowitz <drow@mvista.com>.
  516. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file.
  517. 2002-11-02 Roland McGrath <roland@redhat.com>
  518. * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
  519. description to be clearer and to say that *RESULT is set to ENTRY.
  520. 2002-10-30 Jakub Jelinek <jakub@redhat.com>
  521. * posix/regexec.c (build_trtable): Alloca or malloc dests_node and
  522. dests_ch arrays together. Alloca or malloc dest_states,
  523. dest_states_word and dest_states_nl arrays together. Free memory on
  524. error exit.
  525. 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
  526. * crypt/crypt_util.c (__init_des_r): Initialize current_salt
  527. and current_saltbits.
  528. 2002-11-02 Roland McGrath <roland@redhat.com>
  529. * stdio-common/reg-printf.c: Include <stdlib.h>.
  530. 2002-11-02 H.J. Lu <hjl@gnu.org>
  531. * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
  532. caller to EXTRA instead of execve.
  533. 2002-11-01 Roland McGrath <roland@redhat.com>
  534. * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional
  535. in place of [!(USE_TLS && HAVE___THREAD)].
  536. (__errno_location) [! USE___THREAD]: Define as strong, not weak.
  537. 2002-10-31 Roger Sayle <roger@eyesopen.com>
  538. * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
  539. New macros.
  540. * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
  541. * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
  542. without defining FP_ROUNDMODE.
  543. 2002-10-29 Jakub Jelinek <jakub@redhat.com>
  544. * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
  545. (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
  546. declare_symbol.
  547. * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
  548. (OLD_SIGLIST_SIZE): Define.
  549. * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
  550. (OLD_SIGLIST_SIZE): Define.
  551. * sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
  552. 2002-11-01 Jakub Jelinek <jakub@redhat.com>
  553. * sysdeps/ia64/strncpy.S: Fix recovery code.
  554. 2002-10-30 Jakub Jelinek <jakub@redhat.com>
  555. * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
  556. New macros.
  557. * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
  558. text_set_element.
  559. * elf/dl-libc.c (free_mem): Likewise.
  560. * iconv/gconv_conf.c (free_mem): Likewise.
  561. * iconv/gconv_db.c (free_mem): Likewise.
  562. * iconv/gconv_dl.c (free_mem): Likewise.
  563. * iconv/gconv_cache.c (free_mem): Likewise.
  564. * intl/finddomain.c (free_mem): Likewise.
  565. * intl/dcigettext.c (free_mem): Likewise.
  566. * locale/setlocale.c (free_mem): Likewise.
  567. * misc/fstab.c (fstab_free): Likewise.
  568. * nss/nsswitch.c (free_mem): Likewise.
  569. * posix/regcomp.c (free_mem): Likewise.
  570. * resolv/gai_misc.c (free_res): Likewise.
  571. * stdlib/fmtmsg.c (free_mem): Likewise.
  572. * sunrpc/clnt_perr.c (free_mem): Likewise.
  573. * sysdeps/generic/setenv.c (free_mem): Likewise.
  574. * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
  575. * sysdeps/pthread/aio_misc.c (free_res): Likewise.
  576. * time/tzset.c (free_mem): Likewise.
  577. * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
  578. * locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
  579. * malloc/set-freeres.c (__libc_freeres): Likewise.
  580. * login/getutent.c: Include stdlib.h instead of stddef.h.
  581. (buffer): Change into pointer to utmp, add libc_freeres_ptr.
  582. (__getutent): Allocate buffer the first time it is run.
  583. * login/getutid.c: Include stdlib.h instead of stddef.h.
  584. (buffer): Change into pointer to utmp, add libc_freeres_ptr.
  585. (__getutid): Allocate buffer the first time it is run.
  586. * login/getutline.c: Include stdlib.h instead of stddef.h.
  587. (buffer): Change into pointer to utmp, add libc_freeres_ptr.
  588. (__getutline): Allocate buffer the first time it is run.
  589. * malloc/mtrace.c (malloc_trace_buffer): Change into char *.
  590. (mtrace): Allocate malloc_trace_buffer.
  591. * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
  592. * resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
  593. * string/strerror.c: Include libintl.h and errno.h.
  594. (buf): New variable.
  595. (strerror): Only allocate buffer if actually needed (unknown error).
  596. * time/tzfile.c (transitions): Add libc_freeres_ptr.
  597. (freeres): Remove.
  598. 2002-10-25 Jakub Jelinek <jakub@redhat.com>
  599. * include/libc-symbols.h (libc_freeres_ptr): New macro.
  600. * malloc/set-freeres.c (__libc_freeres_ptrs): Define using
  601. symbol_set_define.
  602. (__libc_freeres): Free all pointers in that section.
  603. * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
  604. commands when creating .lds script.
  605. (LDSEDCMD-c.so): New variable.
  606. * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
  607. (rcmd_af): Use strdup to allocate ahostbuf.
  608. * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
  609. (rexec_af): Use strdup to allocate ahostbuf.
  610. * stdio-common/reg-printf.c (printf_funcs): Remove.
  611. (__printf_arginfo_table): Change into printf_arginfo_function **.
  612. Add libc_freeres_ptr.
  613. (__register_printf_function): Allocate __printf_arginfo_table
  614. and __printf_function_table the first time it is called.
  615. * stdio-common/printf-parse.h (__printf_arginfo_table): Change into
  616. printf_arginfo_function **.
  617. (parse_one_spec): Add __builtin_expect.
  618. * grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
  619. (free_mem): Remove.
  620. * inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
  621. (free_mem): Remove.
  622. * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
  623. (string_space, map): Add libc_freeres_ptr.
  624. (free_mem): Remove.
  625. * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
  626. (free_mem): Remove.
  627. * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
  628. (free_mem): Remove.
  629. * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
  630. (buffer): Add libc_freeres_ptr.
  631. (free_mem): Remove for _LIBC.
  632. * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
  633. (free_mem): Remove.
  634. * nss/getXXent.c (buffer): Add libc_freeres_ptr.
  635. (free_mem): Remove.
  636. * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
  637. (free_mem): Remove.
  638. * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
  639. (free_mem): Remove.
  640. * shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
  641. (free_mem): Remove.
  642. * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
  643. (free_mem): Remove.
  644. * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
  645. libc_freeres_ptr.
  646. (free_mem): Remove.
  647. * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
  648. libc_freeres_ptr.
  649. (free_mem): Remove.
  650. 2002-10-30 Jakub Jelinek <jakub@redhat.com>
  651. * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
  652. instead of duplicating the whole function in libc.
  653. 2002-10-31 Roland McGrath <roland@redhat.com>
  654. * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
  655. Renamed from __bswap_16 (typo fix). Reported by <dens@stl.sarov.ru>.
  656. 2002-10-30 Jakub Jelinek <jakub@redhat.com>
  657. * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
  658. 32bit-predefine when creating .new32 list and -U for each
  659. 32bit-predefine when creating .new64 list.
  660. * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.
  661. 2002-10-29 Andreas Schwab <schwab@suse.de>
  662. * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not
  663. "testrtsig.h". Reported by Daniel Jacobowitz <dan@debian.org>.
  664. 2002-10-25 Roland McGrath <roland@redhat.com>
  665. * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
  666. * sysdeps/unix/sysv/linux/configure: Regenerated.
  667. * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
  668. _dl_starting_up decl.
  669. 2002-10-20 H.J. Lu <hjl@gnu.org>
  670. * sysdeps/unix/sysv/linux/configure.in: Don't check
  671. /lib/modules/`uname -r`/build/include for kernel headers if
  672. cross compiling.
  673. * sysdeps/unix/sysv/linux/configure: Regenerated.
  674. 2002-10-25 Roland McGrath <roland@redhat.com>
  675. * math/math.h (M_LOG2El): Correct the value.
  676. From Stephen L Moshier <steve@moshier.net>.
  677. * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
  678. conditional from __libc_multiple_libcs access. Remove kludge for weak
  679. symbol access with old compilers we no longer support.
  680. * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
  681. * sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
  682. 2002-10-25 Roland McGrath <roland@redhat.com>
  683. * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
  684. implement SV_RESETHAND by translating it to SA_RESETHAND.
  685. 2002-10-23 Alexandre Oliva <aoliva@redhat.com>
  686. * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation
  687. type on ELF64 platforms.
  688. 2002-10-24 Ulrich Drepper <drepper@redhat.com>
  689. * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
  690. * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
  691. 2002-10-24 Jakub Jelinek <jakub@redhat.com>
  692. * elf/dl-misc.c: Include <sysdep.h>.
  693. (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.
  694. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
  695. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
  696. (INLINE_SYSCALL): Use that.
  697. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
  698. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
  699. (INLINE_SYSCALL): Use that.
  700. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
  701. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
  702. (INLINE_SYSCALL): Use that.
  703. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
  704. dl-sysdep.h.
  705. (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
  706. (__INTERNAL_SYSCALL_STRING): Define.
  707. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
  708. dl-sysdep.h.
  709. (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
  710. (__INTERNAL_SYSCALL_STRING): Define.
  711. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
  712. __SYSCALL_STRING to inline_syscall*.
  713. (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
  714. New macros.
  715. (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
  716. inline_syscall4, inline_syscall5, inline_syscall6): Add string
  717. argument.
  718. 2002-10-24 Roland McGrath <roland@redhat.com>
  719. * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
  720. * sysdeps/unix/sysv/linux/init-first.c: Not here.
  721. * sysdeps/powerpc/elf/libc-start.c: Or here.
  722. * sysdeps/unix/sysv/aix/libc-start.c: Or here.
  723. * sysdeps/unix/sysv/aix/start-libc.c: Or here.
  724. * sysdeps/unix/sysv/aix/init-first.c: Or here.
  725. * sysdeps/generic/libc-start.c: Or here.
  726. * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
  727. access with [! SHARED].
  728. * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
  729. * libio/bug-wfflush.c: New file.
  730. * libio/Makefile (tests): Add bug-wfflush.
  731. 2002-10-23 Roland McGrath <roland@redhat.com>
  732. * stdio-common/tst-fphex.c: New file.
  733. * stdio-common/Makefile (tests): Add tst-fphex.
  734. * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
  735. of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad
  736. chars always before the value digits.
  737. Reported by James Antill <james.antill@redhat.com>.
  738. 2002-10-24 Jakub Jelinek <jakub@redhat.com>
  739. * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
  740. (free_mem): New function.
  741. * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem
  742. if not cross compiling.
  743. (generated): Add bug-regex14-mem and bug-regex14.mtrace.
  744. (bug-regex14-ENV): Set.
  745. (bug-regex14-mem): New target.
  746. * posix/bug-regex14.c: New file.
  747. 2002-10-23 Roland McGrath <roland@redhat.com>
  748. * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
  749. target, so we don't touch it when the link fails.
  750. * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
  751. Check for the result overflowing off_t and fail with EOVERFLOW.
  752. * libio/ioftell.c (_IO_ftell): Likewise.
  753. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
  754. * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
  755. use a temporary timeval on the stack for gettimeofday and copy it.
  756. * login/logout.c (logout): Likewise.
  757. Reported by Steven Munroe <sjmunroe@us.ibm.com>.
  758. * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
  759. Use __SWORD_TYPE instead of int for member types.
  760. (struct statfs64): Likewise.
  761. * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
  762. * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
  763. * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
  764. * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
  765. * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
  766. * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
  767. * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
  768. (ST_NODIRATIME): Restore fixed value of 2048.
  769. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
  770. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
  771. Rearranged <bits/types.h> definitions to reduce duplication.
  772. * sysdeps/generic/bits/types.h: Rewritten, using macros from
  773. <bits/wordsize.h> and new header <bits/typesizes.h>.
  774. * posix/Makefile (headers): Add bits/typesizes.h here.
  775. * sysdeps/generic/bits/typesizes.h: New file.
  776. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
  777. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
  778. * sysdeps/mach/hurd/bits/typesizes.h: New file.
  779. * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
  780. * sysdeps/unix/sysv/linux/bits/types.h: File removed.
  781. * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
  782. * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
  783. * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
  784. * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
  785. * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
  786. * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
  787. <bits/pthreadtypes.h> here, not in <bits/types.h>.
  788. * signal/signal.h: Likewise.
  789. * streams/stropts.h: Include <bits/xtitypes.h>.
  790. * streams/Makefile (headers): Add bits/xtitypes.h here.
  791. * sysdeps/generic/bits/xtitypes.h: New file.
  792. * sysdeps/s390/bits/xtitypes.h: New file.
  793. * sysdeps/ia64/bits/xtitypes.h: New file.
  794. * sysdeps/x86_64/bits/xtitypes.h: New file.
  795. * sysvipc/Makefile (headers): Add bits/ipctypes.h here.
  796. * sysdeps/generic/bits/ipctypes.h: New file.
  797. * sysdeps/mips/bits/ipctypes.h: New file.
  798. * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
  799. * sysdeps/gnu/bits/msq.h: Likewise.
  800. * sysvipc/sys/ipc.h: Likewise.
  801. 2002-10-22 Ulrich Drepper <drepper@redhat.com>
  802. * elf/dl-load.c (struct filebuf): For buf element to have the
  803. alignment of ElfXX_Ehdr since this is what will be stored in it.
  804. 2002-10-22 Jakub Jelinek <jakub@redhat.com>
  805. * locale/programs/locarchive.c (add_alias): Change locrec_offset arg
  806. into pointer to locrec_offset.
  807. (add_locale_to_archive): Adjust callers. Free normalized_name right
  808. before returning, not immediately after add_locale, pass it to
  809. add_alias if not NULL instead of name. Rename second normalized_name
  810. occurence to nnormalized_codeset_name.
  811. * locale/programs/locarchive.c (enlarge_archive): Make sure
  812. string_size is always a multiple of 4.
  813. Reported by Andreas Schwab <schwab@suse.de>.
  814. 2002-10-21 Andreas Schwab <schwab@suse.de>
  815. * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
  816. caller to EXTRA instead of execve, since the latter has a
  817. higher-priority implementation in linuxthreads.
  818. 2002-10-21 Roland McGrath <roland@redhat.com>
  819. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
  820. slotinfo list's len member to the proper size, not just 1.
  821. Initialize static_map.l_tls_initimage.
  822. * elf/dl-open.c (dl_open_worker): Fix loop searching for
  823. dtv_slotinfo_list element containing new modules' l_tls_modid.
  824. * elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
  825. * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
  826. * elf/Makefile (tests): Add tst-tls9.
  827. (tests-static): Add tst-tls9-static.
  828. (tst-tls9-static-ENV): New variable.
  829. ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
  830. * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
  831. modids used by partially loaded modules being closed can't be known.
  832. 2002-10-21 Isamu Hasegawa <isamu@yamato.ibm.com>
  833. * posix/Makefile: Add a test case for the bug reported by Aharon
  834. Robbins <arnold@skeeve.com>.
  835. * posix/bug-regex13.c: New file.
  836. * posix/regcomp.c (peek_token_bracket): Skip the byte already read.
  837. 2002-10-21 Ulrich Drepper <drepper@redhat.com>
  838. * csu/gmon-start.c: Pretty printing.
  839. 2002-10-19 Art Haas <ahaas@neosoft.com>
  840. * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
  841. add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
  842. add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
  843. * configure: Regenerated.
  844. 2002-10-19 Roland McGrath <roland@redhat.com>
  845. * configure.in: Call AC_CONFIG_SUBDIRS with empty argument
  846. and then set $subdirs directly, because the new Autoconf breaks
  847. compatibility in every way imaginable and insists on whining
  848. about usage that worked since the dawn of time.
  849. * configure: Regenerated.
  850. * configure: Regenerated (using Autoconf 2.54).
  851. * sysdeps/alpha/elf/configure: Likewise.
  852. * sysdeps/generic/configure: Likewise.
  853. * sysdeps/i386/elf/configure: Likewise.
  854. * sysdeps/ia64/elf/configure: Likewise.
  855. * sysdeps/mach/hurd/configure: Likewise.
  856. * sysdeps/mach/configure: Likewise.
  857. * sysdeps/unix/configure: Likewise.
  858. * sysdeps/unix/common/configure: Likewise.
  859. * sysdeps/unix/sysv/aix/configure: Likewise.
  860. * sysdeps/unix/sysv/linux/configure: Likewise.
  861. * sysdeps/unix/sysv/linux/mips/configure: Likewise.
  862. * sysdeps/x86_64/elf/configure: Likewise.
  863. * config.make.in: Nix completely-soft nonsense.
  864. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory
  865. of machine directories instead of fpu subdirectory.
  866. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
  867. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
  868. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
  869. * sysdeps/powerpc/nofpu/sim-full.c: ... here.
  870. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
  871. * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
  872. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
  873. * sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
  874. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
  875. * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
  876. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
  877. * sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
  878. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
  879. * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
  880. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
  881. * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
  882. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
  883. * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
  884. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
  885. * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
  886. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
  887. * sysdeps/powerpc/nofpu/fegetenv.c: ... here.
  888. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
  889. * sysdeps/powerpc/nofpu/fesetenv.c: ... here.
  890. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
  891. * sysdeps/powerpc/nofpu/fegetround.c: ... here.
  892. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
  893. * sysdeps/powerpc/nofpu/fesetround.c: ... here.
  894. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
  895. * sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
  896. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
  897. * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
  898. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
  899. * sysdeps/powerpc/nofpu/fenv_const.c: ... here.
  900. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
  901. * sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
  902. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
  903. * sysdeps/powerpc/nofpu/soft-supp.h: ... here.
  904. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
  905. * sysdeps/powerpc/nofpu/Versions: ... here, new file.
  906. 2002-10-19 Bruno Haible <bruno@clisp.org>
  907. * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
  908. 2002-10-18 Roland McGrath <roland@redhat.com>
  909. * io/Makefile (routines): Add lchmod.
  910. * io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
  911. * sysdeps/generic/lchmod.c: New file.
  912. * sysdeps/mach/hurd/lchmod.c: New file.
  913. * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
  914. 2002-10-18 Art Haas <ahaas@neosoft.com>
  915. * configure.in: Remove remaining AC_FD_CC macros, and replace
  916. AC_FD_MSG with AS_MESSAGE_FD.
  917. 2002-10-18 Roland McGrath <roland@redhat.com>
  918. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
  919. typos: VALUE -> FINALADDR.
  920. * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
  921. (inline_syscall_clobbers, inline_syscall0, inline_syscall1)
  922. (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
  923. (inline_syscall6): Move these macros ...
  924. * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
  925. * configure.in (libc_link_dests, libc_link_sources): Remove these
  926. variables and the AC_LINK_FILES call.
  927. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
  928. change to put new symbols here instead of in GLIBC_2.2.
  929. * sysdeps/powerpc/Subdirs: Move this file ...
  930. * sysdeps/powerpc/soft-fp/Subdirs: ... here.
  931. 2002-10-07 Roland McGrath <roland@redhat.com>
  932. * sysdeps/generic/bits/time.h: Replaced with contents of the
  933. sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following
  934. files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
  935. and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
  936. macros is ok even for architectures that don't now implement them.
  937. * sysdeps/mach/hurd/bits/time.h: File removed.
  938. * sysdeps/unix/sysv/linux/bits/time.h: File removed.
  939. * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
  940. * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
  941. * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
  942. * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
  943. 2002-10-18 Jeff Bailey <jbailey@gnu.org>
  944. * configure.in: Replace obsolete AC_OUTPUT syntax with
  945. AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
  946. * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
  947. _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
  948. * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
  949. * sysdeps/alpha/elf/configure.in: Likewise.
  950. * sysdeps/i386/elf/configure.in: Likewise.
  951. * sysdeps/mach/hurd/configure.in: Likewise.
  952. * sysdeps/x86_64/elf/configure.in: Likewise.
  953. * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
  954. * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
  955. * sysdeps/generic/configure.in: Likewise.
  956. * sysdeps/i386/elf/configure.in: Likewise.
  957. * sysdeps/ia64/elf/configure.in: Likewise.
  958. * sysdeps/mach/configure.in: Likewise.
  959. * sysdeps/mach/hurd/configure.in: Likewise.
  960. * sysdeps/unix/configure.in: Likewise.
  961. * sysdeps/unix/common/configure.in: Likewise.
  962. * sysdeps/unix/sysv/aix/configure.in: Likewise.
  963. * sysdeps/unix/sysv/linux/configure.in: Likewise.
  964. * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
  965. * sysdeps/x86_64/elf/configure.in: Likewise.
  966. * aclocal.m4: Use just the bits from AS_INIT that are needed for the
  967. GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so
  968. that it's obvious when extra autoconf machinery is being dragged in.
  969. 2002-10-18 Roland McGrath <roland@redhat.com>
  970. * configure.in: Remove bogus echo included in
  971. 2002-10-08 Aldy Hernandez <aldyh@redhat.com> change.
  972. * configure: Regenerated.
  973. 2002-10-18 Jakub Jelinek <jakub@redhat.com>
  974. * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
  975. (statfs_filesize_max): New function.
  976. * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
  977. JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
  978. ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
  979. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
  980. statfs_filesize_max.
  981. * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
  982. * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
  983. * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
  984. 2002-10-17 Roland McGrath <roland@redhat.com>
  985. * configure.in (MIG): Just AC_SUBST it here.
  986. * configure: Regenerated.
  987. * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
  988. Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
  989. * sysdeps/mach/configure: Regenerated.
  990. * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
  991. and AC_PROVIDE([_AS_CR_PREPARE]).
  992. * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]).
  993. Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
  994. * elf/dl-support.c: Move _dl_tls_* variables to ...
  995. * sysdeps/generic/libc-tls.c: ... here.
  996. * elf/dl-close.c (remove_slotinfo): Take new argument. If false,
  997. allow IDX to be one past the current last slotinfo entry.
  998. (_dl_close): Pass IMAP->l_init_called for that parameter.
  999. 2002-10-07 Andreas Schwab <schwab@suse.de>
  1000. * aclocal.m4: Fix for autoconf 2.53.
  1001. * configure.in: Likewise. Require autoconf 2.53.
  1002. 2002-10-08 Richard Henderson <rth@redhat.com>
  1003. * soft-fp/op-4.h: Handle carry correctly in
  1004. __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
  1005. __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
  1006. * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
  1007. 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
  1008. * configure.in: Compute completely-soft.
  1009. * config.make.in: Make completely-soft available to sub-makes.
  1010. * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
  1011. gcc-double-routines. Add sim-full.c. Add fenv_const and
  1012. fe_nomask to libm-support.
  1013. * sysdeps/powerpc/soft-fp/sim-full.c: New file.
  1014. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
  1015. * sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
  1016. * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
  1017. * sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
  1018. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
  1019. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
  1020. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
  1021. * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
  1022. * sysdeps/powerpc/soft-fp/fegetenv.c: New file.
  1023. * sysdeps/powerpc/soft-fp/fesetenv.c: New file.
  1024. * sysdeps/powerpc/soft-fp/fegetround.c: New file.
  1025. * sysdeps/powerpc/soft-fp/fesetround.c: New file.
  1026. * sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
  1027. * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
  1028. * sysdeps/powerpc/soft-fp/fenv_const.c: New file.
  1029. * sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
  1030. * sysdeps/powerpc/soft-fp/soft-supp.h: New file.
  1031. * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
  1032. symbols. Add __sim_disabled_exceptions, __sim_exceptions,
  1033. __sim_round_mode.
  1034. * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
  1035. * sysdeps/powerpc/soft-float/sfp-machine.h: Define
  1036. FP_HANDLE_EXCEPTIONS.
  1037. Define FP_ROUNDMODE.
  1038. Redefine FP_* macros to correspond to the FE_* bit positions.
  1039. Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
  1040. Define externs for __sim_exceptions, __sim_disabled_exceptions,
  1041. __sim_round_mode, __simulate_exceptions.
  1042. * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
  1043. * sysdeps/powerpc/bits/fenv.h: ...to here.
  1044. 2002-10-06 Jakub Jelinek <jakub@redhat.com>
  1045. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
  1046. Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
  1047. Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix
  1048. R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
  1049. __builtin_expect.
  1050. 2002-10-15 Jakub Jelinek <jakub@redhat.com>
  1051. * include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
  1052. __libc_res_nsend): New prototypes.
  1053. * resolv/res_query.c (QUERYSIZE): Define.
  1054. (__libc_res_nquery): Renamed from res_nquery. Added answerp
  1055. argument. Allocate only QUERYSIZE bytes first, if res_nmkquery
  1056. fails use MAXPACKET buffer. Call __libc_res_nsend instead of
  1057. res_nsend, pass answerp.
  1058. (res_nquery): Changed into wrapper around __libc_res_nquery.
  1059. (__libc_res_nsearch): Renamed from res_nsearch. Added answerp
  1060. argument. Call __libc_res_nquerydomain and __libc_res_nquery
  1061. instead of the non-__libc_ variants, pass them answerp.
  1062. (res_nsearch): Changed into wrapper around __libc_res_nsearch.
  1063. (__libc_res_nquerydomain): Renamed from res_nquerydomain.
  1064. Added answerp argument. Call __libc_res_nquery instead of
  1065. res_nquery, pass answerp.
  1066. (res_nquerydomain): Changed into wrapper around
  1067. __libc_res_nquerydomain.
  1068. * resolv/res_send.c: Include sys/ioctl.h.
  1069. (MAXPACKET): Define.
  1070. (send_vc): Change arguments. Reallocate answer buffer if it is
  1071. too small.
  1072. (send_dg): Likewise.
  1073. (__libc_res_nsend): Renamed from res_nsend. Added ansp argument.
  1074. Reallocate answer buffer if it is too small and hooks are in use.
  1075. Adjust calls to send_vc and send_dg.
  1076. (res_nsend): Changed into wrapper around __libc_res_nsend.
  1077. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
  1078. just 1K answer buffer on the stack, use __libc_res_nsearch instead
  1079. of res_nsearch.
  1080. (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
  1081. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
  1082. (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
  1083. * resolv/gethnamaddr.c (gethostbyname2): Likewise.
  1084. (gethostbyaddr): Similarly with __libc_res_nquery.
  1085. * resolv/Versions (libresolv): Export __libc_res_nquery and
  1086. __libc_res_nsearch at GLIBC_PRIVATE.
  1087. 2002-10-17 Roland McGrath <roland@redhat.com>
  1088. * configure.in: Grok --without-__thread and disable HAVE___THREAD.
  1089. * configure: Regenerated.
  1090. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
  1091. before performing the reloc, not after.
  1092. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
  1093. 2002-10-17 Ulrich Drepper <drepper@redhat.com>
  1094. * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
  1095. * locale/programs/linereader.c (lr_open): Likewise.
  1096. * locale/programs/charmap-dir.c (charmap_open): Likewise.
  1097. * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
  1098. 2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com>
  1099. * posix/bug-regex11.c: Add a test case for the bug reported by
  1100. Paolo Bonzini <bonzini@gnu.org>.
  1101. * posix/regexec.c (sift_states_bkref): Use correct destination of
  1102. the back reference.
  1103. 2002-10-17 Roland McGrath <roland@redhat.com>
  1104. * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
  1105. * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
  1106. to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
  1107. * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
  1108. Call it after performing TPOFF relocs.
  1109. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
  1110. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
  1111. * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
  1112. * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
  1113. when closing a partially-initialized object.
  1114. * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
  1115. instead of _dl_fatal_printf when we see PT_TLS.
  1116. * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
  1117. instead of $(libof-$<).
  1118. 2002-10-16 Roland McGrath <roland@redhat.com>
  1119. * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
  1120. instead of += to append, to be sure $(lib) gets expanded at defn time.
  1121. (libof-$(cpp-src)): New variable, define this instead.
  1122. * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
  1123. (lib): Don't use override.
  1124. (CPPFLAGS-$(lib)): New variable, put -D's here.
  1125. * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
  1126. Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
  1127. LIB found by $(libof-*) for basename, target, or source.
  1128. * Makerules (CPPFLAGS-nonlib): New variable.
  1129. * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
  1130. * locale/Makefile (lib): Likewise.
  1131. * sunrpc/Makefile (lib): Likewise.
  1132. * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
  1133. * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
  1134. * sysdeps/unix/sysv/linux/pathconf.h: New file.
  1135. (statfs_link_max): New function, guts from fpathconf.c.
  1136. * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
  1137. * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
  1138. * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
  1139. to use the linux/pathconf.c code by #include rather than duplication.
  1140. * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
  1141. 2002-10-16 Jakub Jelinek <jakub@redhat.com>
  1142. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  1143. Use __libc_errno only for libc itself.
  1144. 2002-10-16 Andreas Jaeger <aj@suse.de>
  1145. * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access.
  1146. 2002-10-16 Ulrich Drepper <drepper@redhat.com>
  1147. * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
  1148. Use __libc_errno only for libc itself.
  1149. 2002-10-15 Roland McGrath <roland@redhat.com>
  1150. Jakub Jelinek <jakub@redhat.com>
  1151. * sysdeps/unix/sysv/linux/Makefile
  1152. ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from
  1153. sparc/Makefile to produce a bi-arch file as needed.
  1154. That's now parameterized by the variable $(64bit-predefine).
  1155. Use LC_ALL=C for `comm' commands in that rule.
  1156. No longer conditional on [$(no_syscall_list_h)].
  1157. * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules.
  1158. (64bit-predefine): New variable.
  1159. * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
  1160. * sysdeps/unix/sysv/linux/s390/Makefile: New file.
  1161. * sysdeps/unix/sysv/linux/powerpc/Makefile
  1162. (64bit-predefine): New variable.
  1163. 2002-10-15 Roland McGrath <roland@redhat.com>
  1164. * sysdeps/unix/sysv/linux/Makefile
  1165. ($(objpfx)syscall-%.h $(objpfx)syscall-%.d)
  1166. * login/utmp-private.h: Declare __libc_utmp_lock.
  1167. * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once
  1168. and call __libc_utmp_jump_table functions directly, instead of using
  1169. __setutent et al.
  1170. * sysdeps/unix/sysv/linux/configure.in: Use case instead of if.
  1171. * sysdeps/unix/sysv/linux/configure: Regenerated.
  1172. * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.
  1173. (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
  1174. Use int32_t for ll_time.
  1175. (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
  1176. Use int32_t instead of long int for ut_session.
  1177. Use an anonymous struct with 32-bit fields for ut_tv.
  1178. * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>.
  1179. (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same
  1180. here as in utmp.h for `struct utmp'.
  1181. * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed.
  1182. * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed.
  1183. * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed.
  1184. * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed.
  1185. * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed.
  1186. * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed.
  1187. * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
  1188. of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
  1189. All the following files were identical or equivalent to it.
  1190. * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
  1191. * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
  1192. * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
  1193. * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
  1194. * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
  1195. * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
  1196. * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
  1197. * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
  1198. * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
  1199. * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
  1200. * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
  1201. instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
  1202. Other than the previously incorrect sign of msg_iovlen, this is a
  1203. no-op on 32-bit platforms. On 64-bit platforms it makes this header
  1204. match their layouts as well, so the following are now identical to it.
  1205. * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
  1206. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
  1207. * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
  1208. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
  1209. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
  1210. 2002-10-15 Ulrich Drepper <drepper@redhat.com>
  1211. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
  1212. Define for 2.4+ kernels.
  1213. * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which
  1214. are known to have the vfork syscall. Don't confuse the CPUs
  1215. branch prediction unit by jumping to the return address.
  1216. * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
  1217. support for reiserfs and xfs.
  1218. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
  1219. XFS link count.
  1220. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
  1221. and XFS_LINK_MAX.
  1222. Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
  1223. 2002-10-16 Jakub Jelinek <jakub@redhat.com>
  1224. * include/libc-symbols.h (attribute_tls_model_ie): Define.
  1225. * include/errno.h (errno): Define to __libc_errno in libc.so.
  1226. Add attribute_tls_model_ie.
  1227. * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so.
  1228. Add attribute_tls_model_ie.
  1229. * include/resolv.h (_res): Define to __libc_res in libc.so. Add
  1230. attribute_tls_model_ie.
  1231. * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno.
  1232. (h_errno): Define.
  1233. * resolv/res_libc.c (__libc_res): Add hidden alias to _res.
  1234. (_res): Define.
  1235. * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add
  1236. attribute_tls_model_ie.
  1237. * sysdeps/generic/errno-loc.c (errno): Only undefine if not using
  1238. __thread.
  1239. * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno.
  1240. * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use
  1241. __libc_errno in USE___THREAD case.
  1242. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  1243. Likewise.
  1244. * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for
  1245. __attribute__((tls_model (""))).
  1246. * configure: Rebuilt.
  1247. * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add.
  1248. 2002-10-15 Ulrich Drepper <drepper@redhat.com>
  1249. * timezone/asia: Update from tzdata2002d.
  1250. * timezone/australasia: Likewise.
  1251. * timezone/iso3166.tab: Likewise.
  1252. * timezone/southamerica: Likewise.
  1253. * timezone/zone-tab: Likewise.
  1254. 2002-10-15 Roland McGrath <roland@redhat.com>
  1255. * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]:
  1256. Adjust TCB pointer before calling free, so we get the whole block.
  1257. 2002-10-14 Roland McGrath <roland@redhat.com>
  1258. * sysdeps/unix/sysv/linux/x86_64/sigaction.c
  1259. [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt
  1260. extern using attribute_hidden instead of static, avoids warning.
  1261. 2002-10-09 Jakub Jelinek <jakub@redhat.com>
  1262. * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too.
  1263. * sysdeps/unix/sysv/linux/configure: Rebuilt.
  1264. 2002-10-14 Ulrich Drepper <drepper@redhat.com>
  1265. * po/sv.po: Update from translation team.
  1266. 2002-10-12 H.J. Lu <hjl@gnu.org>
  1267. * sunrpc/thrsvc.c (PROCQUIT): New.
  1268. (struct rpc_arg): New.
  1269. (dispatch): Call exit (0) if request->rq_proc == PROCQUIT.
  1270. (test_one_call): Take struct rpc_arg * instead of CLIENT *c.
  1271. (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT.
  1272. (main): Modified for struct rpc_arg *.
  1273. 2002-10-14 Ulrich Drepper <drepper@redhat.com>
  1274. * dirent/scandir.c: Rearrange code a bit to reduce binary size.
  1275. 2002-10-14 Jakub Jelinek <jakub@redhat.com>
  1276. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h.
  1277. (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence
  1278. in ld.so even if __thread is supported.
  1279. 2002-10-13 Jakub Jelinek <jakub@redhat.com>
  1280. * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
  1281. Add hack to prevent the compiler from clobbering the signal context.
  1282. * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
  1283. Likewise.
  1284. * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter):
  1285. Likewise.
  1286. 2002-10-14 Andreas Jaeger <aj@suse.de>
  1287. * sysdeps/mips/fpu/libm-test-ulps: Regenerated by
  1288. Guido Guenther <agx@sigxcpu.org>.
  1289. 2002-10-14 Ulrich Drepper <drepper@redhat.com>
  1290. * po/sk.po: Update from translation team.
  1291. 2002-09-26 Roland McGrath <roland@redhat.com>
  1292. * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
  1293. dynamic string tag.
  1294. * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
  1295. DL_DST_LIB based on $(slibdir).
  1296. 2002-10-13 Roland McGrath <roland@frob.com>
  1297. * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
  1298. * sysdeps/mach/hurd/getresuid.c: New file.
  1299. * sysdeps/mach/hurd/getresgid.c: New file.
  1300. * sysdeps/mach/hurd/setresuid.c: New file.
  1301. * sysdeps/mach/hurd/setresgid.c: New file.
  1302. * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
  1303. setresgid): Declare them.
  1304. * NEWS: Mention it.
  1305. * include/unistd.h
  1306. (__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
  1307. add libc_hidden_proto.
  1308. * posix/Versions (libc: GLIBC_2.3.2): New set. Add
  1309. getresuid, getresgid, setresuid, setresgid here.
  1310. * Versions.def (libc): Define GLIBC_2.3.2 set.
  1311. * sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
  1312. Add libc_hidden_def.
  1313. * sysdeps/generic/getresgid.c (__getresgid): Likewise.
  1314. * sysdeps/generic/setresgid.c: New file.
  1315. * sysdeps/generic/setresuid.c: New file.
  1316. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
  1317. (sysdep_routines): Don't add getresuid and getresgid here.
  1318. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
  1319. (sysdep_routines): Don't add setresuid and setresgid here.
  1320. * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
  1321. * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
  1322. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
  1323. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
  1324. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
  1325. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
  1326. * posix/Makefile (routines): Add them all here instead.
  1327. * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
  1328. __getresuid. Add libc_hidden_def for that, and weak alias to old name.
  1329. * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
  1330. __getresgid. Add libc_hidden_def for that, and weak alias to old name.
  1331. * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
  1332. [! __NR_setresuid]: Include generic file.
  1333. * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
  1334. __setresgid. Add libc_hidden_def for that, and weak alias to old name.
  1335. [! __NR_setresuid]: Include generic file.
  1336. * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
  1337. Caller is - now, not EXTRA.
  1338. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
  1339. (setresuid, setresgid, getresuid, getresgid): Likewise.
  1340. * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
  1341. Add these calls here.
  1342. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
  1343. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  1344. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  1345. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  1346. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  1347. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
  1348. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
  1349. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  1350. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  1351. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
  1352. (sysdep_routines): Add setfsuid and setfsgid here.
  1353. * sysdeps/unix/sysv/linux/arm/Makefile: Not here.
  1354. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
  1355. * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
  1356. * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
  1357. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
  1358. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
  1359. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
  1360. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
  1361. * hurd/errno.c: Renamed to ...
  1362. * hurd/errno-loc.c: ... this.
  1363. * hurd/Makefile (routines): errno -> errno-loc
  1364. 2002-10-13 Ulrich Drepper <drepper@redhat.com>
  1365. * po/de.po: Update from translation team.
  1366. * MakeTAGS: Add -E flag to xgettext runs.
  1367. 2002-10-12 Ulrich Drepper <drepper@redhat.com>
  1368. * po/fr.po: Update from translation team.
  1369. * sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
  1370. Optimize a bit for use in glibc.
  1371. 2002-10-12 Roland McGrath <roland@redhat.com>
  1372. * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
  1373. Some machines are slow. Guido Guenther <agx@sigxcpu.org> has one.
  1374. 2002-10-12 Ulrich Drepper <drepper@redhat.com>
  1375. * po/sv.po: Update from translation team.
  1376. 2002-10-11 Isamu Hasegawa <isamu@yamato.ibm.com>
  1377. * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
  1378. OP_CONTEXT_NODE.
  1379. (regfree): Likewise.
  1380. (create_initial_state): Likewise.
  1381. (analyze): Remove the substitutions which became useless.
  1382. (calc_first): Likewise.
  1383. (calc_epsdest): Use edests of OP_BACK_REF in case that it has
  1384. epsilon destination.
  1385. (duplicate_node_closure): New function.
  1386. (duplicate_node): Remove the handling OP_CONTEXT_NODE.
  1387. (calc_inveclosure): Likewise.
  1388. (calc_eclosure): Likewise.
  1389. (calc_eclosure_iter): Invoke duplicate_node_closure instead of
  1390. direct invocation of duplicate_node.
  1391. (parse): Don't use comma operator in the return to avoid compiler
  1392. warning.
  1393. (parse_reg_exp): Likewise.
  1394. (parse_branch): Likewise.
  1395. (parse_expression): Likewise.
  1396. (parse_sub_exp): Likewise.
  1397. (parse_dup_op): Likewise.
  1398. * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
  1399. which became useless.
  1400. (create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
  1401. (create_cd_newstate): Likewise.
  1402. * posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
  1403. (re_token_t): Likewise.
  1404. (re_dfa_t): Likewise.
  1405. (re_node_set_remove): New macro.
  1406. * posix/regexec.c (check_matching): Remove the handling
  1407. OP_CONTEXT_NODE.
  1408. (check_halt_node_context): Likewise.
  1409. (proceed_next_node): Likewise.
  1410. (pop_fail_stack): Fix the memory leak.
  1411. (set_regs): Likewise.
  1412. (free_fail_stack_return): New function.
  1413. (sift_states_backward): Fix the memory leak. Remove the handling
  1414. OP_CONTEXT_NODE.
  1415. (update_cur_sifted_state): Append some if clause to avoid redundant
  1416. call.
  1417. (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
  1418. back reference.
  1419. (check_dst_limits): Remove the handling OP_CONTEXT_NODE.
  1420. (check_subexp_limits): Likewise.
  1421. (search_subexp): Likewise.
  1422. (sift_states_bkref): Likewise.
  1423. (transit_state_mb): Likewise.
  1424. (transit_state_bkref_loop): Likewise.
  1425. (transit_state_bkref_loop): Likewise.
  1426. (group_nodes_into_DFAstates): Likewise.
  1427. (check_node_accept): Likewise.
  1428. (sift_ctx_init): Add initializing.
  1429. 2002-10-12 Ulrich Drepper <drepper@redhat.com>
  1430. * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
  1431. __builtin_expect.
  1432. 2002-10-11 Ulrich Drepper <drepper@redhat.com>
  1433. * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
  1434. duplicated variable c.
  1435. * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
  1436. if possible.
  1437. * sysdeps/unix/sysv/linux/i386/sysdep.h
  1438. (INTERNAL_SYSCALL_ERROR_P): New define.
  1439. (INTERNAL_SYSCALL_ERRNO): Likewise.
  1440. * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
  1441. Add hack to prevent the compiler from clobbering the signal context.
  1442. 2002-10-11 Roland McGrath <roland@redhat.com>
  1443. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  1444. Fix typos.
  1445. * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
  1446. * sysdeps/sh/dl-lookupcfg.h: File removed.
  1447. * sysdeps/i386/dl-lookupcfg.h: File removed.
  1448. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
  1449. missing labels and ; from last change.
  1450. * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
  1451. number literals, so they are doubles instead of ints.
  1452. 2002-10-09 Roland McGrath <roland@redhat.com>
  1453. * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
  1454. changed from [USE_TLS && HAVE___THREAD].
  1455. * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
  1456. Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
  1457. * sysdeps/x86_64/dl-machine.h
  1458. (elf_machine_type_class, elf_machine_rela): Likewise.
  1459. * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
  1460. Likewise.
  1461. * include/link.h (struct link_map): Remove member l_tls_tp_initialized.
  1462. * elf/rtld.c (_dl_start_final, dl_main): Don't use it.
  1463. (_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
  1464. * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
  1465. instead of ___tls_get_addr.
  1466. (___tls_get_addr_internal): Add attribute_hidden to decl.
  1467. * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
  1468. _dl_error_catch_tsd.
  1469. * elf/rtld.c (startup_error_tsd): New function.
  1470. (dl_main): Point _dl_error_catch_tsd at that.
  1471. * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
  1472. use new function pointer instead.
  1473. * elf/dl-tsd.c: New file.
  1474. * elf/Makefile (routines): Add it.
  1475. 2002-10-07 Roland McGrath <roland@redhat.com>
  1476. * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
  1477. writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then
  1478. take _dl_load_lock around calling __writev.
  1479. * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
  1480. (INLINE_SYSCALL): Use that.
  1481. * sysdeps/generic/dl-sysdep.h: New file.
  1482. * sysdeps/mach/hurd/dl-sysdep.h: New file.
  1483. * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
  1484. * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
  1485. [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
  1486. access it directly.
  1487. * elf/dl-minimal.c (__errno_location): Removed.
  1488. * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
  1489. Use GOTOFF access for errno.
  1490. * sysdeps/unix/sysv/linux/i386/sysdep.h
  1491. [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
  1492. * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
  1493. Use PC-relative access for errno.
  1494. * sysdeps/unix/sysv/linux/x86_64/sysdep.h
  1495. [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
  1496. * include/tls.h: New file.
  1497. (USE___THREAD): New macro.
  1498. Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
  1499. libc or libpthread.
  1500. * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
  1501. changed from [USE_TLS && HAVE___THREAD].
  1502. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  1503. * sysdeps/unix/i386/sysdep.S: Likewise.
  1504. * sysdeps/unix/x86_64/sysdep.S: Likewise.
  1505. * include/errno.h: Likewise.
  1506. * include/netdb.h: Likewise.
  1507. * include/resolv.h: Likewise.
  1508. * sysdeps/generic/errno.c: New file.
  1509. * csu/Makefile (aux): New variable, list errno.
  1510. * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
  1511. * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
  1512. * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
  1513. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
  1514. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
  1515. * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
  1516. * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
  1517. * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
  1518. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
  1519. * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
  1520. * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
  1521. * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
  1522. * sysdeps/unix/alpha/sysdep.S: Likewise.
  1523. * sysdeps/generic/start.c: Likewise.
  1524. * sysdeps/unix/start.c: Likewise.
  1525. * sysdeps/unix/arm/start.c: Likewise.
  1526. * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
  1527. * sysdeps/unix/sparc/start.c: Likewise.
  1528. * sysdeps/unix/sysv/irix4/start.c: Likewise.
  1529. * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
  1530. * manual/search.texi (Tree Search Function, Hash Search Function):
  1531. Mention search.h clearly.
  1532. 2002-10-05 Roland McGrath <roland@redhat.com>
  1533. * elf/dl-fxstat64.c: File removed.
  1534. * elf/dl-xstat64.c: File removed.
  1535. * elf/Makefile (rtld-routines): Remove them.
  1536. * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
  1537. Instead, use strong_alias instead of versioned_symbol in the
  1538. !SHLIB_COMPAT case.
  1539. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
  1540. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
  1541. * include/shlib-compat.h
  1542. (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
  1543. [! NOT_IN_libc] (IS_IN_libc): Define it.
  1544. * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
  1545. * elf/Makefile (CPPFLAGS-.os): Likewise.
  1546. * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
  1547. Return the status instead of calling exit.
  1548. * Makeconfig (CFLAGS): Prepend -std=gnu99.
  1549. * Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
  1550. Remove superfluous rm command, whose @ plus make bugs hid
  1551. all these commands from the make output.
  1552. * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC.
  1553. * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
  1554. Use that file's contents instead of literal echo's for the prologue.
  1555. * include/features.h: Include <gnu/stubs.h> unconditionally.
  1556. * include/gnu/stubs.h: New file.
  1557. 2002-09-30 Roland McGrath <roland@redhat.com>
  1558. * elf/rtld-Rules: New file.
  1559. * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
  1560. $(objpfx)rtld-libc.a): New targets.
  1561. (generated): Add them.
  1562. (reloc-link): Remove -o $@ from the variable.
  1563. ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
  1564. (distribute): Add rtld-Rules.
  1565. (CPPFLAGS-.os): Define this instead of CFLAGS-.os.
  1566. * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
  1567. (common-mostlyclean, common-clean): Clean up rtld-* files.
  1568. * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
  1569. 2003-05-20 Jakub Jelinek <jakub@redhat.com>
  1570. * elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument.
  1571. If temp != NULL, copy dynamic entries which need relocation to temp
  1572. array before relocating.
  1573. (DL_RO_DYN_TEMP_CNT): Define.
  1574. * elf/dl-load.c (_dl_map_object_from_fd): Adjust caller.
  1575. * elf/rtld.c (_dl_start): Likewise.
  1576. (dl_main): Likewise. Add dyn_temp static variable.
  1577. 2002-10-11 Roland McGrath <roland@redhat.com>
  1578. * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
  1579. now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
  1580. * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
  1581. proper set of no-op insn prefixes.
  1582. * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
  1583. 2002-10-11 Ulrich Drepper <drepper@redhat.com>
  1584. * sysdeps/unix/sysv/linux/execve.c: Don't try calling
  1585. __pthread_kill_other_threads_np.
  1586. * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
  1587. 2002-10-08 Roland McGrath <roland@redhat.com>
  1588. * locale/newlocale.c (__newlocale): If setting all categories to "C",
  1589. just return &_nl_C_locobj instead of copying it.
  1590. * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
  1591. * locale/duplocale.c (__duplocale): Likewise.
  1592. 2002-10-07 Roland McGrath <roland@frob.com>
  1593. * config.h.in (HAVE_I386_SET_GDT): New #undef.
  1594. * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
  1595. * sysdeps/mach/configure: Regenerated.
  1596. 2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  1597. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
  1598. Add all necessary register outputs for syscall-clobbered registers.
  1599. 2002-10-02 David Mosberger <davidm@hpl.hp.com>
  1600. * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
  1601. Itanium 2 (and Itanium).
  1602. Fix unwind directives and make it fit in 80 columns.
  1603. * sysdeps/ia64/memset.S: Likewise.
  1604. * sysdeps/ia64/memcpy.S: Likewise.
  1605. Move jump table to .rodata section.
  1606. 2002-10-03 Roland McGrath <roland@frob.com>
  1607. * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
  1608. clobbers to asm.
  1609. 2002-10-10 Andreas Jaeger <aj@suse.de>
  1610. * sysdeps/x86_64/_mcount.S: Restore correct registers.
  1611. 2002-10-10 Ulrich Drepper <drepper@redhat.com>
  1612. * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
  1613. 2002-10-09 Ulrich Drepper <drepper@redhat.com>
  1614. * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
  1615. _dl_allocate_tls_init. Add rtld_hidden_proto.
  1616. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
  1617. rtld_hidden_def.
  1618. * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
  1619. * version.h (VERSION): Bump to 2.3.1.
  1620. * Make-dist: Add back one of the tar invocations removed before.
  1621. * stdlib/Makefile (distribute): Add allocalim.h.
  1622. * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
  1623. (__libc_tsd_address): Use correct variable name.
  1624. Patch by Stefan Jones <stefan.jones@multigig.com>.
  1625. * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
  1626. Reported by edwardsg@sgi.com [PR libc/4678].
  1627. * Versions.def (libc): Add GLIBC_2.3.1.
  1628. (libpthread): Add GLIBC_2.3.1.
  1629. * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
  1630. and __sigtimedwait.
  1631. * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
  1632. * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
  1633. libc_hidden_def.
  1634. * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
  1635. * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
  1636. * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
  1637. * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
  1638. and make old name an alias.
  1639. * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
  1640. and make old name an alias.
  1641. * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
  1642. __libc_msgsnd.
  1643. * include/sys/uio.h: Declare __libc_readv and __libc_writev.
  1644. * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
  1645. __libc_writev.
  1646. * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
  1647. old name an alias.
  1648. * sysdeps/posix/readv.c: Likewise
  1649. * sysdeps/unix/sysv/aix/readv.c: Likewise.
  1650. * sysdeps/unix/sysv/linux/readv.c: Likewise.
  1651. * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
  1652. old name an alias.
  1653. * sysdeps/posix/writev.c: Likewise
  1654. * sysdeps/unix/sysv/aix/writev.c: Likewise.
  1655. * sysdeps/unix/sysv/linux/writev.c: Likewise.
  1656. * include/sys/wait.h: Declare __waitid.
  1657. * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
  1658. * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
  1659. name an alias.
  1660. * sysdeps/posix/waitid.c: Likewise.
  1661. * sysdeps/unix/sysv/aix/waitid.c: Likewise.
  1662. * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
  1663. 2002-10-07 Jakub Jelinek <jakub@redhat.com>
  1664. * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
  1665. prototypes.
  1666. (__MAX_ALLOCA_CUTOFF): Define.
  1667. Include allocalim.h.
  1668. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
  1669. _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
  1670. host_buffer depending on __libc_use_alloca.
  1671. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
  1672. _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
  1673. net_buffer depending on __libc_use_alloca.
  1674. * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
  1675. buf depending on __libc_use_alloca.
  1676. * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
  1677. * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
  1678. instead of hardcoded constants.
  1679. Pass proper size argument to alloca and compute end for wide char
  1680. version.
  1681. * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
  1682. instead of hardcoded constants.
  1683. * string/strcoll.c (strcoll): Likewise.
  1684. * string/strxfrm.c (strxfrm): Likewise.
  1685. * sysdeps/posix/readv.c (__readv): Likewise.
  1686. * sysdeps/posix/writev.c (__writev): Likewise.
  1687. * sysdeps/generic/allocalim.h: New file.
  1688. 2002-10-08 Roland McGrath <roland@redhat.com>
  1689. * configure.in (aux_missing warning): Change "too old" to
  1690. "incompatible versions", since for autoconf it's "too new" right now.
  1691. * configure: Regenerated.
  1692. * configure.in (AUTOCONF): New check to set it. Set to "no" if the
  1693. one found doesn't work on our configure.in.
  1694. * configure: Regenerated.
  1695. * config.make.in (AUTOCONF): New substituted variable.
  1696. * Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
  1697. (autoconf-it): ... here, use that instead of defining conditionally.
  1698. Use $(AUTOCONF) instead of literal autoconf.
  1699. [$(AUTOCONF) != no] (configure, %/configure): Protect these rules
  1700. with this condition.
  1701. * Make-dist (autoconf-it, configure, %/configure): Copy those changes.
  1702. 2002-10-08 Ulrich Drepper <drepper@redhat.com>
  1703. * Make-dist (dist): Cleanup a bit. We are not interested in the
  1704. 14 char filename limit anymore. Remove intermediate files and
  1705. symlinks.
  1706. 2002-10-05 Ulrich Drepper <drepper@redhat.com>
  1707. * po/sk.po: Update from translation team.
  1708. * po/tr.po: Likewise.
  1709. * po/gl.po: Likewise.
  1710. 2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  1711. * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
  1712. 2002-10-03 Ulrich Drepper <drepper@redhat.com>
  1713. * version.h (RELEASE): Change to stable.
  1714. 2002-10-03 Jakub Jelinek <jakub@redhat.com>
  1715. * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
  1716. __syscall_exit_group): New prototypes.
  1717. 2002-10-03 Ulrich Drepper <drepper@redhat.com>
  1718. * glibc 2.3 released.
  1719. See ChangeLog.13 for earlier changes.