Changelog.full 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  1. 2003-01-24 Erik Andersen <andersen@dillweed>
  2. * libc/sysdeps/linux/sparc/bits/types.h, libc/sysdeps/linux/powerpc/bits/types.h, libc/sysdeps/linux/mips/bits/types.h, libc/sysdeps/linux/m68k/bits/kernel_stat.h, libc/sysdeps/linux/i386/bits/kernel_stat.h, libc/sysdeps/linux/h8300/bits/kernel_stat.h, libc/sysdeps/linux/cris/bits/kernel_stat.h, libc/sysdeps/linux/common/bits/kernel_stat.h, libc/sysdeps/linux/common/bits/types.h, libc/sysdeps/linux/common/xstatconv.c, libc/sysdeps/linux/arm/bits/kernel_stat.h, libc/sysdeps/linux/alpha/bits/types.h:
  3. Finish up fixing stat and setting various system types.
  4. * Makefile:
  5. Don't clean config system except on 'make distclean'. Remember to
  6. clean locale stuff on 'make clean'
  7. * test/stat/.cvsignore, test/stat/Makefile, test/stat/stat.c:
  8. Better stat tests
  9. * libc/sysdeps/linux/common/Makefile, libc/sysdeps/linux/common/syscalls.c, libc/sysdeps/linux/common/xstatconv.c, libc/sysdeps/linux/common/xstatconv.h:
  10. I thought it would be smaller to inline since these funcs are small.
  11. Well, not inlining saves 300 bytes, so do that instead.
  12. -Erik
  13. * libc/sysdeps/linux/v850/bits/kernel_stat.h, libc/sysdeps/linux/sparc/bits/kernel_stat.h, libc/sysdeps/linux/sh/bits/kernel_stat.h, libc/sysdeps/linux/powerpc/bits/kernel_stat.h, libc/sysdeps/linux/mips/bits/kernel_stat.h, libc/sysdeps/linux/m68k/bits/kernel_stat.h, libc/sysdeps/linux/i386/bits/kernel_stat.h, libc/sysdeps/linux/h8300/bits/kernel_stat.h, libc/sysdeps/linux/cris/bits/kernel_stat.h, libc/sysdeps/linux/common/bits/kernel_stat.h, libc/sysdeps/linux/common/bits/stat.h, libc/sysdeps/linux/common/syscalls.c, libc/sysdeps/linux/common/xstatconv.c, libc/sysdeps/linux/arm/bits/kernel_stat.h, libc/sysdeps/linux/alpha/bits/kernel_stat.h, ldso/ldso/ld_syscall.h:
  14. Ok, people are probably going to hate me for this... This commit changes the
  15. type of 'struct stat' and 'struct stat64' so they use consistant types.
  16. This change is the result of a bug I found while trying to use GNU tar. The
  17. problem was caused by our using kernel types within struct stat and trying to
  18. directly compare these values with standard types. Trying an 'if (a < b)' when
  19. 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results
  20. then when comparing entities of the same type (i.e. time_t values)....
  21. Grumble. Nasty stuff, but I'm glad I got this out of the way now.
  22. As a result of this fix, uClibc 0.9.17 will not be binary compatible with
  23. earlier releases. I have always warned people this can and will happen.
  24. -Erik
  25. * docs/uclibc.org/FAQ.html:
  26. Add FAQ entry for "sh: can't access tty; job control turned off"
  27. -Erik
  28. * libc/stdlib/atexit.c:
  29. Doh! Fix potential stack corruption caused by dynamic atexit
  30. allocating size incorrectly....
  31. -Erik
  32. 2003-01-23 Erik Andersen <andersen@dillweed>
  33. * libc/sysdeps/linux/v850/Makefile, libc/sysdeps/linux/sparc/Makefile, libc/sysdeps/linux/sh/Makefile, libc/sysdeps/linux/sh/crt0.S, libc/sysdeps/linux/mips/crt0.S, libc/sysdeps/linux/mips/Makefile, libc/sysdeps/linux/i960/Makefile, libc/sysdeps/linux/m68k/Makefile, libc/sysdeps/linux/m68k/crt0.S, libc/sysdeps/linux/i386/Makefile, libc/sysdeps/linux/i386/crt0.S, libc/sysdeps/linux/h8300/Makefile, libc/sysdeps/linux/h8300/crt0.S, libc/sysdeps/linux/cris/Makefile, libc/sysdeps/linux/common/Makefile, libc/sysdeps/linux/arm/Makefile, libc/sysdeps/linux/Makefile, libc/sysdeps/linux/alpha/Makefile, libc/sysdeps/Makefile:
  34. Update architecture specific support to consistantly
  35. generate a crt0 and crt1 file. Most arches still need
  36. to be updated to call __uClibc_start_main() rather than
  37. __uClibc_main().
  38. * libc/sysdeps/linux/alpha/Makefile, libc/sysdeps/linux/alpha/crt0.S:
  39. Hopefully this is correct
  40. * libc/sysdeps/linux/cris/crt0.c, libc/sysdeps/linux/cris/Makefile:
  41. Hopefully this will work as expected. I have no way to
  42. test but this should be correct.
  43. * libc/sysdeps/linux/arm/crt0.S:
  44. Update crt0 for arm to provide the main reference
  45. a bit more nicely, and make _init and _fini be weak
  46. for people with broken compilers
  47. -Erik
  48. * Rules.mak: Shuffle OPTIMIZATION setting a bit
  49. 2003-01-23 Manuel Novoa III <mjn3@dillweed>
  50. * libc/stdio/stdio.c:
  51. Wasn't thinking... we don't need to seek to end when appending if stdio
  52. is built without buffer support.
  53. 2003-01-23 Erik Andersen <andersen@dillweed>
  54. * test/unistd/Makefile, test/termios/Makefile, test/string/Makefile, test/stdlib/Makefile, test/stat/Makefile, test/silly/Makefile, test/signal/Makefile, test/pwd_grp/Makefile, test/malloc/Makefile, test/math/.cvsignore, test/math/Makefile, test/math/rint.c, test/crypt/Makefile, test/Config, test/Rules.mak:
  55. Update tests to be somewhat consistant with the rest of the world
  56. * libc/sysdeps/linux/common/.cvsignore: Update ignore list
  57. * libc/sysdeps/linux/i386/Makefile: Update a tiny bit
  58. * libc/Makefile, libc/sysdeps/linux/common/Makefile, extra/scripts/initfini.awk, Rules.mak:
  59. Cleanup makefiles and make clean a bit
  60. * libc/misc/internals/__uClibc_main.c:
  61. Making atexit weak does nothing for dynamicly linked apps. And for
  62. staticly linked apps it entirely prevents destructors from running
  63. unless atexit is called for some other reason. So if they enabled
  64. ctor/dtor support we need to have a call to the real atexit for
  65. dtors to work properly. If people don't want the extra 4k or so
  66. of junk in their static apps, they should leave ctor/dtor support
  67. disabled.
  68. -Erik
  69. * libc/sysdeps/linux/i386/crt0.S:
  70. simpler method for getting a 'main' reference. Make _init and _fini
  71. be weak so people won't need to fix their compilers
  72. * libc/sysdeps/linux/powerpc/crt0.S:
  73. Shuffle two lines so the comment applies to the correct line.
  74. * libc/sysdeps/linux/powerpc/crt0.S, libc/sysdeps/linux/powerpc/Makefile:
  75. Rewrite powerpc crt0.S for proper ctor/dtor handling
  76. * libc/stdlib/malloc-930716/malloc.c: Kill the needless '#if 1'
  77. * libc/stdlib/malloc/malloc.c:
  78. Update malloc behavior on malloc(0) to be consistant with
  79. malloc-930716 behavior, i.e. return a NULL.
  80. * libpthread/linuxthreads/manager.c, libpthread/linuxthreads/pthread.c, libpthread/linuxthreads/specific.c, libpthread/linuxthreads_db/td_symbol_list.c:
  81. Just be a bit less different from latest glibc version in comments
  82. and in the files where variables live.
  83. * libpthread/linuxthreads/sysdeps/mips/pt-machine.h:
  84. Per patch from Nathan Field at ghs.com, fix the mips __compare_and_swap inline
  85. function. Without this fix, pthread_mutex_lock/pthread_mutex_unlock don't work
  86. on mips.
  87. * libpthread/linuxthreads/pthread.c:
  88. Per patch from Nathan Field at ghs.com, fix __pthread_initialize_manager so it
  89. locks before calling clone when under a debugger, and unlocks on success or
  90. failure of clone when under a debugger.
  91. * libpthread/linuxthreads/manager.c, libpthread/linuxthreads/specific.c:
  92. Per patch from Nathan Field at ghs.com, add a couple of variables
  93. needed to make gdb happy when debugging threadded apps.
  94. * libpthread/linuxthreads_db/td_symbol_list.c:
  95. Fix indenting. Per patch from Nathan Field at ghs.com, change
  96. LINUXTHREADS_PTHREAD_THREADS_MAX to properly point to "__pthread_threads_max".
  97. * extra/config/menubox.c:
  98. Patch from Brett Hunt at micron.com to fixup potential segfaults
  99. during 'make menuconfig'
  100. 2003-01-22 Manuel Novoa III <mjn3@dillweed>
  101. * libc/stdio/stdio.c:
  102. Fixed a bug related file position in append mode. _stdio_fwrite now
  103. seeks to the end of the stream when append mode is set and we are
  104. transitioning to write mode, so that subsequent ftell() return
  105. values are correct.
  106. Also fix _stdio_fopen to support fdopen() with append specified when
  107. the underlying file didn't have O_APPEND set. It now sets the
  108. O_APPEND flag as recommended by SUSv3 and is done by glibc.
  109. 2003-01-22 Erik Andersen <andersen@dillweed>
  110. * libc/signal/sigaction.c, libc/sysdeps/linux/arm/sigaction.c, libc/sysdeps/linux/common/bits/kernel_sigaction.h, libc/sysdeps/linux/common/syscalls.c, libc/sysdeps/linux/i386/Makefile, libc/sysdeps/linux/i386/sigaction.c:
  111. Update sigaction syscall names to act more like glibc. Fix the x86 sigaction
  112. implementation such that gdb can actually debug signal handlers. Gdb behaves
  113. much better now, for example, on multi-threaded apps.
  114. -Erik
  115. 2003-01-22 sjhill <sjhill@dillweed>
  116. * libc/sysdeps/linux/mips/bits/kernel_types.h:
  117. Changed '__kernel_nlink_t' data type to match Linux/MIPS kernel type
  118. definition and to be consistent with the ABI. Done per conversation
  119. with Ralf (Linux/MIPS) maintainer.
  120. 2003-01-22 Erik Andersen <andersen@dillweed>
  121. * libc/sysdeps/linux/arm/Makefile, libc/sysdeps/linux/arm/sigaction.c, libc/sysdeps/linux/arm/sigrestorer.S:
  122. Add in arm specific sigaction implementation to fix sa_restorer
  123. behavior so it works as expected
  124. * libc/sysdeps/linux/common/bits/kernel_sigaction.h: Missed an endif
  125. * libc/sysdeps/linux/common/bits/kernel_sigaction.h, libc/signal/sigaction.c:
  126. Looks like sigaction on arm needs adjustment, so split this into
  127. a common header file and a default implementation.
  128. 2003-01-18 Erik Andersen <andersen@dillweed>
  129. * libc/misc/file/Makefile, libc/misc/file/lockf64.c:
  130. Only include lockf64 when large file support is enabled, fixing
  131. a problem noticed by Jeff Mock. Sorry about that.
  132. -Erik
  133. 2003-01-17 Erik Andersen <andersen@dillweed>
  134. * Rules.mak: Remember to also export LC_ALL in addition to setting it.
  135. -Erik
  136. 2003-01-16 Erik Andersen <andersen@dillweed>
  137. * extra/Configs/Config.arm, extra/Configs/Config.i386, extra/Configs/Config.i386.default, Rules.mak:
  138. Update build rules a bit. fix quoting problems. Update default
  139. x86 compiler optimization to not force building i386 opcodes.
  140. 2003-01-14 Erik Andersen <andersen@dillweed>
  141. * Rules.mak: Strip off unwanted quotes from ARCH_CFLAGS. Attempt to
  142. enforce consistent sort order, 'gcc -print-search-dirs'
  143. behavior, etc by forcing the build into the C locale.
  144. -Erik
  145. 2003-01-11 Erik Andersen <andersen@dillweed>
  146. * extra/config/Makefile:
  147. Patch from Robert Schwebel -- support ncurses installed in /usr/local
  148. 2003-01-10 Erik Andersen <andersen@dillweed>
  149. * docs/uclibc.org/index.html: Update website dev image blurb
  150. * libc/inet/resolv.c: Patch from Jay Kulpinski:
  151. __decode_dotted() does not count the null terminating byte of
  152. a hostname in the DNS response. This causes lookups to fail
  153. if the DNS response doesn't compress domain names in the
  154. message.
  155. * libc/inet/ether_addr.c: Fix warnings
  156. * libc/misc/file/Makefile, libc/misc/file/lockf64.c: Implement lockf64
  157. -Erik
  158. * libc/inet/Makefile, libc/inet/ether_addr.c:
  159. Patch from Nick Fedchik to support ether_aton
  160. 2003-01-09 Erik Andersen <andersen@dillweed>
  161. * docs/uclibc.org/index.html:
  162. mention the uClibc root_fs now available on uclibc.org
  163. * include/stdlib.h:
  164. Hide unimplemented and legacy ecvt and friends from configure.
  165. -Erik
  166. 2003-01-08 Erik Andersen <andersen@dillweed>
  167. * include/inttypes.h:
  168. Disable the __USE_EXTERN_INLINES versions of these headers, which
  169. use non-existant glibc internals.
  170. 2003-01-08 Manuel Novoa III <mjn3@dillweed>
  171. * include/stdlib.h:
  172. For now, "#if 0" out the inlining of (currently unsupported) glibc-specific
  173. string->numeric conversion functions.
  174. 2003-01-08 Erik Andersen <andersen@dillweed>
  175. * docs/uclibc.org/index.html:
  176. Lineo has ceased to exist and is no longer a sponsor
  177. 2003-01-05 Manuel Novoa III <mjn3@dillweed>
  178. * libc/stdio/stdio.c, TODO:
  179. Fix a silly bug in _wstdio_fwrite. wprintf %s should now work correctly.
  180. 2003-01-03 Erik Andersen <andersen@dillweed>
  181. * ldso/libdl/dlib.c:
  182. If they call dlopen with anything other than RTLD_LAZY
  183. or RTLD_NOW then we need to error out.
  184. 2003-01-02 Erik Andersen <andersen@dillweed>
  185. * libc/sysdeps/linux/sparc/bits/syscalls.h, libc/sysdeps/linux/sparc/Makefile, libc/sysdeps/linux/sparc/__longjmp.S, libc/sysdeps/linux/sparc/fork.S, libc/sysdeps/linux/sparc/rem.S, libc/sysdeps/linux/sparc/sdiv.S, libc/sysdeps/linux/sparc/setjmp.S, libc/sysdeps/linux/sparc/sysdep.h, libc/sysdeps/linux/sparc/udiv.S, libc/sysdeps/linux/sparc/umul.S, libc/sysdeps/linux/sparc/urem.S, libc/sysdeps/linux/sparc/vfork.S, libpthread/linuxthreads/sysdeps/sparc/pt-machine.h, libpthread/linuxthreads/sysdeps/sparc/sigcontextinfo.h:
  186. Rework sparc architecture support so it will compile
  187. and run. Seems to be working...
  188. -Erik
  189. 2002-12-21 Erik Andersen <andersen@dillweed>
  190. * libc/sysdeps/linux/powerpc/Makefile:
  191. Be sure we have a crt1.o file. Use the asm version by default.
  192. -Erik
  193. 2002-12-20 Manuel Novoa III <mjn3@dillweed>
  194. * TODO: Update.
  195. * extra/locale/LOCALES: Obligatory forgotten update...
  196. * extra/locale/Makefile:
  197. Add a target so that people can download and use pregenerated locale data
  198. files instead of generating approx 40Mb of glibc locales to get the 300+
  199. locales currently supported.
  200. * libc/sysdeps/linux/common/bits/uClibc_locale.h, libc/string/Makefile, libc/string/wstring.c, libc/stdio/printf.c, libc/stdio/stdio.c, libc/misc/locale/locale.c, include/langinfo.h, extra/locale/collation/tl_PH, extra/locale/collation/tr_TR, extra/locale/collation/tt_RU, extra/locale/collation/uk_UA, extra/locale/collation/ur_PK, extra/locale/collation/uz_UZ, extra/locale/collation/vi_VN, extra/locale/collation/wa_BE, extra/locale/collation/yi_US, extra/locale/collation/zh_CN, extra/locale/collation/zh_HK, extra/locale/collation/zh_SG, extra/locale/collation/zh_TW, extra/locale/collation/oc_FR, extra/locale/collation/pl_PL, extra/locale/collation/pt_BR, extra/locale/collation/pt_PT, extra/locale/collation/ro_RO, extra/locale/collation/ru_RU, extra/locale/collation/ru_UA, extra/locale/collation/se_NO, extra/locale/collation/sk_SK, extra/locale/collation/sl_SI, extra/locale/collation/sq_AL, extra/locale/collation/sr_YU, extra/locale/collation/sv_FI, extra/locale/collation/sv_SE, extra/locale/collation/ta_IN, extra/locale/collation/te_IN, extra/locale/collation/tg_TJ, extra/locale/collation/th_TH, extra/locale/collation/ti_ER, extra/locale/collation/ti_ET, extra/locale/collation/mi_NZ, extra/locale/collation/mk_MK, extra/locale/collation/mr_IN, extra/locale/collation/ms_MY, extra/locale/collation/mt_MT, extra/locale/collation/nl_BE, extra/locale/collation/nl_NL, extra/locale/collation/nn_NO, extra/locale/collation/no_NO, extra/locale/collation/hu_HU, extra/locale/collation/hy_AM, extra/locale/collation/id_ID, extra/locale/collation/is_IS, extra/locale/collation/iso14651_t1, extra/locale/collation/it_CH, extra/locale/collation/it_IT, extra/locale/collation/iw_IL, extra/locale/collation/ja_JP, extra/locale/collation/ka_GE, extra/locale/collation/kl_GL, extra/locale/collation/ko_KR, extra/locale/collation/kw_GB, extra/locale/collation/lt_LT, extra/locale/collation/lv_LV, extra/locale/collation/es_VE, extra/locale/collation/et_EE, extra/locale/collation/eu_ES, extra/locale/collation/fa_IR, extra/locale/collation/fi_FI, extra/locale/collation/fo_FO, extra/locale/collation/fr_BE, extra/locale/collation/fr_CA, extra/locale/collation/fr_CH, extra/locale/collation/fr_FR, extra/locale/collation/fr_LU, extra/locale/collation/ga_IE, extra/locale/collation/gd_GB, extra/locale/collation/gl_ES, extra/locale/collation/gv_GB, extra/locale/collation/he_IL, extra/locale/collation/hi_IN, extra/locale/collation/hr_HR, extra/locale/collation/en_ZW, extra/locale/collation/eo_EO, extra/locale/collation/es_AR, extra/locale/collation/es_BO, extra/locale/collation/es_CL, extra/locale/collation/es_CO, extra/locale/collation/es_CR, extra/locale/collation/es_DO, extra/locale/collation/es_EC, extra/locale/collation/es_ES, extra/locale/collation/es_GT, extra/locale/collation/es_HN, extra/locale/collation/es_MX, extra/locale/collation/es_NI, extra/locale/collation/es_PA, extra/locale/collation/es_PE, extra/locale/collation/es_PR, extra/locale/collation/es_PY, extra/locale/collation/es_SV, extra/locale/collation/es_US, extra/locale/collation/es_UY, extra/locale/collation/cs_CZ, extra/locale/collation/cy_GB, extra/locale/collation/da_DK, extra/locale/collation/de_AT, extra/locale/collation/de_BE, extra/locale/collation/de_CH, extra/locale/collation/de_DE, extra/locale/collation/de_LU, extra/locale/collation/el_GR, extra/locale/collation/en_AU, extra/locale/collation/en_BW, extra/locale/collation/en_CA, extra/locale/collation/en_DK, extra/locale/collation/en_GB, extra/locale/collation/en_HK, extra/locale/collation/en_IE, extra/locale/collation/en_IN, extra/locale/collation/en_NZ, extra/locale/collation/en_PH, extra/locale/collation/en_SG, extra/locale/collation/en_US, extra/locale/collation/en_ZA, extra/locale/collation/af_ZA, extra/locale/collation/am_ET, extra/locale/collation/ar_AE, extra/locale/collation/ar_BH, extra/locale/collation/ar_DZ, extra/locale/collation/ar_EG, extra/locale/collation/ar_IN, extra/locale/collation/ar_IQ, extra/locale/collation/ar_JO, extra/locale/collation/ar_KW, extra/locale/collation/ar_LB, extra/locale/collation/ar_LY, extra/locale/collation/ar_MA, extra/locale/collation/ar_OM, extra/locale/collation/ar_QA, extra/locale/collation/ar_SA, extra/locale/collation/ar_SD, extra/locale/collation/ar_SY, extra/locale/collation/ar_TN, extra/locale/collation/ar_YE, extra/locale/collation/az_AZ, extra/locale/collation/be_BY, extra/locale/collation/bg_BG, extra/locale/collation/bn_BD, extra/locale/collation/bn_IN, extra/locale/collation/br_FR, extra/locale/collation/bs_BA, extra/locale/collation/ca_ES, extra/locale/collation/comm, extra/locale/charmaps/ARMSCII-8.pairs, extra/locale/charmaps/CP1255.pairs, extra/locale/charmaps/GEORGIAN-PS.pairs, extra/locale/charmaps/KOI8-T.pairs, extra/locale/Makefile, extra/locale/gen_collate.c, extra/locale/gen_ldc.c, extra/locale/gen_locale.c, extra/locale/gen_wc8bit.c, extra/locale/locale_mmap.h, extra/locale/tst_nl_langinfo.c:
  201. The big thing is locale dependent collation support.
  202. Also added outdigit support and (legacy) YESSTR/NOSTR support.
  203. 2002-12-19 Erik Andersen <andersen@dillweed>
  204. * docs/uclibc.org/uClibc-apps.html: Thanks to Siim Vahtre, add mplayer
  205. 2002-12-18 miles <miles@dillweed>
  206. * libc/sysdeps/linux/v850/sys/procfs.h: Initial checkin
  207. * libpthread/Makefile, libc/sysdeps/linux/v850/bits/kernel_types.h:
  208. whitespace
  209. * libc/sysdeps/linux/v850/Makefile (SSRC):
  210. Rename longjmp.S to __longjmp.S
  211. (CSRC): Add clone.c
  212. * libc/sysdeps/linux/v850/clone.c: Initial checkin
  213. * libc/sysdeps/linux/v850/__longjmp.S, libc/sysdeps/linux/v850/longjmp.S:
  214. Rename longjmp.S to __longjmp.S
  215. Remove extra weak symbols defined by ../common/longjmp.c
  216. 2002-12-17 Erik Andersen <andersen@dillweed>
  217. * extra/config/Makefile, extra/Makefile:
  218. Patch from Stefan Allius. Only build config stuff when needed.
  219. * include/dirent.h:
  220. Dop not restrict the IFTODT() and DTTOIF() macros when
  221. _DIRENT_HAVE_D_TYPE is not defined.
  222. -Erik
  223. 2002-12-13 Erik Andersen <andersen@dillweed>
  224. * extra/config/Makefile, extra/Configs/Config.in, Makefile, Rules.mak:
  225. Only build the ncurses stuff when it is needed, based on a
  226. patch from Stefan Allius (though the extra/config/Makefile
  227. rework is mine),
  228. -Erik
  229. * Rules.mak: Move the soft float check
  230. 2002-12-12 Erik Andersen <andersen@dillweed>
  231. * ldso/libdl/Makefile, ldso/libdl/dlib.c, ldso/ldso/hash.c, ldso/ldso/ldso.c, ldso/ldso/readelflib1.c:
  232. Rework things such that staticly linked applications can use
  233. dlopen and have it be successful. This required moving some
  234. things out of ldso.c into readelflib1.c, and directly including
  235. hash.c and readelflib1.c into dlib.c when building the static
  236. version of the library.
  237. -Erik
  238. * extra/gcc-uClibc/gcc-uClibc.c:
  239. Use crt1.o when ctor/dtor support is enabled
  240. * extra/gcc-uClibc/gcc-uClibc.c:
  241. When -shared is specified, meaning they wish to create a shared
  242. library, we need to disable adding start files (i.e. crt0) since
  243. it isn't supposed to be creating an executable, just a shared lib.
  244. -Erik
  245. * docs/uclibc.org/uClibc-apps.html: Oops. Patch was vs 5beta.
  246. * extra/scripts/initfini.awk: It seems SCO puts touch in a wierd place
  247. * libc/sysdeps/linux/sh/Makefile, libc/sysdeps/linux/sh/crt0.S, libc/sysdeps/linux/mips/Makefile, libc/sysdeps/linux/mips/crt0.S, libc/sysdeps/linux/i386/Makefile, libc/sysdeps/linux/i386/crt0.S, libc/sysdeps/linux/i386/crt0.c, libc/sysdeps/linux/common/Makefile, libc/sysdeps/linux/arm/Makefile, libc/sysdeps/linux/arm/crt0.S:
  248. Based on discussions with Stefan Allius, change it so that we always
  249. build a crt0.o and a crt1.o. crt1.o will support ctors and dtors if
  250. such support is enabled. One more gratuitous toolchain support issue
  251. is thereby removed...
  252. -Erik
  253. * docs/uclibc.org/uClibc-apps.html:
  254. Add portmap and patch from Steven Elling
  255. * INSTALL: Fix typo noticed by V.Radhakrishnan
  256. * Makefile, libnsl/.cvsignore, libnsl/Makefile, libnsl/nsl.c:
  257. Add in a stub libnsl library to make stupid configure scripts
  258. (i.e. openssh) do the right thing when used with uClibc's gcc
  259. wrapper (which does not currently prevent system libraries from
  260. leaking into the link).
  261. -Erik
  262. * libresolv/.cvsignore: Fix broken ignore file
  263. * libresolv/resolv.c: Avoid silly namespace pollution
  264. 2002-12-11 Erik Andersen <andersen@dillweed>
  265. * docs/Glibc_vs_uClibc_Differences.txt: Remove a stray ')'
  266. 2002-12-11 Manuel Novoa III <mjn3@dillweed>
  267. * libc/sysdeps/linux/common/bits/uClibc_ctype.h:
  268. Remove trailing comma from enum list as a nicety for older compilers.
  269. 2002-12-09 Erik Andersen <andersen@dillweed>
  270. * Rules.mak: Cleanup the case when using the system shared lib loader
  271. -Erik
  272. 2002-12-05 tobiasa <tobiasa@dillweed>
  273. * Rules.mak: Added CPU_CFLAGS and CPU_LDFLAGS for cris.
  274. Added additional CFLAGS for cris when compiling with PIC.
  275. * extra/Configs/Config.cris, extra/Configs/Config.cris.default:
  276. Removed redundant definition of __USE_WEAK_ALIASES.
  277. Added option for selecting cris architecure type. For now, only CRIS is
  278. available.
  279. Added a default configuration for cris.
  280. 2002-12-04 Erik Andersen <andersen@dillweed>
  281. * test/Makefile, test/Rules.mak, libc/unistd/Makefile, Makefile, Rules.mak, extra/config/Makefile, extra/gcc-uClibc/Makefile, extra/locale/Makefile, ldso/util/Makefile:
  282. Change some variable names so we are more consistant with what
  283. the linux kernel uses.
  284. -Erik
  285. * extra/config/Makefile, extra/config/checklist.c, extra/config/colors.h, extra/config/dialog.h, extra/config/inputbox.c, extra/config/mconf.c, extra/config/menubox.c, extra/config/msgbox.c, extra/config/textbox.c, extra/config/util.c, extra/config/yesno.c:
  286. This is based on a patch posted to lkml by Petr Baudis on 23 Nov, which was
  287. then considerably hacked up by me. This eliminates the separate lxdialog and
  288. instead directly uses the lxdialog internals. This allows 'make menuconfig'
  289. to be much faster.
  290. -Erik
  291. * libc/inet/if_nametoindex.c:
  292. Implement the rest of the missing include/net/if.h interfaces
  293. -Erik
  294. * ldso/ldso/ldso.c:
  295. Looks like this is in fact needed to properly debug dynamically
  296. linked stuff, so put it back but add a check for NULL
  297. * Rules.mak: Override optimization settings when debugging
  298. * libc/sysdeps/linux/common/getcwd.c: Fix the other instance of getcwd
  299. * libc/unistd/sysconf.c:
  300. For now, always claim we have exactly one cpu. It should
  301. generally be the truth...
  302. * libc/sysdeps/linux/common/getcwd.c:
  303. Properly allocate memory when size is 0, but so is buf
  304. 2002-12-03 Erik Andersen <andersen@dillweed>
  305. * Rules.mak: Make the arm cpu-specific optimizations work properly
  306. 2002-12-02 Erik Andersen <andersen@dillweed>
  307. * Makefile:
  308. Don't leak outside of the target area when installing things.
  309. -Erik
  310. * extra/Configs/Config.in: Spelling fixes
  311. -Erik
  312. 2002-12-02 Manuel Novoa III <mjn3@dillweed>
  313. * libc/misc/search/Makefile: Cut and paste error.
  314. * libc/misc/search/Makefile, libc/misc/search/hsearch.c, libc/misc/search/hsearch_r.c, libc/misc/search/insremque.c, libc/misc/search/lsearch.c, libc/misc/search/tsearch.c, libc/misc/Makefile:
  315. Add hsearch and hsearch_r. Consolidate all functions prototyped in
  316. search.h in one directory.
  317. 2002-12-01 davidm <davidm@dillweed>
  318. * libc/stdio/popen.c:
  319. If the wait failed in pclose it would return a random status code
  320. instead of -1 as expected.
  321. 2002-12-01 ds <ds@dillweed>
  322. * ldso/util/ldd.c:
  323. Make ldd work even more like GNU ldd by appending dummy load addresses
  324. 2002-11-29 Erik Andersen <andersen@dillweed>
  325. * libc/sysdeps/linux/i386/crt0.S: I forgot to include features.h
  326. * libc/sysdeps/linux/sh/crt0.S:
  327. Silly me, I forgot to include features.h
  328. 2002-11-28 Erik Andersen <andersen@dillweed>
  329. * ldso/ldso/ldso.c: Kill a bit of unused cruft
  330. * test/Rules.mak: Fix compilation on mips
  331. 2002-11-27 Erik Andersen <andersen@dillweed>
  332. * extra/Configs/Config.in, extra/gcc-uClibc/Makefile, extra/gcc-uClibc/gcc-uClibc.c, extra/scripts/get-needed-libgcc-objects.sh, libc/Makefile, libc/sysdeps/linux/common/Makefile, libc/sysdeps/linux/arm/crt0.S, libc/sysdeps/linux/i386/crt0.S, libc/sysdeps/linux/mips/crt0.S, libc/sysdeps/linux/sh/crt0.S, libpthread/Makefile:
  333. Make support for global constructors and global destructors be
  334. configurable, so people who do not need or want ctor/dtor support
  335. can disable it and make their binaries a little bit smaller.
  336. -Erik
  337. * include/stdlib.h:
  338. Fixup sysconf to report the correct answer when UCLIBC_DYNAMIC_ATEXIT
  339. is enabled.
  340. 2002-11-27 Manuel Novoa III <mjn3@dillweed>
  341. * libc/stdio/printf.c: Fix an ifdef mismatch.
  342. 2002-11-27 Erik Andersen <andersen@dillweed>
  343. * extra/Configs/Config.sparc: Fix the defaults to make them be sane
  344. 2002-11-27 Manuel Novoa III <mjn3@dillweed>
  345. * libc/misc/time/time.c:
  346. Fix bug in setting daylight and timezone when no (valid) TZ.
  347. Bug reported by Arne Bernin <arne@alamut.de> in regards to freeswan.
  348. 2002-11-23 Manuel Novoa III <mjn3@dillweed>
  349. * libc/misc/wchar/wchar.c: Oops.. left in a bit of debugging code.
  350. 2002-11-23 Erik Andersen <andersen@dillweed>
  351. * Makefile:
  352. Use 'install' rather than 'mkdir -p' for target directories.
  353. Add $(PREFIX) to avoid leaking things at install time.
  354. -Erik
  355. 2002-11-22 Manuel Novoa III <mjn3@dillweed>
  356. * libc/sysdeps/linux/common/bits/uClibc_locale.h, libc/sysdeps/linux/common/bits/uClibc_stdio.h, libc/stdlib/Makefile, libc/stdlib/stdlib.c, libc/stdio/stdio.c, libc/stdio/Makefile, libc/stdio/printf.c, libc/misc/wchar/Makefile, libc/misc/wchar/wchar.c, libc/misc/wchar/wstdio.c, libc/misc/time/time.c, libc/misc/locale/locale.c, ldso/util/Makefile, include/iconv.h, extra/locale/Makefile, extra/locale/README, extra/locale/gen_ldc.c, extra/locale/gen_locale.c, extra/locale/gen_mmap.c, extra/locale/gen_wc8bit.c, extra/locale/gen_wctype.c, extra/locale/locale_mmap.h, docs/Glibc_vs_uClibc_Differences.txt, Makefile, TODO:
  357. Ok... here's the summary:
  358. Hopefully locale support will build when cross compiling now. Collation is
  359. still not supported, but that's what I'm currently working on. In the
  360. next couple of days, I'll probably put up a couple of files for download
  361. that will save people the trouble of generating all the glibc locales.
  362. Added *wprintf functions, although they currently don't support floating
  363. point. That will be fixed when I rewrite _dtostr... or possibly before.
  364. Added the wcsto{inttype} functions.
  365. Added iconv() and a mini iconv utility. The require locale support and
  366. only provide for conversions involving the various unicode encodings
  367. { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built
  368. with the locale data, and the internal WCHAR_T.
  369. 2002-11-21 Erik Andersen <andersen@dillweed>
  370. * libc/unistd/usershell.c:
  371. Oops. As Pavel Roskin notes, I forgot to conditionally include
  372. the __fsetlocking call in libc/unistd/usershell.c. It should
  373. be wrapped and only included if __UCLIBC_HAS_THREADS__ is defined.
  374. * libc/misc/internals/abi-note.S:
  375. Doh! As Stefan Allius points out, I forgot to properly review
  376. this change.
  377. 2002-11-21 miles <miles@dillweed>
  378. * libc/stdlib/malloc/malloc.h, libc/stdlib/malloc/malloc_debug.c:
  379. Debugging tweaks.
  380. 2002-11-21 Erik Andersen <andersen@dillweed>
  381. * libc/inet/getaddrinfo.c: Oops.
  382. * libc/inet/getaddrinfo.c, libc/inet/in6_addr.c, libc/inet/resolv.c, libc/inet/Makefile:
  383. Cleanup use of in6addr_loopback and in6addr_any
  384. * Rules.mak, extra/Configs/Config.h8300, extra/scripts/initfini.awk, libc/misc/internals/abi-note.S, libc/sysdeps/linux/h8300/bits/kernel_stat.h, libc/sysdeps/linux/h8300/bits/kernel_types.h, libc/sysdeps/linux/h8300/bits/mman.h, libc/sysdeps/linux/h8300/sys/ucontext.h:
  385. Patch from Yoshinori Sato to update the h8300 architecture.
  386. 2002-11-21 miles <miles@dillweed>
  387. * extra/Configs/Config.in, libc/stdlib/malloc/Makefile, libc/stdlib/malloc/free.c, libc/stdlib/malloc/heap_debug.c, libc/stdlib/malloc/malloc.c, libc/stdlib/malloc/malloc.h, libc/stdlib/malloc/malloc_debug.c, libc/stdlib/malloc/realloc.c:
  388. Improve malloc debugging support.
  389. 2002-11-21 Erik Andersen <andersen@dillweed>
  390. * ldso/util/ldd.c:
  391. Act more like the GNU version. Accept multiple args. Accept/ignore
  392. the "--" option since we always do that anyways.
  393. -Erik
  394. * Rules.mak:
  395. Doh! Manuel noticed I'd put the CFLAGS before DODEBUG, killing
  396. any chance of actually building with debug symbols.
  397. -Erik
  398. 2002-11-20 Erik Andersen <andersen@dillweed>
  399. * libc/unistd/usershell.c:
  400. Rework usershell.c, as the old one was packed full of unhandled
  401. failures, returned stack allocated memory, and misbehaved itself
  402. in a number of other annoying ways,
  403. -Erik
  404. * ldso/ldso/ldso.c, ldso/ldso/linuxelf.h, ldso/ldso/readelflib1.c:
  405. Kill SVR4_BUGCOMPAT
  406. * ldso/ldso/Makefile, ldso/ldso/ldso.c, ldso/ldso/linuxelf.h, ldso/ldso/readelflib1.c, extra/Configs/Config.in, extra/Configs/Config.sh:
  407. Patch from Stefan Allius:
  408. - Invert all FORCE_SHAREABLE_TEXT_SEGMENTS checks.
  409. - Define FORCE_SHAREABLE_TEXT_SEGMENTS in the Makefile,
  410. so it can be configured by the config system.
  411. - linuxelf.h inspects that we don't combine FORCE_SHAREABLE_TEXT_SEGMENTS
  412. and SVR4_BUGCOMPAT
  413. - Add a new config option for FORCE_SHAREABLE_TEXT_SEGMENTS
  414. * include/ctype.h:
  415. Patch from Aidan Van Dyk to make _toupper and _tolower
  416. work properly, reverting my wrong reading of SuSv3
  417. 2002-11-19 Erik Andersen <andersen@dillweed>
  418. * docs/Glibc_vs_uClibc_Differences.txt: Update verbage regarding NIS
  419. * Rules.mak:
  420. Remove use of $(strip) when no longer needed. Fixup DODEBUG
  421. so when debugging is enabled we don't enable all the major
  422. optimizations.
  423. -Erik
  424. * extra/Configs/Config.in, libc/stdlib/atexit.c:
  425. Implement dynamic atexit handling. Adds a few bytes and a dependancy
  426. on malloc (via realloc).
  427. -Erik
  428. * test/stdlib/ptytest.c, test/stdlib/testatexit.c: Silence some whining
  429. * include/ctype.h:
  430. Aidan Van Dyk noticed that _toupper and _tolower were misbehaving.
  431. This corrects them, per SuSv3.
  432. * ldso/ldso/ldso.c, ldso/ldso/readelflib1.c:
  433. Per suggestion from Stefan Allius, change DO_MPROTECT_HACKS to
  434. the more clear FORCE_SHAREABLE_TEXT_SEGMENTS.
  435. * ldso/ldso/ldso.c, ldso/ldso/readelflib1.c: Stefan Allius writes:
  436. I fixed two little bugs in ldso.c:
  437. - For LDD support we test the old environment variable
  438. LD_TRACE_LOADED_OBJECTS.
  439. - Before we init the GOT table of the dynamic loader
  440. we have to check, if we have a DT_PLTGOT entry.
  441. If DT_PLTGOT was zero we patch somthing in the header
  442. of the dynamic loader. This was the cause, why we have to
  443. enable the DO_MPROTECT_HACKS option for all targets, to avoid
  444. segment faults.
  445. In readelflib1.c I added a warning, if we try to load a shared library, which
  446. wasn't compiled with -fPIC or -fpic. So if we disable the DO_MPROTECT_HACKS
  447. option we are sure, that we don't waste memory by shared libraries which
  448. aren't able to share their text segment. I think this is a helpful option on
  449. little embedded systems.
  450. * include/wctype.h: cut-n-paste typo
  451. * include/regex.h: Update to sync up with glibc 2.3
  452. 2002-11-15 Erik Andersen <andersen@dillweed>
  453. * ldso/libdl/dlib.c:
  454. For now, revert Ronald Wahl's change to dlopen. We need to
  455. look into what is breaking dlclose() further...
  456. -Erik
  457. * libc/sysdeps/linux/powerpc/bits/syscalls.h, libc/sysdeps/linux/powerpc/Makefile, libc/sysdeps/linux/powerpc/__uClibc_syscall.S, libc/sysdeps/linux/powerpc/_mmap.c, libc/sysdeps/linux/powerpc/pread_write.c, libc/sysdeps/linux/powerpc/vfork.c:
  458. This draws from an old patch by David Blythe for the now-dead
  459. unified syscall interface. I reworked his old patch considerably
  460. and cleaned up his version of bits/syscalls.h with some sneaky macro
  461. magic. And I implemented a powerpc correct version of pread/pwrite
  462. -Erik
  463. * libc/sysdeps/linux/common/syscalls.c, libc/sysdeps/linux/common/truncate64.c, libc/sysdeps/linux/common/create_module.c, libc/sysdeps/linux/common/ftruncate64.c, libc/sysdeps/linux/common/pread_write.c, libc/sysdeps/linux/common/sendfile64.c:
  464. Cleanup a few structural wierdnesses
  465. * libc/sysdeps/linux/sh/syscall_error.S, libc/sysdeps/linux/sh/vfork.S, libc/sysdeps/linux/sh/clone.S:
  466. Stefan Allius writes:
  467. I attached a patch, which revise the clone.S and vfork.S:
  468. - Use PIC code.
  469. - include new file syscall.S, so we can simply make a branch to
  470. __syscall_error instead of a PLT/GOT call
  471. - call errno_location to store the syscall error (for pthreads)
  472. - avoid to use the 'shad' statement on SH2 targets
  473. - call fork if vfork isn't available
  474. - some cleanups and optimization
  475. * libc/sysdeps/linux/sh/bsd-_setjmp.S, libc/sysdeps/linux/sh/bsd-setjmp.S:
  476. Remove obsolete files
  477. * libc/sysdeps/linux/common/ftruncate64.c, libc/sysdeps/linux/common/truncate64.c:
  478. Fix it for real this time.
  479. * libc/sysdeps/linux/common/ftruncate64.c, libc/sysdeps/linux/common/truncate64.c:
  480. Doh! I screwed that one all up. Lets try that again...
  481. -Erik
  482. * test/unistd/preadwrite.c: Only build the 64 tests when relevant
  483. * test/unistd/.cvsignore, test/unistd/Makefile, test/unistd/preadwrite.c:
  484. Add in a pread/pwrite test
  485. * libc/unistd/getlogin.c:
  486. Patch from Luc Van Oostenryck to fix a buffer overflow
  487. in getlogin_r
  488. * libc/sysdeps/linux/sh/Makefile, libc/sysdeps/linux/sh/__longjmp.S, libc/sysdeps/linux/sh/setjmp.S:
  489. Stefan Allius writes:
  490. Hi Erik,
  491. I added the FPU support for the setjmp/longjmp stuff.
  492. This patch also moves the code from the bsd*.S files to the setjmp.S file, so
  493. we can use simple branch instructions instead of referencing over the
  494. .GOT/.PLT section. This makes the PIC code much easier, smaller and faster.
  495. (The idea comes from the SPARC target)
  496. Bye Stefan
  497. * docs/uclibc.org/uClibc-apps.html: Fixup minislang link
  498. * extra/gcc-uClibc/gcc-uClibc.c: Ronald Wahl writes:
  499. since uclibc-0.9.16 I have to specify -fpic during _link_-time or else
  500. I get an error from the dynamic linker when I load shared objects. Patch
  501. is appended.
  502. * ldso/libdl/dlib.c: Ronald Wahl writes:
  503. I noticed that dlclose() does not work since libraries loaded with
  504. dlopen are not marked as "loaded_file". This breaks apache with dynamic
  505. modules. I append a small fix against uClibc-0.9.16.
  506. * libc/sysdeps/linux/arm/crt0.S:
  507. I was an idiot and put _fini into the wrong register. Duh.
  508. This patch from David Meggy fixes it...
  509. 2002-11-14 Erik Andersen <andersen@dillweed>
  510. * libc/misc/regex/regex.c:
  511. As released in uClibc 0.9.16, regex was being compiled without
  512. wide char support, even when the rest of uClibc was. This led
  513. to anyone using regex segfaulting...
  514. -Erik
  515. * libc/sysdeps/linux/common/ftruncate64.c, libc/sysdeps/linux/common/truncate64.c:
  516. Minor cleanup
  517. -Erik
  518. * include/sys/sendfile.h, libc/sysdeps/linux/common/Makefile, libc/sysdeps/linux/common/sendfile64.c:
  519. Implement sendfile64
  520. -Erik
  521. * ldso/ldso/arm/boot1_arch.h: Add missing quotes
  522. -Erik
  523. 2002-11-12 Erik Andersen <andersen@dillweed>
  524. * ldso/ldso/powerpc/elfinterp.c: A powerpc patch from Ronald Wahl:
  525. Ok, now i got it after a day of work.
  526. I have had a look into glibc and found the following:
  527. sysdeps/powerpc/dl-machine.c:
  528. ...
  529. case R_PPC_JMP_SLOT:
  530. /* It used to be that elf_machine_fixup_plt was used here,
  531. but that doesn't work when ld.so relocates itself
  532. for the second time. On the bright side, there's
  533. no need to worry about thread-safety here. */
  534. {
  535. Elf32_Sword delta = finaladdr - (Elf32_Word) reloc_addr;
  536. ...
  537. The comment made me suspicious. The same position in uClibc looks like this:
  538. ldso/ldso/powerpc/elfinterp.c:
  539. ...
  540. case R_PPC_JMP_SLOT:
  541. {
  542. unsigned long targ_addr = (unsigned long)_dl_linux_resolve;
  543. int delta = targ_addr - (unsigned long)reloc_addr;
  544. ...
  545. When I change it to the following it works:
  546. ...
  547. case R_PPC_JMP_SLOT:
  548. {
  549. unsigned long targ_addr = *reloc_addr;
  550. int delta = targ_addr - (unsigned long)reloc_addr;
  551. ...
  552. I hope it will not break anything. Can anyone review this change and
  553. commit it into CVS?
  554. thanks,
  555. ron
  556. 2002-11-11 sjhill <sjhill@dillweed>
  557. * test/Makefile:
  558. Add in 'ldso' to directory list since 'make clean' was not recursing
  559. into it.
  560. 2002-11-10 Erik Andersen <andersen@dillweed>
  561. * docs/uclibc.org/index.html: Don't link to us.kernel.org
  562. 2002-11-09 aaronl <aaronl@dillweed>
  563. * extra/Configs/Config.in.arch: fix typo
  564. 2002-11-09 Erik Andersen <andersen@dillweed>
  565. * extra/config/confdata.c, extra/config/mconf.c: Update from upstream
  566. * Rules.mak: For arm use -mcpu for the moment, since it seems to work
  567. * extra/Configs/Config.in: typo fixes
  568. * include/features.h: Make sure we have __linux__ defined
  569. * docs/uclibc.org/index.html: Manditory typo..