summaryrefslogtreecommitdiff
path: root/newlib
AgeCommit message (Collapse)Author
2009-01-18Add usable <inttypes.h> files.Neal H. Walfield
libc-parts/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * inttypes.h: New file. newlib/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * patches/08-new-newlib-libc-include-inttypes-h.patch: New file. * Makefile.am (patch_files): Add 08-new-newlib-libc-include-inttypes-h.patch.
2009-01-17On x86-64, compile newlib with -fPIC.Neal H. Walfield
2009-01-17 Neal H. Walfield <neal@gnu.org> * Makefile.am [ARCH_X86_64]: Compile with -fPIC. (routines): Add strcpy.
2008-12-17Replace RPC rm prefix with vg.Neal H. Walfield
2008-12-17 Neal H. Walfield <neal@gnu.org> * viengoos/activity.h (RM_activity_policy): Rename from this... (VG_activity_policy): ... to this. Update users. (RM_activity_info): Rename from this... (VG_activity_info): ... to this. Update users. (RPC_STUB_PREFIX): Define to vg. (RPC_ID_PREFIX): Define to VG. * viengoos/cap.h (RM_cap_copy): Rename from this... (VG_cap_copy): ... to this. Update users. (RM_cap_rubout): Rename from this... (VG_cap_rubout): ... to this. Update users. (RM_cap_read): Rename from this... (VG_cap_read): ... to this. Update users. (RM_object_discarded_clear): Rename from this... (VG_object_discarded_clear): ... to this. Update users. (RM_object_discard): Rename from this... (VG_object_discard): ... to this. Update users. (RM_object_status): Rename from this... (VG_object_status): ... to this. Update users. (RM_object_reply_on_destruction): Rename from this... (VG_object_reply_on_destruction): ... to this. Update users. (RM_object_name): Rename from this... (VG_object_name): ... to this. Update users. (RPC_STUB_PREFIX): Define to vg. (RPC_ID_PREFIX): Define to VG. * viengoos/folio.h (RM_folio_alloc): Rename from this... (VG_folio_alloc): ... to this. Update users. (RM_folio_free): Rename from this... (Vg_folio_free): ... to this. Update users. (RM_folio_object_alloc): Rename from this... (VG_folio_object_alloc): ... to this. Update users. (RM_folio_policy): Rename from this... (VG_folio_policy): ... to this. Update users. (RPC_STUB_PREFIX): Define to vg. (RPC_ID_PREFIX): Define to VG. * viengoos/futex.h (RM_futex): Rename from this... (VG_futex): ... to this. Update users. (RPC_STUB_PREFIX): Define to vg. (RPC_ID_PREFIX): Define to VG. * viengoos/misc.h (RM_write): Rename from this... (VG_write): ... to this. Update users. (RM_read): Rename from this... (VG_read): ... to this. Update users. (RM_as_dump): Rename from this... (VG_as_dump): ... to this. Update users. (RM_fault): Rename from this... (VG_fault): ... to this. Update users. (RPC_STUB_PREFIX): Define to vg. (RPC_ID_PREFIX): Define to VG. * viengoos/thread.h (RM_thread_exregs): Rename from this... (RM_thread_exregs): ... to this. Update users. (RM_thread_id): Rename from this... (RM_thread_id): ... to this. Update users. (RM_thread_activation_collect): Rename from this... (RM_thread_activation_collect): ... to this. Update users. (RPC_STUB_PREFIX): Define to vg. (RPC_ID_PREFIX): Define to VG.
2008-12-17Add a "vg_" to public viengoos identifiers.Neal H. Walfield
2008-12-17 Neal H. Walfield <neal@gnu.org> * viengoos/activity.h: Add a "vg_" to public viengoos identifiers. Update users. * viengoos/addr-trans.h: Likewise. * viengoos/addr.h: Likewise. * viengoos/cap.h: Likewise. * viengoos/folio.h: Likewise. * viengoos/futex.h: Likewise. * viengoos/rpc.h: Likewise. * viengoos/thread.h: Likewise.
2008-12-17Move viengoos header files to libviengoos.Neal H. Walfield
/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * libviengoos: New directory. * Makefile.am (SUBDIRS): Add libviengoos. * configure.ac: Include libviengoos/headers.m4. Generate libviengoos/Makefile. hurd/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * activity.h: Move to ../libviengoos/viengoos. Update references. * addr-trans.h: Likewise. * addr.h: Likewise. * cap.h: Likewise. * folio.h: Likewise. * futex.h: Likewise. * ipc.h: Likewise. * message.h: Likewise. * messenger.h: Likewise. * rpc.h: Likewise. * thread.h: Move viengoos specific bits... * ../libviengoos/viengoos/thread.h: ... to this new file. * thread.h (struct hurd_utcb): New structure. * exceptions.h (hurd_utcb): Use a struct hurd_utcb *, not a struct vg_utcb *. Update users. (hurd_activation_state_alloc): Likewise. (hurd_activation_state_free): Likewise. (hurd_activation_handler_activated): Likewise. (hurd_activation_handler_normal): Likewise. * t-addr-trans.c: Move to ../libviengoos. * t-addr.c: Likewise. * t-rpc.c: Likewise. * Makefile.am (TESTS, check_PROGRAMS, t_addr_CPPFLAGS) (t_addr_SOURCES, t_addr_trans_CPPFLAGS, t_addr_trans_SOURCES) (t_rpc_CPPFLAGS, t_rpc_SOURCES): Move from this file... * ../libviengoos/Makefile.am. * Makefile.am (includehurd_HEADERS): Don't mention activity.h, addr-trans.h, addr.h, cap.h, folio.h, futex.h, ipc.h, message.h or messenger.h. * headers.m4: Don't create a link to hurd/addr.h, hurd/addr-trans.h, hurd/cap.h, hurd/folio.h, hurd/rpc.h, hurd/activity.h, hurd/futex.h, hurd/message.h, hurd/messenger.h or hurd/ipc.h. libviengoos/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * Makefile.am: New file. * headers.m4: Likewise. * t-addr-trans.c: Move from ../hurd. * t-addr.c: Likewise. * t-rpc.c: Likewise. * viengoos.h: Likewise. * viengoos/activity.h: Likewise. * viengoos/addr-trans.h: Likewise. * viengoos/addr.h: Likewise. * viengoos/cap.h: Likewise. * viengoos/folio.h: Likewise. * viengoos/futex.h: Likewise. * viengoos/ipc.h: Likewise. * viengoos/message.h: Likewise. * viengoos/messenger.h: Likewise. * viengoos/rpc.h: Likewise. * viengoos/misc.h: Moved from ../viengoos/rm.h. * viengoos/thread.h: New file split from ../hurd/thread.h. libpthread/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * Makefile.am: New file. * headers.m4: Likewise. * t-addr-trans.c: Move from ../hurd. * t-addr.c: Likewise. * t-rpc.c: Likewise. * viengoos.h: Likewise. * viengoos/activity.h: Likewise. * viengoos/addr-trans.h: Likewise. * viengoos/addr.h: Likewise. * viengoos/cap.h: Likewise. * viengoos/folio.h: Likewise. * viengoos/futex.h: Likewise. * viengoos/ipc.h: Likewise. * viengoos/message.h: Likewise. * viengoos/messenger.h: Likewise. * viengoos/rpc.h: Likewise. * viengoos/misc.h: Moved from ../viengoos/rm.h. * viengoos/thread.h: New file split from ../hurd/thread.h. viengoos/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * rm.h: Move from here... * ../libviengoos/viengoos/misc.h: ... to here. Update users. * headers.m4: Don't link rm.h to hurd/rm.h. * Makefile.am (viengoos_SOURCES): Remove rm.h.
2008-12-12Introduce a basic file descriptor abstraction and memory file support.Neal H. Walfield
2008-12-12 Neal H. Walfield <neal@gnu.org> * addon/newlib/libc/sys/hurd/access.c: New file. * addon/newlib/libc/sys/hurd/fd.h: Likewise. * addon/newlib/libc/sys/hurd/fsync.c: Likewise. * addon/newlib/libc/sys/hurd/ftruncate.c: Likewise. * addon/newlib/libc/sys/hurd/getcwd.c: Likewise. * addon/newlib/libc/sys/hurd/getpwuid.c: Likewise. * addon/newlib/libc/sys/hurd/getrusage.c: Likewise. * addon/newlib/libc/sys/hurd/getuid.c: Likewise. * addon/newlib/libc/sys/hurd/memfile.c: Likewise. * addon/newlib/libc/sys/hurd/memfile.h: Likewise. * addon/newlib/libc/sys/hurd/pipefile.c: Likewise. * addon/newlib/libc/sys/hurd/sleep.c: Likewise. * Makefile.am (addon): Add newlib/libc/sys/hurd/access.c, newlib/libc/sys/hurd/fsync.c, newlib/libc/sys/hurd/ftruncate.c, newlib/libc/sys/hurd/getcwd.c, newlib/libc/sys/hurd/getpwuid.c, newlib/libc/sys/hurd/getrusage.c, newlib/libc/sys/hurd/getuid.c, newlib/libc/sys/hurd/sleep.c, newlib/libc/sys/hurd/fd.h, newlib/libc/sys/hurd/pipefile.c and newlib/libc/sys/hurd/memfile.c. * addon/newlib/libc/sys/hurd/Makefile.am (GENERAL_SOURCES): Add access.c, fsync.c, ftruncate.c, getcwd.c, getpwuid.c, getrusage.c, getuid.c, sleep.c, pipefile.c, memfile.c and fd.h. * addon/newlib/libc/sys/hurd/closer.c (close): Reimplement using the descriptor abstraction. * addon/newlib/libc/sys/hurd/lseekr.c (lseek): Likewise. * addon/newlib/libc/sys/hurd/openr.c (open): Likewise. * addon/newlib/libc/sys/hurd/readr.c (read): Likewise. * addon/newlib/libc/sys/hurd/writer.c (write): Likewise. * addon/newlib/libc/sys/hurd/fcntlr.c (fcntl): Return true for valid file descriptors.
2008-12-12Introduce a basic file descriptor abstraction and memory file support.Neal H. Walfield
2008-12-12 Neal H. Walfield <neal@gnu.org> * addon/newlib/libc/sys/hurd/access.c: New file. * addon/newlib/libc/sys/hurd/fd.h: Likewise. * addon/newlib/libc/sys/hurd/fsync.c: Likewise. * addon/newlib/libc/sys/hurd/ftruncate.c: Likewise. * addon/newlib/libc/sys/hurd/getcwd.c: Likewise. * addon/newlib/libc/sys/hurd/getpwuid.c: Likewise. * addon/newlib/libc/sys/hurd/getrusage.c: Likewise. * addon/newlib/libc/sys/hurd/getuid.c: Likewise. * addon/newlib/libc/sys/hurd/memfile.c: Likewise. * addon/newlib/libc/sys/hurd/memfile.h: Likewise. * addon/newlib/libc/sys/hurd/pipefile.c: Likewise. * addon/newlib/libc/sys/hurd/sleep.c: Likewise. * Makefile.am (addon): Add newlib/libc/sys/hurd/access.c, newlib/libc/sys/hurd/fsync.c, newlib/libc/sys/hurd/ftruncate.c, newlib/libc/sys/hurd/getcwd.c, newlib/libc/sys/hurd/getpwuid.c, newlib/libc/sys/hurd/getrusage.c, newlib/libc/sys/hurd/getuid.c, newlib/libc/sys/hurd/sleep.c, newlib/libc/sys/hurd/fd.h, newlib/libc/sys/hurd/pipefile.c and newlib/libc/sys/hurd/memfile.c. * addon/newlib/libc/sys/hurd/Makefile.am (GENERAL_SOURCES): Add access.c, fsync.c, ftruncate.c, getcwd.c, getpwuid.c, getrusage.c, getuid.c, sleep.c, pipefile.c, memfile.c and fd.h. * addon/newlib/libc/sys/hurd/closer.c (close): Reimplement using the descriptor abstraction. * addon/newlib/libc/sys/hurd/lseekr.c (lseek): Likewise. * addon/newlib/libc/sys/hurd/openr.c (open): Likewise. * addon/newlib/libc/sys/hurd/readr.c (read): Likewise. * addon/newlib/libc/sys/hurd/writer.c (write): Likewise. * addon/newlib/libc/sys/hurd/fcntlr.c (fcntl): Return true for valid file descriptors.
2008-11-03Remove .cvsignore files. Add a .gitignore file.Neal H. Walfield
2008-11-03Update to binutils 2.19.Neal H. Walfield
/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * Makefile.am (libc-stmp): Don't create an empty sysroot/lib/libc.a. binutils/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * Makefrag.am (binutils_version): Bump to 2.19. libc-parts/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * headers.m4: Don't create an empty libc-parts/libc-parts.a. libhurd-btree/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * headers.m4: Don't create an empty libhurd-btree/libhurd-btree.alibhurd-btree/libhurd-btree.a. libhurd-ihash/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * headers.m4: Don't create an empty libhurd-ihash/libhurd-ihash.a. libhurd-mm 2008-11-03 Neal H. Walfield <neal@gnu.org> * headers.m4: Don't create an empty libhurd-mm/libhurd-mm.a. libhurd-slab/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * headers.m4: Don't create an empty libhurd-slab/libhurd-slab.a. libpthread/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * headers.m4: Don't create an empty libpthread/libpthread.a. newlib/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * headers.m4: Don't create an empty newlib/libc.a or an empty newlib/libm.a. viengoos/ 2008-11-03 Neal H. Walfield <neal@gnu.org> * headers.m4: Don't create an empty viengoos/libhurd-cap.a.
2008-10-08viengoos/originneal
2008-10-08 Neal H. Walfield <neal@gnu.org> * rm.h (enum rm_method_id): Add RM_read. (rm_method_id_string): Handle it. (read): New RPC. * server.c (server_loop): Implement the read RPC. newlib/ 2008-10-08 Neal H. Walfield <neal@gnu.org> * addon/newlib/libc/sys/hurd/readr.c: Include <hurd/rm.h>. (read): Implement.
2008-06-27Update .cvsignore.neal
2008-06-272008-06-27 Neal H. Walfield <neal@gnu.org>neal
* Makefile.am (noinst_LIBRARIES): Remove variable. (all-local): New target. (.PHONY): Depend on newlib-build/build.stamp. (newlib-build/build.stamp): Run make install here if newlib-build/libc.a is newer than newlib-build/build.stamp. Only touch newlib-build/build.stamp in this case.
2008-06-26viengoos/neal
2008-06-26 Neal H. Walfield <neal@gnu.org> * rm.h (RM_putchar): Remove. (RM_write): Replace with this. (rm_method_id_string): Update. (struct io_buffer): New structure. (write): New method. * server.c (server_loop): Replace putchar method implementation with write method implementation. libc-parts/ 2008-06-26 Neal H. Walfield <neal@gnu.org> * s_printf.c (io_buffer_flush) [! RM_INTERN]: New function. (io_buffer_append) [! RM_INTERN]: Likewise. (s_puts)[! RM_INTERN]: Use them. (s_vprintf) [! RM_INTERN]: Likewise. (s_putchar)[! RM_INTERN]: Use rm_write. newlib/ 2008-06-26 Neal H. Walfield <neal@gnu.org> * addon/newlib/libc/sys/hurd/writer.c (io_buffer_flush): New function. (io_buffer_append): Likewise. (write): Don't use rm_putchar but the new functions.
2008-06-172008-06-17 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/gettimeofdayr.c: Include <l4/schedule.h>. (gettimeofday): Use l4_system_clock to get basic time information.
2008-05-312008-05-31 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* Makefile.am ($(srcdir)/newlib/patch.stamp): Remove ``PACKAGE_*'' definitions from `newlib/newlib/newlib.hin'.
2008-05-302008-05-30 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* configure.ac (AM_MAINTAINER_MODE): Get rid of it. * README: Reflect that. newlib/ 2008-05-30 Thomas Schwinge <tschwinge@gnu.org> * README: No more ``--enable-maintainer-mode'' in the top-level.
2008-05-302008-05-30 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* README: Suggest ``make -j''. newlib/ 2008-05-30 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (newlib-build/build.stamp, newlib-build/install.stamp): New targets. Used to decouple ``make install'' from ``make all''.
2008-05-302008-05-30 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* patches/04-newlib-newlib-configure-ac.patch: Don't conceal errors.
2008-05-302008-05-30 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* Makefile.am ($(addprefix $(srcdir)/newlib/, $(addon))): Touch the destination file after linking.
2008-05-302008-05-29 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* headers.m4: New file. * Makefile.am: Include `Makefoo.am'. (patch_files): Remove `00-newlib-configure-ac.patch'. (abs_top_builddir, abs_srcdir, abs_top_srcdir): Don't define. (newlib/patch.stamp): Link to main config.guess, config.sub. (newlib-build/configure.stamp): Configure for building with cross compiler. * patches/00-newlib-configure-ac.patch: Remove.
2008-05-292008-05-29 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* Makefile.am: Rework stamp-tracking system.
2008-05-292008-05-29 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* addon/newlib/libc/sys/hurd/configure: Remove file. * addon/newlib/libc/sys/hurd/Makefile.in: Likewise. * addon/newlib/libc/sys/hurd/aclocal.m4: Likewise. * Makefile.am (addon): Adapt.
2008-03-012008-03-01 Neal H. Walfield <neal@gnu.org>neal
* Makefile.am (addon): Add newlib/libc/sys/hurd/include/signal.h. * patches/03-newlib-newlib-configure-host.patch: Add -DSIGNAL_PROVIDED to newlib_cflags. * patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch: Correctly calcualtesigjmp_buf. * addon/newlib/libc/sys/hurd/include/signal.h: New file.
2008-03-012008-03-01 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/closer.c (close): New function. (_close_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/fcntlr.c (fcntl): New function. (_fcntl_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/fstatr.c (fstat): New function. (_fstat_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/gettimeofdayr.c (gettimeofday): New function. (_gettimeofday_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/linkr.c (link): New function. (_link_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/lseekr.c (lseek): New function. (_lseek_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/openr.c (open): New function. (_open_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/readr.c (read): New function. (_read_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/renamer.c (rename): New function. (_rename_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/signalr.c (_kill_r): Just call kill. (getpid): New function. (_getpid_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/statr.c (stat): New function. (_stat_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/timesr.c (times): New function. (_times_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/unlinkr.c (unlink): New function. (_unlink_r): Implement in terms of it. * addon/newlib/libc/sys/hurd/writer.c (write): New function. (_write_r): Implement in terms of it.
2008-02-21/neal
2008-02-21 Neal H. Walfield <neal@gnu.org> * configure.ac (CFLAGS): Remove variable. (USER_CFLAGS): New variable. (USER_CPPFLAGS): Likewise. (USER_LDFLAGS): Likewise. (USER_LDADD): Likewise. (KERNEL_CFLAGS): Likewise. (KERNEL_CPPFLAGS): Likewise. * Makefile.am (SUBDIRS): Build . after building laden and viengoos. hieronymus/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (AM_CPPFLAGS): Remove variable. (AM_LDFLAGS): Likewise. (hieronymus_CPPFLAGS): New variable. (hieronymus_CFLAGS): Likewise. (hieronymus_LDFLAGS): Likewise. (hieronymus_LDADD): Don't include libc.a directly, use the value of $(USER_LDADD) instead. hurd/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (COMMON_CPPFLAGS): Remove variable. (t_addr_CPPFLAGS): Replace use of $(COMMON_CPPFLAGS) with use of $(CHECK_CPPFLAGS). (t_addr_trans_CPPFLAGS): Likewise. (t_rpc_CPPFLAGS): Likewise. libc-parts/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (COMMON_CPPFLAGS): Remove variable. (libc_parts_a_CPPFLAGS): Set to $(USER_CPPFLAGS). (libc_parts_a_CFLAGS): New variable. (libc_kernel_a_CPPFLAGS): Set to $(KERNEL_CPPFLAGS). (libc_kernel_a_CFLAGS): New variable. (t_setjmp_CPPFLAGS): Remove use of $(COMMON_CPPFLAGS) with $(CHECK_CPPFLAGS). libhurd-btree/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (COMMON_CPPFLAGS): Remove variable. (libhurd_btree_a_CPPFLAGS): Replace use of above with $(USER_CPPFLAGS). (libhurd_btree_a_CFLAGS): New variable. (btree_test_CPPFLAGS): Replace use $(COMMON_CPPFLAGS) with $(CHECK_CPPFLAGS). libhurd-ihash/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (AM_CPPFLAGS): Remove variable. (AM_CFLAGS): Likewise. (libhurd_ihash_a_CPPFLAGS): New variable. (libhurd_ihash_a_CFLAGS): Likewise. (libhurd_ihash_nomalloc_a_CPPFLAGS): Replace use of $(AM_CPPFLAGS) with $(USER_CPPFLAGS). (libhurd_ihash_nomalloc_a_CFLAGS): New variable. (t_ihash_CPPFLAGS): Remove use of $(AM_CPPFLAGS). (t_ihash64_CPPFLAGS): Likewise. (t_ihash_CFLAGS): New variable. (t_ihash64_CFLAGS): Likewise. * ihash.c: Don't include <hurd/ihash.h> but "ihash.h". libhurd-mm/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (COMMON_CPPFLAGS): Remove variable. (libhurd_mm_a_CPPFLAGS): Replace use of above with $(USER_CPPFLAGS). (libhurd_mm_a_CFLAGS): New variable. libpthread/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (AM_CPPFLAGS): Replace use of includes with $(USER_CPPFLAGS). (AM_CFLAGS): New variable. newlib/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (patch_files): Add 05-newlib-newlib-libc-include-machine-setjmp-h.patch, 06-newlib-newlib-libc-machine-i386-i386mach-h.patch, and 07-newlib-newlib-libm-machine-i386-i386mach-h.patch. (ccheaders): Remove variable. (SYSINCLUDES): Likewise. (newlib-build/libc.a newlib-build/libm.a): Set TARGET_CFLAGS to "$(USER_CPPFLAGS) $(USER_CFLAGS) $(USER_LDFLAGS)". * newlib/patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch: New file. * newlib/patches/06-newlib-newlib-libc-machine-i386-i386mach-h.patch: New file. * newlib/patches/07-newlib-newlib-libm-machine-i386-i386mach-h.patch: New file. ruth/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (COMMON_CPPFLAGS): Remove variable. (ruth_CPPFLAGS): Set to $(USER_CPPFLAGS). (ruth_CFLAGS): New variable. (ruth_LDFLAGS): Set to $(USER_LDFLAGS). (ruth_LDADD): Set to $(USER_LDADD). viengoos/ 2008-02-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (COMMON_CPPFLAGS): Remove variable. (viengoos_CPPFLAGS): Set to $(KERNEL_CPPFLAGS). (viengoos_CFLAGS): New variable. (libhurd_cap_a_CPPFLAGS): Set to $(USER_CPPFLAGS). (libhurd_cap_a_CFLAGS): New variable. (t_as_CFLAGS): New variable. (t_activity_CFLAGS): Likewise. (t_link_CFLAGS): Likewise.
2008-02-13libhurd-mm/neal
2008-02-13 Neal H. Walfield <neal@gnu.org> * storage.h (storage_alloc): Take additional parameter policy. Update callers. * storage.c (storage_alloc): Take additional parameter policy. Use it when allocating the object and updating the shadow capability slots. libpthread/ 2008-02-13 Neal H. Walfield <neal@gnu.org> * sysdeps/l4/hurd/pt-thread-alloc.c (__pthread_thread_alloc): Update use of storage_alloc to be consistent with new API. newlib/ 2008-02-13 Neal H. Walfield <neal@gnu.org> * addon/newlib/libc/sys/hurd/getreent.c (slab_alloc): Update use of storage_alloc to be consistent with new API. ruth/ 2008-02-13 Neal H. Walfield <neal@gnu.org> * ruth.c (main): Update use of storage_alloc to be consistent with new API.
2008-02-11libhurd-mm/neal
2008-02-11 Neal H. Walfield <neal@gnu.org> * mm.h (mm_init_done): New declaration. * mm-init.c (mm_init_done): Define. (mm_init): Assert that MM_INIT_DONE is false. Set to true just prior to returning. newlib/ 2008-02-11 Neal H. Walfield <neal@gnu.org> * addon/newlib/libc/sys/hurd/getreent.c (__getreent): Assert MM_INIT_DONE.
2008-02-08/tschwinge
2008-02-08 Thomas Schwinge <tschwinge@gnu.org> * configure.ac (STATIC_GLIBC): Remove. libc-parts/ 2008-02-08 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (routines, routines_subexp, routines_objects) (routines_varname, $(routines_objects)): Remove. Partially moved to newlib. newlib/ 2008-02-08 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (noinst_LIBRARIES): Add `libc-routines.a'. (libc-routines.a, routines_subexp, routines): New target and helper expressions, partially ripped from libc-parts. (clean-local): Extend. laden/ 2008-02-08 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (laden_LDADD): Link against newlib's `libc-routines.a'. viengoos/ 2008-02-08 Thomas Schwinge <tschwinge@gnu.org> * Makefile.am (viengoos_LDADD): Link against newlib's `libc-routines.a'.
2008-02-082008-02-08 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/sys/lock.h: Include <hurd/stddef.h>. (__newlib_trace_locks): New declaration. (__lock_release): Add debugging output. (__lock_acquire): Likewise. (__lock_try_acquire): Likewise. (__lock_acquire_recursive): Likewise. (__lock_try_acquire_recursive): Likewise. (__lock_release_recursive): Likewise. * addon/newlib/libc/sys/hurd/lock.c (__newlib_trace_locks): New definition.
2008-02-05hurd/neal
2008-02-05 Neal H. Walfield <neal@gnu.org> * error.h: New file. * Makefile.am (includehurd_HEADERS): Add error.h. * headers.m4: Link $(BUILDIR)/include/hurd/error.h to error.h. * cap.h: Don't include <errno.h>. Include <hurd/error.h>. * exceptions.h: Likewise. * futex.h: Likewise. libc-parts/ 2008-02-05 Neal H. Walfield <neal@gnu.org> * errno.h: Protect from multiple inclusion. Don't include the next errno.h. Include <hurd/error.h>. (errno): Don't undef. (error_t): Define. newlib/ 2008-02-05 Neal H. Walfield <neal@gnu.org> * addon/newlib/libc/sys/hurd/sys/errno.h: New file. * Makefile.am (addon): Add newlib/libc/sys/hurd/sys/errno.h.
2008-01-272008-01-27 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* Makefile.am: Typo fixes.
2008-01-262008-01-26 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* Makefile.am (newlib-configure-stamp): Don't pass CPPFLAGS and CFLAGS. (ccheaders, SYSINCLUDES): New variables. (newlib-build/libc.a): Pass TARGET_CFLAGS (summing up all the above flags) to the make invocation.
2008-01-262008-01-26 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/malloc.c (INITIAL_LOCK): Correctly parenthesize use of LOCK. (ACQUIRE_LOCK): Likewise. (RELEASE_LOCK): Likewise.
2008-01-262008-01-26 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* Makefile.am (abs_top_builddir, abs_srcdir, abs_top_srcdir): Use on-demand evaluation.
2008-01-262008-01-26 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* patches/04-newlib-newlib-configure-ac.patch: Use ``readlink -f'' instead of ``realpath''.
2008-01-252008-01-25 Neal H. Walfield <neal@gnu.org>neal
* Makefile.am (newlib-configure-stamp): Add -fno-stack-protector to the configure invocation.
2008-01-232008-01-24 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/getreent.c (reent_main): New variable. (reent_main_alloced): Likewise. (reent_key_destroy): Clear utcb[_L4_UTCB_THREAD_WORD0]. (__getreent): If REENT_MAIN_ALLOCED is not true, then use REENT_MAIN. Otherwise, use the slab. Only initialize the key if we use the slab and then, only after we've initialized the new structure and stashed it in utcb[_L4_UTCB_THREAD_WORD0].
2008-01-232008-01-23 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/isatty.c: New file. * addon/newlib/libc/sys/hurd/Makefile.am (GENERAL_SOURCES): Add isatty.c. * Makefile.am (addon): Add newlib/libc/sys/hurd/isatty.c. * addon/newlib/libc/sys/hurd/sys/config.h (_LARGEFILE64_SOURCE): Don't define. (__LARGE64_FILES): Likewise. * addon/newlib/libc/sys/hurd/malloc.c: Include <sys/lock.h> (MLOCK_T): Define. (INITIAL_LOCK): Likewise. (ACQUIRE_LOCK): Likewise. (RELEASE_LOCK): Likewise. * addon/newlib/libc/sys/hurd/writer.c: Include <hurd/rm.h>. (_write_r): If FD is 1 or 2, then send the buffer to the console.
2008-01-232008-01-23 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/malloc.c (HAVE_MREMAP): Define to 0.
2008-01-232008-01-23 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/Makefile.am (GENERAL_SOURCES): Add lock.c.
2008-01-232008-01-23 Neal H. Walfield <neal@gnu.org>neal
* Makefile.am ($(srcdir)/newlib $(srcdir)/newlib-stamp): When extracting the tarball, remove the patch-applied stamps. ($(addsuffix -applied,$(patch_files))): Depend on $(srcdir)/newlib, not $(srcdir)/newlib-stamp.
2008-01-222008-01-22 Neal H. Walfield <neal@gnu.org>neal
* addon/newlib/libc/sys/hurd/Makefile.am: New file. * addon/newlib/libc/sys/hurd/aclocal.m4: Likewise. * addon/newlib/libc/sys/hurd/closer.c: Likewise. * addon/newlib/libc/sys/hurd/configure: Likewise. * addon/newlib/libc/sys/hurd/configure.ac: Likewise. * addon/newlib/libc/sys/hurd/crt0.c: Likewise. * addon/newlib/libc/sys/hurd/fcntlr.c: Likewise. * addon/newlib/libc/sys/hurd/fstatr.c: Likewise. * addon/newlib/libc/sys/hurd/getreent.c: Likewise. * addon/newlib/libc/sys/hurd/gettimeofdayr.c: Likewise. * addon/newlib/libc/sys/hurd/linkr.c: Likewise. * addon/newlib/libc/sys/hurd/lock.c: Likewise. * addon/newlib/libc/sys/hurd/lseekr.c: Likewise. * addon/newlib/libc/sys/hurd/malloc.c: Likewise. * addon/newlib/libc/sys/hurd/mallocr.c: Likewise. * addon/newlib/libc/sys/hurd/openr.c: Likewise. * addon/newlib/libc/sys/hurd/readr.c: Likewise. * addon/newlib/libc/sys/hurd/reent.c: Likewise. * addon/newlib/libc/sys/hurd/renamer.c: Likewise. * addon/newlib/libc/sys/hurd/sbrkr.c: Likewise. * addon/newlib/libc/sys/hurd/signalr.c: Likewise. * addon/newlib/libc/sys/hurd/statr.c: Likewise. * addon/newlib/libc/sys/hurd/timesr.c: Likewise. * addon/newlib/libc/sys/hurd/unlinkr.c: Likewise. * addon/newlib/libc/sys/hurd/writer.c: Likewise. * addon/newlib/libc/sys/hurd/include/assert.h: Likewise. * addon/newlib/libc/sys/hurd/include/pthread.h: Likewise. * addon/newlib/libc/sys/hurd/sys/config.h: Likewise. * addon/newlib/libc/sys/hurd/sys/lock.h: Likewise. * patches/00-newlib-configure-ac.patch: Likewise. * patches/01-newlib-libc-sys-configure-in.patch: Likewise. * patches/02-newlib-newlib-libc-string-makefile-am.patch: Likewise. * patches/03-newlib-newlib-configure-host.patch: Likewise. * patches/04-newlib-newlib-configure-ac.patch: Likewise. * Makefile.am (patch_files): Add 00-newlib-configure-ac.patch, 01-newlib-libc-sys-configure-in.patch, 02-newlib-newlib-libc-string-makefile-am.patch, 03-newlib-newlib-configure-host.patch, and 04-newlib-newlib-configure-ac.patch. (addon): newlib/libc/sys/hurd/configure.ac, newlib/libc/sys/hurd/configure, newlib/libc/sys/hurd/Makefile.am, newlib/libc/sys/hurd/Makefile.in, newlib/libc/sys/hurd/aclocal.m4, newlib/libc/sys/hurd/closer.c, newlib/libc/sys/hurd/reent.c, newlib/libc/sys/hurd/fcntlr.c, newlib/libc/sys/hurd/fstatr.c, newlib/libc/sys/hurd/gettimeofdayr.c, newlib/libc/sys/hurd/linkr.c, newlib/libc/sys/hurd/lseekr.c, newlib/libc/sys/hurd/openr.c, newlib/libc/sys/hurd/readr.c, newlib/libc/sys/hurd/renamer.c, newlib/libc/sys/hurd/signalr.c, newlib/libc/sys/hurd/sbrkr.c, newlib/libc/sys/hurd/statr.c, newlib/libc/sys/hurd/timesr.c, newlib/libc/sys/hurd/unlinkr.c, newlib/libc/sys/hurd/writer.c, newlib/libc/sys/hurd/getreent.c, newlib/libc/sys/hurd/malloc.c, newlib/libc/sys/hurd/mallocr.c, newlib/libc/sys/hurd/lock.c, newlib/libc/sys/hurd/crt0.c, newlib/libc/sys/hurd/include/pthread.h, newlib/libc/sys/hurd/include/assert.h, newlib/libc/sys/hurd/sys/lock.h, and newlib/libc/sys/hurd/sys/config.h. (abs_top_srcdir): New variable. (newlib-configure-stamp): Run autoreconf. Add -I$(abs_top_srcdir)/libc-parts to CPPFLAGS. Set prefix to newlib-install. Add include --enable-newlib-multithread when invoking configure. (newlib-configure-stamp): Also run make install. (include): Link to installed include directory.
2008-01-172008-01-17 Neal H. Walfield <neal@gnu.org>neal
* Makefile.am: (patches): Remove variable. Update users to use $(patch_files) directly. (EXTRA_DIST): Prefix the addon fields with `addon/'. ($(srcdir)/newlib): Make it depend on the tarball. When extracted, touch it. ($(srcdir)/newlib-patch-stamp): Remove rule. ($(addsuffix -applied,$(patch_files))): Replace with rule to copy the applied patch to the build directory and use that as a reference. If the source patch is changed, revert the original patch before applying the new patch. ($(addprefix $(srcdir)/newlib/, $(addon))): Depend on the individual addon files rather than a stamp file. When linking add-on files into the source tree, pass -f to ln. (newlib-configure-stamp): When configuring, add --enable-maintainer-mode. (clean-local): Remove the source directory. (CLEANFILES): Remove $(srcdir)/newlib-stamp.
2008-01-172008-01-17 Neal H. Walfield <neal@gnu.org>neal
* Makefile.am (clean-local): New rule. (distclean-local): Likewise. (CLEANFILES): New variable. (DISTCLEANFILES): Likewise.
2008-01-17/neal
2008-01-17 Neal H. Walfield <neal@gnu.org> * configure.ac: Check for ln. Add new option --with-newlib. Generate newlib/Makefile. * Makefile.am (NEWLIB_SUBDIRS): New variable. (SUBDIRS): Add it. * newlib: New directory. newlib/ 2008-01-17 Neal H. Walfield <neal@gnu.org> * .cvsignore: New file. * ChangeLog: New file mentioning itself. * Makefile.am: New file. * README: Likewise. * addon: New directory. * patches: Likewise.