summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2009-01-16Conditionalize use of l4 functions on USE_L4.Neal H. Walfield
/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * Makefile.am (L4_SUBDIRS): New variable. Set to l4 directories if USE_L4 is true, otherwise leave empty. (SUBDIRS): Remove libl4 and laden. Replace with $(USE_L4). Rearrange order. benchmarks/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * activity-distribution.c (main): Use vg_thread_id_t and hurd_myself, not l4_thread_id_t and l4_myself. [USE_L4]: Only l4_sleep in this case. * cache.c (helper_fork): Use hurd_myself, not l4_myself. (main) [USE_L4]: Only call _L4_kdb in this case. * shared-memory-distribution.c (main): Use vg_thread_id_t and hurd_myself, not l4_thread_id_t and l4_myself. hieronymus/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * hieronymus.c (main): Use uint64_t, not l4_uint64_t. (main) [USE_L4]: Don't sleep in this case. hurd/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * lock.h (ss_mutex_trace_add) [! USE_L4]: Set SS_LOCK_TRACE[I].TID to zero. * thread.h (hurd_myself) [USE_L4]: Return l4_myself. * trace.h (trace_buffer_add) [! USE_L4 && ! RM_INTERN]: Use hurd_myself, not l4_myself. [! USE_L4 && RM_INTERN]: Don't print a tid. libc-parts/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * _exit.c (_exit): Use sched_yield, not l4_yield. * backtrace.c [USE_L4]: Only include <l4.h> in this case. [! RM_INTERN]: Include <hurd/thread.h>. (backtrace_print) [! USE_L4 && ! RM_INTERN]: Use hurd_myself to get the caller's tid. [! USE_L4 && RM_INTERN]: Don't print a tid. * ia32-cmain.c [! USE_L4]: Don't include <l4/globals.h>, <l4/init.h>, <l4/stubs.h>, or <l4/stubs-init.h>. (cmain) [! USE_L4]: Don't call l4_init or l4_init_stubs. * loader.c: Don't include <l4.h>. Include <bits/wordsize.h> and <endian.h>. (loader_elf_load): Use __WORDSIZE, __BYTE_ORDER, __LITTLE_ENDIAN and __BIG_ENDIAN instead of their L4 names. * panic.c: Include <viengoos/thread.h>. [! RM_INTERN]: Include <hurd/thread.h>. (panic_) [! USE_L4 && ! RM_INTERN]: Use hurd_myself, not l4_myself. [! USE_L4 && RM_INTERN]: Don't print a tid. (panic_): Call sched_yield, not l4_yield. * process-spawn.c (process_spawn) [! USE_L4]: Don't pass utcb and kip information. Change sp from a l4_word_to to a uintptr_t. * profile.c [! USE_L4]: Don't include <l4.h>. (now) [__gnu_hurd_viengoos__ && ! USE_L4]: Just return 0. (struct profile_block): Change tid to a vg_thread_id_t. (MYSELF) [__gnu_hurd_viengoos__ && ! USE_L4]: Just return 0. * s_printf.c (io_buffer_flush) [! USE_L4]: Abort. libhurd-mm/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * anonymous.h: Don't include <l4/thread.h>. Include <viengoos/thread.h>. (struct anonymous_pager): Change fill_thread's type to vg_thread_id_t. * anonymous.c (fault): Use hurd_myself and vg_niltid, not l4_myself and l4_nilthread. * as-build.c: Don't include <l4.h>. * as.h: Include <hurd/thread.h>. Don't include <l4/types.h>. (as_lock): Change as_rwlock_owner's type to vg_thread_id_t. Use hurd_myself, not l4_myself. (as_lock_readonly): Likewise. (as_unlock): Likewise. * as.c [! USE_L4]: Don't include <l4/types.h> or <l4/kip.h>. Include <bits/wordsize.h>. (DATA_ADDR_MAX): Define for 64-bit virtual address spaces. (as_rwlock_owner): Change type to vg_thread_id_t. (as_alloc_slow) [USE_L4]: Only check for conflicts with the kip and utcb in this case. (as_init) [USE_L4]: Only reserve the kip and utcb in this case. * exceptions.c [USE_L4]: Only include <l4/thread.h> in this case. (l4_utcb_state_save) [! USE_L4]: Make a no-op. (l4_utcb_state_restore) [! USE_L4]: Likewise. (hurd_activation_handler_normal): Use hurd_myself, not l4_myself. * map.c: Don't include <l4.h>. (map_fault): Use VG_WRITE, not L4_FPAGE_WRITABLE. * storage.c (storage_check_reserve_internal): Change as_rwlock_owner's type to vg_thread_id_t. libpthread/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * sysdeps/viengoos/pt-spin.c [USE_L4]: Only include <l4.h> in this case. (_pthread_spin_lock): Only implement exponential back off if a sleep function is available. * sysdeps/viengoos/pt-stack-alloc.c: Don't include <l4.h>. * sysdeps/viengoos/pt-sysdep.c (sched_yield) [! USE_L4]: Just return. (init_routine) [USE_L4]: Abort. * sysdeps/viengoos/pt-sysdep.h [USE_L4]: Only include <l4.h> in this case. (_pthread_self) [! USE_L4]: Abort. * sysdeps/viengoos/pt-thread-alloc.c (__pthread_thread_alloc): Use hurd_myself, not l4_myself. [! USE_L4]: Abort. * sysdeps/viengoos/pt-thread-start.c (__pthread_thread_start): Use hurd_myself, not l4_myself. use uintptr_t, not l4_word_t. * sysdeps/viengoos/sig-sysdep.h (SIGNAL_DISPATCH_ENTRY) [! USE_L4]: Abort. (SIGNAL_DISPATCH_EXIT) [! USE_L4]: Likewise. libviengoos/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * viengoos/thread.h (VG_READ): Define. (VG_WRITE): Define. (VG_EXECUTE): Likewise. (VG_ACTIVATION_FAULT_INFO_PRINTF): Use them. ruth/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * ruth.c [USE_L4]: Only include <l4.h> in this case. (main) [! USE_L4]: Don't print resource manager's thread id. (main): Use uintptr_t, not l4_word_t. Use hurd_myself, not l4_myself. Use sched_yield, not l4_yield. Improve synchronization for object_reply_on_destruction test in case sched_yield is a no-op. viengoos/ 2009-01-16 Neal H. Walfield <neal@gnu.org> * cap.h: Don't include <l4.h>. * mutex.h [USE_L4]: Only include <l4/thread.h> in this case. (ss_mutex_t) [! USE_L4]: Define to be an int. (ss_mutex_lock) [! USE_L4]: Make a no-op. (ss_mutex_unlock) [! USE_L4]: Likewise. (ss_mutex_trylock) [! USE_L4]: Likewise. * object.h [USE_L4]: Only include <l4.h> in this case. (object_desc_unmap) [! USE_L4]: Make a no-op. (object_desc_flush) [! USE_L4]: Likewise. * thread.h: Don't include <l4.h>. (struct thread): Make tid a vg_thread_id_t, not an l4_thread_id_t. (thread_lookup): Make threadid a vg_thread_id_t, not an l4_thread_id_t.
2009-01-16Provide option --enable-l4, not --enable-l4-abi, define USE_L4.Neal H. Walfield
2009-01-16 Neal H. Walfield <neal@gnu.org> * configure.ac (--enable-l4-abi): Replace option with... (--enable-l4): ... this option. (l4_abi): Set appropriately. (USE_L4): Define as a preprocessor macro (if appropriate) and an automake conditional. * README: Update build instructions.
2009-01-15Start of x86_64 port.Neal H. Walfield
/ 2008-11-19 Neal H. Walfield <neal@gnu.org> * configure.ac: Rename amd64 to x86_64. Update users. binutils/ 2008-11-19 Neal H. Walfield <neal@gnu.org> * patches/00-bfd-config-bfd.patch: New file. * patches/01-ld-configure-tgt.patch: New file. * Makefrag.am (patch_files): New variable. (EXTRA_DIST): Likewise. ($(addsuffix .applied,$(patch_files))): Depend on binutils/binutils/unpack.stamp and $(patch_files). Apply patches to the source tree. (rpatch): New rule. (binutils/binutils/patch.stamp): Also depend on the applied patch files. gcc/ 2008-11-19 Neal H. Walfield <neal@gnu.org> * configury2.patch: New file. * Makefrag.am (gcc_patch_files): Add configury2.patch. (gcc/gcc.build/configure.stamp): Only add --with-arch for x86 machines. libl4/ 2008-11-19 Neal H. Walfield <neal@gnu.org> * headers.m4: Only link the header files if $ARCH is ia32. libpthread/ 2008-11-19 Neal H. Walfield <neal@gnu.org> * sysdeps/generic/bits/memory.h: New file. * sysdeps/generic/bits/spin-lock-inline.h: Likewise. * sysdeps/generic/bits/spin-lock.h: Likewise. * headers.m4: Link sysroot/include/bits/memory.h to libpthread/sysdeps/generic/bits/memory.h, sysroot/include/bits/spin-lock.h to libpthread/sysdeps/generic/bits/spin-lock.h, and sysroot/include/bits/spin-lock-inline.h to libpthread/sysdeps/generic/bits/spin-lock-inline.h. platform/ 2008-11-19 Neal H. Walfield <neal@gnu.org> * Makefile.am (ARCH_SUBDIR) [ARCH_X86_64]: Set to x86_64. * amd64/Makefile.am: Move from here... * x86_64/Makefile.am: ... to here. * amd64/bits/atomic.h: Move from here... * x86_64/bits/atomic.h: ... to here. * amd64/bits/endian.h: Move from here... * x86_64/bits/endian.h: ... to here. * amd64/bits/wordsize.h: Move from here... * x86_64/bits/wordsize.h: ... to here. * amd64/sys/io.h: Move from here... * x86_64/sys/io.h: ... to here.
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-12Mention build requirements earlier.Neal H. Walfield
2008-12-12 Neal H. Walfield <neal@gnu.org> * README: Move build requirements prior to build instructions. Suggested by: Ben Asselstine <benasselstine@gmail.com>.
2008-12-12Merge 18fb3720f762bf391f7f2e0a1040e177207bbe62 from viengoos-on-baremetal.Neal H. Walfield
/ 2008-11-20 Neal H. Walfield <neal@gnu.org> * configure.ac: Don't look for inkscape. * README: Don't mention inkscape. doc/ 2008-11-20 Neal H. Walfield <neal@gnu.org> * viengoos.tex: Improve section on address translation. * reference-guide.tex: Don't use package graphicx or algorithmic. Use packages algorithm, algpseudocode and tikz. Use tikz libraries calc, topaths and fit. Define some convenience macros. * gpt.svg: Remove file.
2008-12-11Add support for -fstack-protector.Neal H. Walfield
/ 2008-12-11 Neal H. Walfield <neal@gnu.org> * configure.ac (C_CHECKS): Add `-fstack-protector-all' for all runtime check levels except level 0. libc-parts/ 2008-12-11 Neal H. Walfield <neal@gnu.org> * headers.m4: Create sysroot/lib/libssp.a and sysroot/lib/libssp-nonshared.a. * stack-protector.c: New file. * Makefile.am (common_sources): Add stack-protector.c.
2008-12-04Define USE_L4.Neal H. Walfield
2008-12-04 Neal H. Walfield <neal@gnu.org> * configure.ac (USE_L4): AC_DEFINE it. (USER_CPPFLAGS): Add -DUSE_L4. (KERNEL_CPPFLAGS): Likewise.
2008-12-04Don't build libstdc++.Neal H. Walfield
2008-12-04 Neal H. Walfield <neal@gnu.org> * Makefile.am: Don't build libstdc++.
2008-11-18Improve README.Neal H. Walfield
2008-11-18 Neal H. Walfield <neal@gnu.org> * README: Improve text.
2008-11-11/Neal H. Walfield
2008-11-11 Neal H. Walfield <neal@gnu.org> * README: Remove reference to patching Pistachio and libl4. libl4/ 2008-11-11 Neal H. Walfield <neal@gnu.org> * ia32/l4/bits/vregs.h (_L4_utcb): Use %gs:0.
2008-11-11Add port of sqlite.Neal H. Walfield
/ 2008-11-11 Neal H. Walfield <neal@gnu.org> * configure.ac: Generate benchmarks/sqlite/Makefile. benchmarks/ 2008-11-11 Neal H. Walfield <neal@gnu.org> * Makefile.am (SUBDIRS): Add sqlite. benchmarks/sqlite 2008-11-11 Neal H. Walfield <neal@gnu.org> * Makefile.am: New file.
2008-11-11Only touch sysroot/lib/libc.a, don't overwrite it.Neal H. Walfield
2008-11-11 Neal H. Walfield <neal@gnu.org> * Makefile.am (libc-stmp): Only touch sysroot/lib/libc.a, don't overwrite it.
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-08-222008-08-22 Neal H. Walfield <neal@gnu.org>neal
* libhurd-cap: Remove. * libhurd-cap-server: Likewise. * physmem: Likewise. * task: Likewise.
2008-08-222008-08-22 Neal H. Walfield <neal@gnu.org>neal
* wortel: Remove.
2008-06-27/neal
2008-06-27 Neal H. Walfield <neal@gnu.org> * configure.ac (--enable-runtime-checks): If zero, don't just define DEBUG_ELIDE, define it to 1. hurd/ 2008-06-27 Neal H. Walfield <neal@gnu.org> * stddef.h (do_debug): If DEBUG_ELIDE is defined to an integer, statically exclude those debug statements that have a level greater than or equal to it.
2008-06-262008-06-26 Neal H. Walfield <neal@gnu.org>neal
* configure.ac: Spell DEBUG_ELIDE correctly.
2008-06-222008-06-22 Neal H. Walfield <neal@gnu.org>neal
* configure.ac (--enable-runtime-checks): Fix spelling.
2008-06-212008-06-21 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* README (Using the Cross-Compiler): New section.
2008-06-202008-06-20 Neal H. Walfield <neal@gnu.org>neal
* configure.ac (--enable-tests): New command line option. (USER_CPPFLAGS, KERNEL_CPPFLAGS): Add $CPP_CHECKS. (USER_CFLAGS, KERNEL_CFLAGS): Add $C_CHECKS.
2008-06-202008-06-20 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* README (Documentation): New section.
2008-06-182008-06-18 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* Makefile.am [HAVE_CROSS] (all-local): Depend on libstdc++.
2008-06-05viengoos/neal
2008-06-05 Neal H. Walfield <neal@gnu.org> * cap-lookup.c: Move from here... * ../libhurd-mm/as-lookup.c: ... to here. * as.c: Move from here... * ../libhurd-mm/as-build.c: ... to here. * as-custom.c: Move from here... * ../libhurd-mm/as-build-custom.c: ... to here. * as.h: Move contents... * ../libhurd-mm/as.h: ... to here... * ../libhurd-mm/as-compute-gbits.h: ... and to here. * bits.h: Move from here... * ../libhurd-mm/bits.h: ... to here. * Makefile.am (viengoos_SOURCES): Remove cap-lookup.c, as.h and as.c. (t_as_SOURCES): Likewise. (t_activity_SOURCES): Likewise. (viengoos_LDADD): Add ../libhurd-mm/libas-kernel.a. (t_as_LDADD): Add ../libhurd-mm/libas-check.a. (t_activity_LDADD): Likewise. (lib_LIBRARIES): Remove libhurd-cap.a. (libhurd_cap_a_CPPFLAGS): Remove variable. (libhurd_cap_a_CFLAGS): Likewise. (libhurd_cap_a_SOURCES): Likewise. * server.c (server_loop): Replace use of object_lookup_rel with as_object_lookup_rel. Replace use of slot_lookup_rel with as_slot_lookup_rel_use. Replace use of cap_lookup_rel with as_cap_lookup_rel. * viengoos.c: Don't include "as.h", include <hurd/as.h>. * t-activity.c: Don't include "as.h", include <hurd/as.h>. (allocate_object): Change return type to struct as_allocate_pt_ret. * t-as.c: Don't include "as.h", include <hurd/as.h>. (allocate_object): Change return type to struct as_allocate_pt_ret. (allocate_page_table): New function. (try): Replace use of as_insert with as_insert_full. Replace use of slot_lookup_rel with as_slot_lookup_rel_use. Replace use of object_lookup_rel with as_object_lookup_rel. (test): Likewise. * t-guard.c: Don't include "as.h", include <hurd/as.h>. Include "../libhurd-mm/as-compute-gbits.h". libhurd-mm/ 2008-06-05 Neal H. Walfield <neal@gnu.org> * as.h: Include <hurd/exceptions.h>. [! RM_INTERN]: Include <hurd/storage.h> and <pthread.h>. (as_lock_ensure_stack) [! RM_INTERN]: New function. (as_lock): New function. (as_lock_readonly): Likewise. (as_unlock): Likewise. (meta_data_activity) [RM_INTERN]: Don't declare. (shadow_root) [RM_INTERN]: Don't declare. (struct as_insert_rt): Rename from this... (struct as_allocate_pt_ret): ... to this. Update users. (as_allocate_page_table_t): New typedef. (as_allocate_page_table): New declaration. (as_build): New declaration. (as_build_custom): Likewise. (as_slot_ensure): Remove declaration. (as_ensure_full): New macro. (as_ensure_use) [! RM_INTERN]: Likewise. (as_ensure) [! RM_INTERN]: New function. (as_insert): Rename from this... (as_insert_full): ... to this. Don't return the capability. Reverse the order of the source address and cap. Replace allocate_object parameter with an allocate_page_table parameter. Update users. (as_insert) [! RM_INTERN]: New function. (as_slot_ensure_full_custom): Rename from this... (as_ensure_full_custom): ... to this. Replace allocate_object parameter with an allocate_page_table parameter. (as_insert_custom): Likewise. (union as_lookup_ret): New definition. (as_lookup_want_cap): New definition. (as_lookup_want_slot): Likewise. (as_lookup_want_object): Likewise. (as_lookup_rel): New declaration. (slot_lookup): Remove declaration. (as_slot_lookup_rel_use): Replace it with this macro. (as_slot_lookup_use) [! RM_INTERN]: New macro. (as_cap_lookup_rel): New function. (cap_lookup): Rename from this... (as_cap_lookup) [! RM_INTERN]: ... to this. Remove activity parameter. Implement here as a static inline function. (as_object_lookup_rel): New function. (object_lookup): Rename from this... (as_object_lookup) [! RM_INTERN]: ... to this. Remove activity parameter. Implement here as a static inline function. (as_dump_from): New declaration. * as-compute-gbits.h: Include <hurd/folio.h>. * as.c (allocate_object): Rename from this... (as_allocate_page_table): ... to this. Remove static qualifier. Don't take parameter type, just allocate a cap_cappage. (as_slot_ensure): Remove function. (as_init): Replace use of slot_lookup_rel with as_slot_lookup_use or as_cap_lookup as appropriate. (cap_lookup): Remove function. (object_lookup): Likewise. (slot_lookup): Likewise. (as_dump): Likewise. * as-build.c: Don't include "as.h", but <hurd/as.h>. Include <hurd/rm.h>, "as-compute-gbits.h". [RM_INTERN]: Don't include "object.h" but "../viengoos/object.h". (CUSTOM) [ID_SUFFIX]: Define. (as_build_internal): Rename from this... (as_build): ... to this. Remove static qualifier. Replace parameter allocate_object with allocate_page_table. Use it instead. (as_slot_ensure_full): Remove function. (as_insert): Likewise. * as-build-custom.c (as_object_index_t): Remove definition. (AS_LOCK): Don't define. (AS_UNLOCK): Don't define. (as_ensure_full_custom): New function. (as_insert_custom): Likewise. * as-lookup.c: Include <hurd/as.h>. [RM_INTERN]: Don't include "object.h" but "../viengoos/object.h". [! RM_INTERN]: Include <pthread.h>. (as_lock) [! RM_INTERN]: Rename from this... (as_rwlock) [! RM_INTERN]: ... to this. (ensure_stack) [! RM_INTERN]: Remove function. (AS_LOCK): Don't define. (AS_UNLOCK): Don't define. (lookup): Rename from this... (as_lookup_rel): ... to this. Change mode's type to an enum as_lookup_mode. Change rt's type to a union as_lookup_ret. Don't use want_object but as_lookup_want_object. Don't use want_slot but as_lookup_want_slot. Don't use want_cap but as_lookup_want_cap. (cap_lookup_rel): Remove function. (object_lookup_rel): Likewise. (slot_lookup_rel): Likewise. (print_nr): Move from here... * as-lookup.c (do_walk): Move from here... * as-dump.c (do_walk): ... to here. * as-lookup.c (as_dump_from): Move from here... * as-dump.c (as_dump_from): ... to here. * Makefile.am (lib_LIBRARIES) [ENABLE_TESTS]: Set to libas-check.a (lib_LIBRARIES) [! ENABLE_TESTS]: Add libas-kernel.a. (libhurd_mm_a_SOURCES): Add bits., as-build.c as-build-custom.c, as-lookup.c and as-dump.c. (libas_kernel_a_CPPFLAGS): New variable. (libas_kernel_a_CCASFLAGS): New variable. (libas_kernel_a_CFLAGS): New variable. (libas_kernel_a_SOURCES): New variable. (libas_check_a_CPPFLAGS): New variable. (libas_check_a_CCASFLAGS): New variable. (libas_check_a_CFLAGS): New variable. (libas_check_a_SOURCES): New variable. * anonymous.c (fault): Replace use of as_slot_ensure with as_ensure. * exceptions.c (exception_handler_init): Replace use of as_slot_ensure with as_ensure. * storage.c (storage_check_reserve_internal): Replace use of as_lock with as_rwlock. Replace use of as_slot_ensure with and slot_lookup with as_ensure and as_slot_lookup_use. (storage_alloc): Replace use of slot_lookup with as_slot_lookup_use. hurd/ 2008-06-05 Neal H. Walfield <neal@gnu.org> * cap.h: Don't include <pthread.h>. (as_lock): Remove declaration. (cap_lookup_rel): Likewise. (object_lookup_rel): Likewise. (slot_lookup_rel): Likewise. / 2008-06-05 Neal H. Walfield <neal@gnu.org> * libc.a.in: Remove -lhurd-cap. * Makefile.am (libc-stmp): Remove dependency on viengoos/libhurd-cap.a. 2008-06-05 Neal H. Walfield <neal@gnu.org> * process-spawn.c (as_insert_custom): Replace use of as_insert with as_insert_full. (allocate_object): Change return type to struct as_allocate_pt_ret. Replace use of as_slot_ensure with as_ensure_use. (allocate_page_table): New function. (process_spawn): Update use of as_insert_custom to be consistent with new API, in particular, pass allocate_page_table instead of allocate_object. Replace use of object_lookup_rel with as_object_lookup_rel. libpthread/ 2008-06-05 Neal H. Walfield <neal@gnu.org> * sysdeps/l4/hurd/pt-thread-alloc.c (__pthread_thread_alloc): Replace use of as_slot_ensure with as_ensure. ruth/ 2008-06-05 Neal H. Walfield <neal@gnu.org> * ruth.c (main): Replace use of slot_lookup with as_cap_lookup. Replace use of as_slot_ensure with as_ensure_use. Replace use of slot_lookup with as_slot_lookup_use.
2008-06-012008-06-01 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* Makefoo.am (PATH): Move definition... * configure.ac: ... here.
2008-05-312008-05-31 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* configure.ac (USER_CFLAGS, KERNEL_CFLAGS, CHECK_CFLAGS): Don't specify ``-fno-stack-protector''.
2008-05-312008-05-31 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* configure.ac (ABS_BUILDDIR): Use a more portable way to set.
2008-05-30/neal
2008-05-30 Neal H. Walfield <neal@gnu.org> * benchmarks: New directory. * configure.ac: Generate benchmarks/Makefile and benchmarks/boehm-gc/Makefile. * Makefile.am (SUBDIRS): Add benchmarks. benchmarks/ 2008-05-30 Neal H. Walfield <neal@gnu.org> * Makefile.am: New file. * activity-distribution.c: Likewise. * shared-memory-distribution.c: Likewise. * boehm-gc: New directory. benchmarks/boehm-gc/ 2008-05-30 Neal H. Walfield <neal@gnu.org> * Makefile.am: New file. * pathches: New directory. * patches/01-gc-include-private-gcconfig-h.patch: New file. * patches/02-gc-mach_dep-c.patch: New file.
2008-05-302008-05-30 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* configure.ac (missing_progs): Rename to... (missing_doc_progs): ... this. (DOC): New variable. Used to indicate whether to documentation files can be built. Make it non-fatal if the documentation can't be built. * Makefile.am (SUBDIRS): Use $(DOC).
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 Neal H. Walfield <neal@gnu.org>neal
* configure.ac: Call AM_PROG_CC_C_O.
2008-05-302008-05-30 Neal H. Walfield <neal@gnu.org>neal
* Makefoo.am (abs_builddir): Define.
2008-05-302008-05-30 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* configure.in (libc_cv_gnu89_inline): Fill depending on a compile-time test, as per glibc HEAD, 2007-11-07. (USER_CFLAGS, KERNEL_CFLAGS, CHECK_CFLAGS): Use it.
2008-05-302008-05-29 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* configure.ac: Include `newlib/headers.m4' and `libc-parts/headers.m4'. (ccheaders, SYSINCLUDES): Remove. (USER_CPPFLAGS, USER_LDFLAGS, KERNEL_CPPFLAGS): Adapt to building with a cross compiler. (USER_LDADD): Remove. (CHECK_CPPFLAGS): Define `_GNU_SOURCE' and `_ENABLE_TESTS'. (CHECK_CFLAGS): New. (HAVE_CROSS, TRAVERSE_HIERARCHY): New conditionals. (--enable-tests, ENABLE_TESTS): New command line option with conditional. (libc.a.in): Instantiate as `sysroot/lib/libc.a'. * libc.a.in: Rewritten to no longer specify file paths, but instead linker switches. * Makefile.am (SUBDIRS): Only recurse into if [TRAVERSE_HIERARCHY]. (libc-stmp): Only consider if [HAVE_CROSS]. [! HAVE_CROSS && ! ENABLE_TESTS]: Build `cross-compiler'. (cross-compiler): New target. Include `Makefoo.am', `binutils/Makefrag.am' and `gcc/Makefrag.am'. * Makefoo.am: New file. * binutils: New directory. * gcc: Likewise. * README: Update.
2008-05-292008-05-29 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* build-aux/config.sub: Detect *-*-viengoos-gnu systems.
2008-05-292008-05-29 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* build-aux/config.guess: New file, from today's config git trunk. * build-aux/config.sub: Likewise.
2008-05-292008-05-29 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* configure.ac (AC_CONFIG_AUX_DIR): Instantiate. (AM_INIT_AUTOMAKE): Add a number of options. * README: Adapt.
2008-05-272008-05-27 Neal H. Walfield <neal@gnu.org>neal
* configure.ac: If host_cpu is "amd64", set arch_amd64 to true, not arch_alpha.
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-162008-02-16 Neal H. Walfield <neal@gnu.org>neal
* Makefile.am (all-local): Depend on libc-stmp. (libc-stmp): New target. Depend on libraries. (SUBDIRS): Add . after libraries and before programs.
2008-02-11hieronymus/neal
2008-02-11 Neal H. Walfield <neal@gnu.org> * ChangeLog: New file. * Makefile.am: Likewise. * module.S: Likewise. * hieronymus.c: Likewise. / 2008-02-11 Neal H. Walfield <neal@gnu.org> * configure.ac: Generate hieronymus/Makefile. * Makefile.am (SUBDIRS): Add hieronymus. * README: Update boot instructions.
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-01doc/neal
2008-02-01 Neal H. Walfield <neal@gnu.org> * gpt.svg: New file. * Makefile.am (svg_files): New variable. (pdf_files): Likewise. (%.pdf: %.svg): New suffix rule. (EXTRA_DIST): Add ${pdf_files}. (reference-guide.pdf): Likewise. * bib.bib, reference-guide.tex, viengoos.tex: Update. / 2008-02-01 Neal H. Walfield <neal@gnu.org> * configure.ac: Don't check for fig2dev. Check for inkscape.
2008-01-262008-01-26 Neal H. Walfield <neal@gnu.org>neal
* configure.ac: Don't check for latex, dvips or ps2pdf. Check for pdflatex and bibtex.
2008-01-262008-01-26 Thomas Schwinge <tschwinge@gnu.org>tschwinge
* configure.ac (ABS_SRCDIR): Use ``readlink -f'' instead of ``realpath''.
2008-01-242008-01-24 Neal H. Walfield <neal@gnu.org>neal
* README: Update build instructions.
2008-01-232008-01-23 Neal H. Walfield <neal@gnu.org>neal
* configure.ac (LIBC_M): Set to location of C math library. Substitute. * libc.a.in: Add @LIBC_M@.
2008-01-232008-01-23 Neal H. Walfield <neal@gnu.org>neal
* libc.a.in: New file. * configure.ac (LIBC): Set to location of C library files. Substitute. (LIBC_A): Set to location of C library archive. Substitute. (ABS_BUILDDIR): Set to absolute location of build directory. Substitute. (ABS_SRCDIR): Set to absolute location of source directory. Substitute. Generate libc.a. * Makefile.am (SUBDIRS): Build C library as earlier.
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.