git: : Provide __FLOAT_WORD_ORDER too

2022-02-08 Thread Rimvydas Jasinskas


commit 7822e9ae6c21dcc335ca34a2c15c891fb4123f12
Author: zrj 
Date:   Wed Feb 9 04:52:22 2022 +

: Provide __FLOAT_WORD_ORDER too

 Allows some ports to make use of internal representations.

Summary of changes:
 sys/cpu/x86_64/include/endian.h | 4 
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7822e9ae6c21dcc335ca34a2c15c891fb4123f12


-- 
DragonFly BSD source repository


git: libc: Fix environment passing in posix_spawnp(3)

2022-01-02 Thread Rimvydas Jasinskas


commit 8202da125af7f265528f7844bdc98d544a320bd1
Author: zrj 
Date:   Mon Jan 3 06:18:15 2022 +

libc: Fix environment passing in posix_spawnp(3)

 The execvPe() was always passing the parent process environment to
 children (a long standing bug).

 While there, replace the deprecated index(3) with strchr(3).

Reported-by: falsifian (breakage in hs-git-annex)

Summary of changes:
 lib/libc/gen/exec.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8202da125af7f265528f7844bdc98d544a320bd1


-- 
DragonFly BSD source repository


git: : Prefer double underscore versions.

2021-03-14 Thread Rimvydas Jasinskas


commit 9b1c08e5ca6e018d53e7ff69bd0c5b09c7d3ed0b
Author: zrj 
Date:   Sun Mar 14 09:31:41 2021 +

: Prefer double underscore versions.

Summary of changes:
 sys/sys/endian.h | 24 
 1 file changed, 12 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9b1c08e5ca6e018d53e7ff69bd0c5b09c7d3ed0b


-- 
DragonFly BSD source repository


git: : Use __builtin_bswapXY function if c++.

2021-03-14 Thread Rimvydas Jasinskas


commit 350b818353638f91b9394e9c0125bf4549b2c81f
Author: zrj 
Date:   Sun Mar 14 09:31:44 2021 +

: Use __builtin_bswapXY function if c++.

 There builtins seem to be supported since gcc 4.8.  In theory we could
 use them for C code too, but for now limit this to c++ so to help
 compilers to deal with fun what is constexpr, lambdas, templates, etc.
 Generally, this reduces amount of debug code created through the
 __word_swap_foo() expansions too.

 Note: g++8 implements __word_swap_foo_var() with a bit different asm.

Summary of changes:
 sys/cpu/x86_64/include/endian.h | 15 ---
 1 file changed, 12 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/350b818353638f91b9394e9c0125bf4549b2c81f


-- 
DragonFly BSD source repository


git: world: Add compat header.

2021-03-14 Thread Rimvydas Jasinskas


commit c7e47104c46f9ba2672469b56ba4606ba25ca0a4
Author: zrj 
Date:   Sun Mar 14 09:31:45 2021 +

world: Add  compat header.

 This header is to reduce porting efforts in ports.
 Once codebases move to common  use  for the
 __bswapXY() definitions.

Summary of changes:
 include/Makefile  |  4 ++--
 lib/libc/gen/__errno_location.c => include/byteswap.h | 19 +++
 2 files changed, 13 insertions(+), 10 deletions(-)
 copy lib/libc/gen/__errno_location.c => include/byteswap.h (79%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c7e47104c46f9ba2672469b56ba4606ba25ca0a4


-- 
DragonFly BSD source repository


git: kernel: Include directly.

2021-03-14 Thread Rimvydas Jasinskas


commit 5f79922d05fe628a341acd558e7f0a4f90f49512
Author: zrj 
Date:   Sun Mar 14 09:31:40 2021 +

kernel: Include  directly.

 Do not rely on  to bring in all needed integer types.

Summary of changes:
 sys/netproto/802_11/ieee80211_input.h | 1 +
 sys/vfs/hammer/hammer_disk.h  | 3 +--
 sys/vfs/msdosfs/bpb.h | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f79922d05fe628a341acd558e7f0a4f90f49512


-- 
DragonFly BSD source repository


git: libstand: Move H and L macros were they are used.

2021-03-14 Thread Rimvydas Jasinskas


commit ca859ededdd6e147153bd9d674b3bd5ffa89835a
Author: zrj 
Date:   Sun Mar 14 09:31:39 2021 +

libstand: Move H and L macros were they are used.

 Avoid possible issues where plain "L" is used for unicode strings.

Summary of changes:
 lib/libstand/qdivrem.c | 6 ++
 lib/libstand/quad.h| 6 --
 2 files changed, 6 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ca859ededdd6e147153bd9d674b3bd5ffa89835a


-- 
DragonFly BSD source repository


git: : Provide userland double underscore endianess variants.

2021-03-14 Thread Rimvydas Jasinskas


commit a33a013784863bc088b010981fe4fefcd3f19472
Author: zrj 
Date:   Sun Mar 14 09:31:37 2021 +

: Provide userland double underscore endianess variants.

 For compatibility with GNU userland in ports.

Summary of changes:
 sys/cpu/x86_64/include/endian.h | 11 +++
 1 file changed, 11 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a33a013784863bc088b010981fe4fefcd3f19472


-- 
DragonFly BSD source repository


git: : Unify _QUAD_*WORD macros.

2021-03-14 Thread Rimvydas Jasinskas


commit 373f159b188588328326614636ff193db9d8c113
Author: zrj 
Date:   Sun Mar 14 09:31:38 2021 +

: Unify _QUAD_*WORD macros.

Taken-from: NetBSD

Summary of changes:
 lib/libstand/qdivrem.c  |  1 +
 sys/cpu/x86_64/include/endian.h |  9 -
 sys/kern/vfs_subr.c |  1 +
 sys/sys/endian.h| 15 +--
 4 files changed, 15 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/373f159b188588328326614636ff193db9d8c113


-- 
DragonFly BSD source repository


git: libc: Attempt to execute new atexit() destructors during __cxa_finalize().

2021-02-24 Thread Rimvydas Jasinskas


commit 9736b3580bcebfd19085b7c7b48f52886bacba6b
Author: zrj 
Date:   Thu Feb 25 03:15:49 2021 +

libc: Attempt to execute new atexit() destructors during __cxa_finalize().

 Some c++ programs might and do register new destructors from other
 destructors.  Try to handle such cases by relooping scan upto
 CXA_DTORS_ITERATIONS times (like what _thread_finalize() does) if new
 destructors get added even if that will not strictly match LIFO order.

Summary of changes:
 lib/libc/stdlib/atexit.c | 20 +++-
 1 file changed, 19 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9736b3580bcebfd19085b7c7b48f52886bacba6b


-- 
DragonFly BSD source repository


git: Revert "sys.mk: Add the 's' modifier to our ARFLAGS."

2020-12-15 Thread Rimvydas Jasinskas


commit 49feb856735b987cf52ad096ccb1b984cc2b5be4
Author: zrj 
Date:   Wed Dec 16 08:09:08 2020 +0200

Revert "sys.mk: Add the 's' modifier to our ARFLAGS."

This reverts commit 6bae3359fa1ec5d88e148046045c4d9eabcaef21.

To be investigated, few issues in static cc1plus.

Summary of changes:
 gnu/usr.bin/cc80/Makefile.intcxx_lib | 3 ++-
 share/mk/bsd.hostlib.mk  | 3 ++-
 share/mk/bsd.lib.mk  | 7 +--
 share/mk/sys.mk  | 2 +-
 4 files changed, 10 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/49feb856735b987cf52ad096ccb1b984cc2b5be4


-- 
DragonFly BSD source repository


git: pthreads: Add pthread_is_threaded_np.3 manpage.

2020-12-15 Thread Rimvydas Jasinskas


commit 823bc35d5c0543a0392674d45122b75acffe8117
Author: zrj 
Date:   Tue Dec 15 07:00:45 2020 +

pthreads: Add pthread_is_threaded_np.3 manpage.

Summary of changes:
 lib/libpthread/Makefile|  1 +
 .../libpthread/pthread_is_threaded_np.3| 47 +++---
 2 files changed, 24 insertions(+), 24 deletions(-)
 copy usr.bin/lt/lt.1 => lib/libpthread/pthread_is_threaded_np.3 (65%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/823bc35d5c0543a0392674d45122b75acffe8117


-- 
DragonFly BSD source repository


git: pthreads: Use sticky version in pthread_is_threaded_np().

2020-12-15 Thread Rimvydas Jasinskas


commit 537c87620d0fb18c81f7a9c14afb7b25a1627fcf
Author: zrj 
Date:   Tue Dec 15 06:30:15 2020 +

pthreads: Use sticky version in pthread_is_threaded_np().

 It was observed that several applications have undefined behaviour if
 they become implicitly threaded at runtime (e.g. locale libraries).
 This allows to check status to avoid issues in applications calling
 sigprocmask() and fork() without immediate exec().

Summary of changes:
 lib/libthread_xu/thread/thr_isthreaded_np.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/537c87620d0fb18c81f7a9c14afb7b25a1627fcf


-- 
DragonFly BSD source repository


git: pthreads: Add pthread_yield_np().

2020-12-15 Thread Rimvydas Jasinskas


commit 9d94a5bb540a104cdedcd75c0068a2f1d6acd1cc
Author: zrj 
Date:   Tue Dec 15 06:34:30 2020 +

pthreads: Add pthread_yield_np().

 Same as non standard pthread_yield() but with correct '_np' suffix.

Summary of changes:
 include/pthread_np.h| 1 +
 lib/libc/gen/Symbol.map | 2 ++
 lib/libc/gen/_pthread_stubs.c   | 1 +
 lib/libc/include/namespace.h| 1 +
 lib/libc/include/un-namespace.h | 1 +
 lib/libpthread/Makefile | 1 +
 lib/libpthread/pthread_yield.3  | 5 -
 lib/libthread_xu/pthread.map| 2 ++
 lib/libthread_xu/thread/thr_yield.c | 2 ++
 9 files changed, 15 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9d94a5bb540a104cdedcd75c0068a2f1d6acd1cc


-- 
DragonFly BSD source repository


git: world: Add

2020-12-15 Thread Rimvydas Jasinskas


commit 6e42f7e2096165a28bab14a23c399e4b1a8bb531
Author: zrj 
Date:   Tue Dec 15 06:27:09 2020 +

world: Add 

 The __libc_single_threaded is publicly exported version of libc private
 __isthreaded symbol that does not reset on fork in threaded programs.

Summary of changes:
 lib/libc/gen/Symbol.map|  1 +
 lib/libc/stdlib/exit.c |  7 ++
 lib/libthread_xu/thread/thr_kern.c |  3 +++
 .../sys/single_threaded.h  | 26 +-
 4 files changed, 26 insertions(+), 11 deletions(-)
 copy lib/libthread_xu/thread/thr_isthreaded_np.c => sys/sys/single_threaded.h 
(79%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e42f7e2096165a28bab14a23c399e4b1a8bb531


-- 
DragonFly BSD source repository


git: pthreads: Add pthread_is_threaded_np() function.

2020-12-12 Thread Rimvydas Jasinskas


commit 139374e6ee6df4283e7064a8e6273ec3c3edc49e
Author: zrj 
Date:   Sat Dec 12 14:16:38 2020 +

pthreads: Add pthread_is_threaded_np() function.

Summary of changes:
 include/pthread_np.h |  1 +
 lib/libc/gen/Symbol.map  |  2 ++
 lib/libc/gen/_pthread_stubs.c|  7 +++
 lib/libc/include/namespace.h |  1 +
 lib/libc/include/un-namespace.h  |  1 +
 lib/libthread_xu/pthread.map |  2 ++
 lib/libthread_xu/thread/Makefile.inc |  1 +
 .../thread/thr_isthreaded_np.c}  | 20 
 8 files changed, 27 insertions(+), 8 deletions(-)
 copy lib/{libc/gen/__errno_location.c => 
libthread_xu/thread/thr_isthreaded_np.c} (80%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/139374e6ee6df4283e7064a8e6273ec3c3edc49e


-- 
DragonFly BSD source repository


git: pthreads: Enhance pthread_sigprocmask() stub.

2020-12-12 Thread Rimvydas Jasinskas


commit 8b3200a926012b2ffcd58790f8eaab104e772bc9
Author: zrj 
Date:   Sat Dec 12 14:13:50 2020 +

pthreads: Enhance pthread_sigprocmask() stub.

 Some ports expect this function to work even before pthread_create().

Summary of changes:
 lib/libc/gen/_pthread_stubs.c | 17 -
 1 file changed, 16 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8b3200a926012b2ffcd58790f8eaab104e772bc9


-- 
DragonFly BSD source repository


git: pthreads: Add pthread_getattr_np().

2020-12-12 Thread Rimvydas Jasinskas


commit 55f11bd6ffa4307e05441ec9f250376390316222
Author: zrj 
Date:   Sat Dec 12 14:12:00 2020 +

pthreads: Add pthread_getattr_np().

Adapted-from: NetBSD

Summary of changes:
 include/pthread_np.h |  1 +
 lib/libc/gen/Symbol.map  |  5 +
 lib/libc/gen/_pthread_stubs.c|  1 +
 lib/libc/include/namespace.h |  1 +
 lib/libc/include/un-namespace.h  |  1 +
 lib/libpthread/Makefile  |  1 +
 lib/libpthread/pthread_attr_get_np.3 | 26 ++
 lib/libthread_xu/pthread.map |  2 ++
 lib/libthread_xu/thread/thr_attr.c   | 15 +++
 9 files changed, 45 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/55f11bd6ffa4307e05441ec9f250376390316222


-- 
DragonFly BSD source repository


git: : Provide pthread_*_np() prototypes too.

2020-12-12 Thread Rimvydas Jasinskas


commit dcaf745f3ae8ba28e551da9fbe4c9a920c0c138e
Author: zrj 
Date:   Tue Dec 8 11:45:40 2020 +

: Provide pthread_*_np() prototypes too.

 Based on review in DPorts what some of software packages expect.

Summary of changes:
 include/pthread.h | 18 +-
 1 file changed, 13 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dcaf745f3ae8ba28e551da9fbe4c9a920c0c138e


-- 
DragonFly BSD source repository


git: libstand: Exclude pthread types for loaders.

2020-12-12 Thread Rimvydas Jasinskas


commit fe0408f46df06e22956512fb0fddb6071714ab60
Author: zrj 
Date:   Tue Dec 8 11:45:20 2020 +

libstand: Exclude pthread types for loaders.

 This effectively removes pthread types from loaders.

Summary of changes:
 sys/sys/types.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fe0408f46df06e22956512fb0fddb6071714ab60


-- 
DragonFly BSD source repository


git: : Only provide pthread types mandated by POSIX here.

2020-12-12 Thread Rimvydas Jasinskas


commit 1350c840c52b253462a6ee10cfa2e85f356b33e7
Author: zrj 
Date:   Tue Dec 8 11:44:32 2020 +

: Only provide pthread types mandated by POSIX here.

Summary of changes:
 sys/sys/aio.h | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1350c840c52b253462a6ee10cfa2e85f356b33e7


-- 
DragonFly BSD source repository


git: : Further reduce pthread namespace pollution.

2020-12-12 Thread Rimvydas Jasinskas


commit a09695babf3a4c2b2a71f697f3abf9ff4f94968f
Author: zrj 
Date:   Tue Dec 8 11:43:54 2020 +

: Further reduce pthread namespace pollution.

 Only provide types mandated by POSIX here.

Summary of changes:
 include/signal.h| 6 ++
 sys/sys/_pthreadtypes.h | 6 ++
 sys/sys/signal.h| 6 +-
 3 files changed, 17 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a09695babf3a4c2b2a71f697f3abf9ff4f94968f


-- 
DragonFly BSD source repository


git: pthreads: Reimplement pthread types using non polluting types.

2020-12-12 Thread Rimvydas Jasinskas


commit cf8046a92768d53e67d2533fb51b137d5506248d
Author: zrj 
Date:   Tue Dec 8 11:11:06 2020 +

pthreads: Reimplement pthread types using non polluting types.

 Use __ implementation specific namespace and adjust libthread_xu.
 * The pthread_addr_t type was specific only to libc_r, remove it.
 * The pthread_startroutine_t typedef was never used since initial fork.
 * The mutex member in struct pthread_once was for libc_r only, rename
   it to __sparelibc_r void pointer to keep ABI compatibility.
 * Mangle struct names using __type_s scheme to avoid collisions with
   user defined types in 3rd-party software packages.
 * Adjust partly publicly visible struct pthread_once members too.

Summary of changes:
 lib/libc/gen/_once_stub.c |   4 +-
 lib/libc/gen/_pthread_stubs.c |   4 +-
 lib/libc/gen/gen_private.h|   4 +-
 lib/libthread_xu/arch/x86_64/include/pthread_md.h |   4 +-
 lib/libthread_xu/thread/thr_attr.c|  10 +-
 lib/libthread_xu/thread/thr_barrier.c |   2 +-
 lib/libthread_xu/thread/thr_barrierattr.c |   2 +-
 lib/libthread_xu/thread/thr_cond.c|   2 +-
 lib/libthread_xu/thread/thr_condattr.c|   4 +-
 lib/libthread_xu/thread/thr_ctrdtr.c  |   2 +-
 lib/libthread_xu/thread/thr_init.c|   6 +-
 lib/libthread_xu/thread/thr_list.c|  10 +-
 lib/libthread_xu/thread/thr_mutex.c   |  12 +--
 lib/libthread_xu/thread/thr_mutexattr.c   |   4 +-
 lib/libthread_xu/thread/thr_once.c|  12 +--
 lib/libthread_xu/thread/thr_private.h |  50 +-
 lib/libthread_xu/thread/thr_pspinlock.c   |   2 +-
 lib/libthread_xu/thread/thr_rwlock.c  |   2 +-
 lib/libthread_xu/thread/thr_rwlockattr.c  |   2 +-
 lib/libthread_xu/thread/thr_symbols.c |  16 +--
 sys/sys/_pthreadtypes.h   | 114 +-
 21 files changed, 125 insertions(+), 143 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf8046a92768d53e67d2533fb51b137d5506248d


-- 
DragonFly BSD source repository


git: libc: Reduce exposure.

2020-12-12 Thread Rimvydas Jasinskas


commit 2096fe9a6eb0e90e96a0872c8a73a9e80383c77f
Author: zrj 
Date:   Tue Dec 8 10:33:36 2020 +

libc: Reduce  exposure.

Summary of changes:
 lib/libc/stdio/local.h   | 1 -
 lib/libc/stdio/snprintf.c| 1 +
 lib/libc/stdio/vasprintf.c   | 1 +
 lib/libc/stdio/vdprintf.c| 1 +
 lib/libc/stdio/vfprintf.c| 1 +
 lib/libc/stdio/vsnprintf.c   | 1 +
 lib/libc/stdio/vsprintf.c| 1 +
 lib/libc/stdio/vsscanf.c | 1 +
 lib/libc/stdio/vswprintf.c   | 1 +
 lib/libc/stdio/vswscanf.c| 1 +
 lib/libc/stdlib/abort.c  | 2 --
 lib/libc/stdlib/cxa_thread_atexit_impl.c | 1 -
 lib/libc/stdtime/strptime.c  | 1 -
 13 files changed, 9 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2096fe9a6eb0e90e96a0872c8a73a9e80383c77f


-- 
DragonFly BSD source repository


git: pthreads: Reduce pthread type namespace pollution.

2020-12-12 Thread Rimvydas Jasinskas


commit 514061bbed232a43742c18d8d1759bc0f42ed658
Author: zrj 
Date:   Tue Dec 8 10:36:12 2020 +

pthreads: Reduce pthread type namespace pollution.

 This fully removes pthread types in kernel (except vkernel).
 The vkernel bits first require  exposure adjustments.
 * Exclude type for sigev_notify_attributes for kernel, used only by the
   lib/librt/aio.c.  We could use void type unconditionally like NetBSD,
 * Do not provide pthread_attr_t in  for kernel.

Summary of changes:
 sys/platform/vkernel64/include/md_var.h |  3 +++
 sys/sys/aio.h   |  2 ++
 sys/sys/signal.h| 11 +--
 sys/sys/types.h |  2 ++
 4 files changed, 16 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/514061bbed232a43742c18d8d1759bc0f42ed658


-- 
DragonFly BSD source repository


git: pthreads: Remove from .

2020-12-12 Thread Rimvydas Jasinskas


commit 399d0512b6fafe6c803b55604e6a916cf75b2286
Author: zrj 
Date:   Tue Dec 8 10:35:18 2020 +

pthreads: Remove  from .

 Seems to be legacy remnant for no longer required pthread_kill() and
 pthread_sigmask().  Use lighter types header in , because
 size_t must be provided by  and  must include it.

Summary of changes:
 include/pthread.h| 3 +--
 include/pthread_np.h | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/399d0512b6fafe6c803b55604e6a916cf75b2286


-- 
DragonFly BSD source repository


git: pthreads: Remove DragonFly tags referencing libc_r.

2020-12-12 Thread Rimvydas Jasinskas


commit 26720ae020cbb47edb1d8f138e280dce1ac45c3e
Author: zrj 
Date:   Tue Dec 8 10:34:41 2020 +

pthreads: Remove DragonFly tags referencing libc_r.

Summary of changes:
 lib/libpthread/pthread_cleanup_pop.3   | 1 -
 lib/libpthread/pthread_cleanup_push.3  | 1 -
 lib/libpthread/pthread_cond_broadcast.3| 1 -
 lib/libpthread/pthread_cond_destroy.3  | 1 -
 lib/libpthread/pthread_cond_signal.3   | 1 -
 lib/libpthread/pthread_detach.3| 1 -
 lib/libpthread/pthread_equal.3 | 1 -
 lib/libpthread/pthread_exit.3  | 1 -
 lib/libpthread/pthread_getconcurrency.3| 1 -
 lib/libpthread/pthread_getspecific.3   | 1 -
 lib/libpthread/pthread_key_create.3| 1 -
 lib/libpthread/pthread_key_delete.3| 1 -
 lib/libpthread/pthread_kill.3  | 1 -
 lib/libpthread/pthread_mutexattr_getkind_np.3  | 1 -
 lib/libpthread/pthread_once.3  | 1 -
 lib/libpthread/pthread_rwlock_destroy.3| 1 -
 lib/libpthread/pthread_rwlock_rdlock.3 | 1 -
 lib/libpthread/pthread_rwlock_unlock.3 | 1 -
 lib/libpthread/pthread_rwlock_wrlock.3 | 1 -
 lib/libpthread/pthread_rwlockattr_destroy.3| 1 -
 lib/libpthread/pthread_rwlockattr_init.3   | 1 -
 lib/libpthread/pthread_rwlockattr_setpshared.3 | 1 -
 lib/libpthread/pthread_self.3  | 1 -
 lib/libpthread/pthread_setspecific.3   | 1 -
 lib/libpthread/sem_destroy.3   | 1 -
 lib/libpthread/sem_getvalue.3  | 1 -
 lib/libpthread/sem_post.3  | 1 -
 lib/libpthread/sem_wait.3  | 1 -
 test/libpthread/hello_b.c  | 1 -
 test/libpthread/hello_d.c  | 1 -
 test/libpthread/hello_s.c  | 5 ++---
 31 files changed, 2 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/26720ae020cbb47edb1d8f138e280dce1ac45c3e


-- 
DragonFly BSD source repository


git: pthreads: Use pthread_t type in libthread_xu.

2020-12-12 Thread Rimvydas Jasinskas


commit 940be950819fa932cd401a01f1182bf686a2e61e
Author: zrj 
Date:   Tue Dec 8 11:09:37 2020 +

pthreads: Use pthread_t type in libthread_xu.

 Separated from upcoming work to allow easier differentiation between
 non-pointers, single and double pointers.  Inclusion of thr_private.h
 already provides all needed information to dereference these types.

 No functional change

Summary of changes:
 lib/libthread_xu/thread/thr_affinity.c   |  4 +-
 lib/libthread_xu/thread/thr_barrier.c|  2 +-
 lib/libthread_xu/thread/thr_cancel.c | 12 +++---
 lib/libthread_xu/thread/thr_clean.c  |  4 +-
 lib/libthread_xu/thread/thr_cond.c   | 14 +++
 lib/libthread_xu/thread/thr_create.c |  8 ++--
 lib/libthread_xu/thread/thr_detach.c |  2 +-
 lib/libthread_xu/thread/thr_distribute.c |  4 +-
 lib/libthread_xu/thread/thr_event.c  |  6 +--
 lib/libthread_xu/thread/thr_exit.c   |  6 +--
 lib/libthread_xu/thread/thr_fork.c   |  8 ++--
 lib/libthread_xu/thread/thr_getschedparam.c  |  2 +-
 lib/libthread_xu/thread/thr_getthreadid_np.c |  2 +-
 lib/libthread_xu/thread/thr_info.c   |  4 +-
 lib/libthread_xu/thread/thr_init.c   |  8 ++--
 lib/libthread_xu/thread/thr_join.c   |  6 +--
 lib/libthread_xu/thread/thr_kern.c   | 12 +++---
 lib/libthread_xu/thread/thr_kill.c   |  2 +-
 lib/libthread_xu/thread/thr_list.c   | 39 +
 lib/libthread_xu/thread/thr_mutex.c  | 46 ++---
 lib/libthread_xu/thread/thr_private.h| 61 ++-
 lib/libthread_xu/thread/thr_pspinlock.c  | 14 +++
 lib/libthread_xu/thread/thr_resume_np.c  | 10 ++---
 lib/libthread_xu/thread/thr_rwlock.c | 12 +++---
 lib/libthread_xu/thread/thr_sem.c|  4 +-
 lib/libthread_xu/thread/thr_setschedparam.c  |  2 +-
 lib/libthread_xu/thread/thr_sig.c| 14 +++
 lib/libthread_xu/thread/thr_spec.c   | 10 ++---
 lib/libthread_xu/thread/thr_spinlock.c   |  8 ++--
 lib/libthread_xu/thread/thr_stack.c  |  6 +--
 lib/libthread_xu/thread/thr_suspend_np.c | 12 +++---
 lib/libthread_xu/thread/thr_syscalls.c   | 62 ++--
 32 files changed, 201 insertions(+), 205 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/940be950819fa932cd401a01f1182bf686a2e61e


-- 
DragonFly BSD source repository


git: libdevattr: Reduce exposure.

2020-12-12 Thread Rimvydas Jasinskas


commit ea654bb00162865df88800ff1264887ffecf8e37
Author: zrj 
Date:   Tue Dec 8 10:32:36 2020 +

libdevattr: Reduce  exposure.

Summary of changes:
 lib/libdevattr/devattr.c   | 1 -
 lib/libdevattr/devattr_device.c| 1 -
 lib/libdevattr/devattr_enumerate.c | 1 -
 lib/libdevattr/devattr_monitor.c   | 1 -
 4 files changed, 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ea654bb00162865df88800ff1264887ffecf8e37


-- 
DragonFly BSD source repository


git: : Make compatible with ports compilers.

2020-12-12 Thread Rimvydas Jasinskas


commit 73eb2aa9e6720de3c24e3b05b5e4606a14d2aa67
Author: zrj 
Date:   Tue Dec 8 10:31:50 2020 +

: Make  compatible with ports compilers.

 We are now building with -Wsystem-headers for c++ and compilers provide
 their own  versions containing legacy compatibility
 __va_copy() definition that was used in the draft proposal.
 Treat it as reserved name.  Only kernel code should use 

Summary of changes:
 sys/cpu/x86_64/include/stdarg.h | 4 ++--
 sys/sys/stdarg.h| 5 -
 2 files changed, 6 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/73eb2aa9e6720de3c24e3b05b5e4606a14d2aa67


-- 
DragonFly BSD source repository


git: rtld: Extract reloc_iresolve_one().

2020-11-04 Thread Rimvydas Jasinskas


commit 42cb3aea71b874199866be7dae8db4e190555ca5
Author: zrj 
Date:   Tue Nov 3 17:22:11 2020 +

rtld: Extract reloc_iresolve_one().

 Will be used to properly handle non-PLT 37 ifunc relocations in -pie.

Summary of changes:
 libexec/rtld-elf/x86_64/reloc.c | 25 -
 1 file changed, 16 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/42cb3aea71b874199866be7dae8db4e190555ca5


-- 
DragonFly BSD source repository


git: rtld: Handle non-PLT type 37 relocations.

2020-11-04 Thread Rimvydas Jasinskas


commit 145e5c8ae87d66e1d7600e41ab3e394b27372e6c
Author: zrj 
Date:   Tue Nov 3 17:28:17 2020 +

rtld: Handle non-PLT type 37 relocations.

 Mainly to unbreak certain use cases of ifunc.

Summary of changes:
 libexec/rtld-elf/rtld.c |  3 +++
 libexec/rtld-elf/rtld.h |  2 ++
 libexec/rtld-elf/x86_64/reloc.c | 20 
 3 files changed, 25 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/145e5c8ae87d66e1d7600e41ab3e394b27372e6c


-- 
DragonFly BSD source repository


git: lib/csu: Add ifunc support for statically linked programs.

2020-11-04 Thread Rimvydas Jasinskas


commit 9189eb5eb09dde1734a2d828c3b5f97cd105fd46
Author: zrj 
Date:   Wed Nov 4 10:31:21 2020 +

lib/csu: Add ifunc support for statically linked programs.

 This assumes that both _init_tls() and _rtld_call_init() paths in libc
 will not contain ifunc calls.  For now should be enough since there was
 no ifunc support previously.

Derived-from: NetBSD crt0-common.c implementation

Summary of changes:
 lib/csu/x86_64/crt1.c | 27 +++
 1 file changed, 27 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9189eb5eb09dde1734a2d828c3b5f97cd105fd46


-- 
DragonFly BSD source repository


git: bsd.sys.mk: Make -Wmissing-field-initializers non-fatal.

2020-11-02 Thread Rimvydas Jasinskas


commit abb5c9c24d745fe02c1fe256988b1e80c0ea396d
Author: zrj 
Date:   Mon Nov 2 18:34:45 2020 +

bsd.sys.mk: Make -Wmissing-field-initializers non-fatal.

 It was decided that gcc47 gives few diagnostics wrongly in C99 mode.

Summary of changes:
 share/mk/bsd.sys.mk | 3 +++
 1 file changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/abb5c9c24d745fe02c1fe256988b1e80c0ea396d


-- 
DragonFly BSD source repository


git: kernel: Avoid spurious diagnostic with older gcc47.

2020-11-02 Thread Rimvydas Jasinskas


commit 2a404fe0251b57bc22ff4f56f587fae654e212c6
Author: zrj 
Date:   Mon Nov 2 18:38:20 2020 +

kernel: Avoid spurious diagnostic with older gcc47.

Summary of changes:
 sys/kern/kern_spinlock.c | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a404fe0251b57bc22ff4f56f587fae654e212c6


-- 
DragonFly BSD source repository


git: boot/pc32: Conditionalize splitfs support in legacy loaders.

2020-10-31 Thread Rimvydas Jasinskas


commit 39ff2835d5096656acf71a5bb8cf5fd0a26acf70
Author: zrj 
Date:   Sat Oct 31 18:11:03 2020 +

boot/pc32: Conditionalize splitfs support in legacy loaders.

 This floppy feature was inherited and not so useful anymore.  Disabling
 it reduces filename lookups by half.  Also put it last, if enabled.

Summary of changes:
 sys/boot/pc32/loader/Makefile  | 3 +++
 sys/boot/pc32/loader/conf.c| 4 +++-
 sys/boot/pc32/loader_tftp/Makefile | 3 +++
 3 files changed, 9 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/39ff2835d5096656acf71a5bb8cf5fd0a26acf70


-- 
DragonFly BSD source repository


git: boot/pc32: Fix ambiguity in legacy loaders for Hammer selection.

2020-10-31 Thread Rimvydas Jasinskas


commit 516425fdcada0d3574422db2c4799d01ca0ec9db
Author: zrj 
Date:   Sat Oct 31 19:19:42 2020 +

boot/pc32: Fix ambiguity in legacy loaders for Hammer selection.

 Explicitly name both variants.  Default Hammer2 stays in legacy loader.
 Allow to built loader with HAMMER(5) support for testing purposes.
 Adjust libstand(3).

Summary of changes:
 lib/libstand/hammer1.c| 2 +-
 lib/libstand/hammer2.c| 2 +-
 lib/libstand/libstand.3   | 4 +++-
 lib/libstand/stand.h  | 3 ++-
 sys/boot/pc32/loader/Makefile | 3 +++
 sys/boot/pc32/loader/conf.c   | 5 -
 6 files changed, 14 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/516425fdcada0d3574422db2c4799d01ca0ec9db


-- 
DragonFly BSD source repository


git: boot/pc32: Reorder fs probe list.

2020-10-31 Thread Rimvydas Jasinskas


commit 44b225d9eccb026040a5989a7bf26ac4b1449816
Author: zrj 
Date:   Sat Oct 31 18:57:55 2020 +

boot/pc32: Reorder fs probe list.

 Sort by: disk, cd, net, file.
 This should increase lookup speed for network loaders.

Summary of changes:
 sys/boot/pc32/loader/conf.c | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/44b225d9eccb026040a5989a7bf26ac4b1449816


-- 
DragonFly BSD source repository


git: kernel: Disable use of clang's integrated as.

2020-10-31 Thread Rimvydas Jasinskas


commit 4fbf54259a710618095e7bdd84f3b71d2088b805
Author: zrj 
Date:   Sat Oct 31 06:42:39 2020 +

kernel: Disable use of clang's integrated as.

Summary of changes:
 sys/conf/kern.pre.mk | 7 +++
 sys/conf/kmod.mk | 5 +
 2 files changed, 12 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4fbf54259a710618095e7bdd84f3b71d2088b805


-- 
DragonFly BSD source repository


git: dsynth(1): Ignore dot files in CRC sums.

2020-10-31 Thread Rimvydas Jasinskas


commit e42d129cf9df76e21465cc46d3053c7bf8bbccc6
Author: zrj 
Date:   Sat Oct 31 06:40:22 2020 +

dsynth(1): Ignore dot files in CRC sums.

Summary of changes:
 usr.bin/dsynth/subs.c | 6 ++
 1 file changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e42d129cf9df76e21465cc46d3053c7bf8bbccc6


-- 
DragonFly BSD source repository


git: boot/pc32: Consistently disable integrated-as for intermediates.

2020-10-31 Thread Rimvydas Jasinskas


commit 28c4c3d3f5fad24ee43346d38dd2414cb425172d
Author: zrj 
Date:   Sat Oct 31 06:44:42 2020 +

boot/pc32: Consistently disable integrated-as for intermediates.

 This ensures that produced assembly intermediates are compatible with
 external as(1) when compiling with clang.

Summary of changes:
 sys/boot/pc32/Makefile.inc| 4 ++--
 sys/boot/pc32/boot0/Makefile  | 2 +-
 sys/boot/pc32/boot2/Makefile  | 6 ++
 sys/boot/pc32/cdboot/Makefile | 2 +-
 4 files changed, 6 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/28c4c3d3f5fad24ee43346d38dd2414cb425172d


-- 
DragonFly BSD source repository


git: Switch to ld.bfd as default ld for world stage.

2020-10-31 Thread Rimvydas Jasinskas


commit 7c19e7bb8e84ae5332f90d70af4cf3e3c871fa1d
Author: zrj 
Date:   Sat Oct 31 09:12:38 2020 +

Switch to ld.bfd as default ld for world stage.

 Until boot/efi issues are resolved:
 * ld.gold not respecting linker script for section merges;
 * clang built boot1.efi and loader.efi failures.

 Default can be restored by setting WORLD_LDVER=ld.gold in make.conf(5).
 Final installed ld(1) will still default to ld.gold to not disturb
 things in DPorts.

 NOTE: this might produce different final binaries if building in tree,
 but it should not be fatal as we support both ld.bfd and ld.gold.
 Use "make LDVER=ld.bfd" to mimic buildworld behaviour when needed.

Summary of changes:
 Makefile.inc1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7c19e7bb8e84ae5332f90d70af4cf3e3c871fa1d


-- 
DragonFly BSD source repository


git: Switch to binutils234 as default base binutils.

2020-10-31 Thread Rimvydas Jasinskas


commit 628f4db5d544bd30dbe41783d5a22fc6d1a49132
Author: zrj 
Date:   Sat Oct 31 08:31:02 2020 +

Switch to binutils234 as default base binutils.

Summary of changes:
 Makefile.inc1 |  2 +-
 UPDATING  | 11 +++
 gnu/usr.bin/Makefile.buo  |  4 ++--
 share/man/man5/make.conf.5|  6 +++---
 share/mk/bsd.cpu.mk   |  2 +-
 usr.bin/objformat/objformat.c |  2 +-
 6 files changed, 19 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/628f4db5d544bd30dbe41783d5a22fc6d1a49132


-- 
DragonFly BSD source repository


git: boot/efi: Objcopy more sections to final *.efi objects.

2020-10-31 Thread Rimvydas Jasinskas


commit a4f4180084e9700f219a60dd0ec7efbb4ca1fcd7
Author: zrj 
Date:   Sat Oct 31 08:29:40 2020 +

boot/efi: Objcopy more sections to final *.efi objects.

 Unbreaks uefi boot with when compiled with ld.gold from binutils234.

Summary of changes:
 sys/boot/efi/Makefile.inc| 3 +++
 sys/boot/efi/boot1/Makefile  | 2 +-
 sys/boot/efi/loader/Makefile | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a4f4180084e9700f219a60dd0ec7efbb4ca1fcd7


-- 
DragonFly BSD source repository


git: kernel: Add handling for R_X86_64_PLT32 (type 4) in kernel linker.

2020-03-14 Thread Rimvydas Jasinskas


commit 2b49b9bea2f9cf3b0d2a7689e9d389854027e269
Author: zrj 
Date:   Thu Feb 13 14:07:37 2020 +0200

kernel: Add handling for R_X86_64_PLT32 (type 4) in kernel linker.

 Newer binutils can emit R_X86_64_PLT32 for -shared compilations.

Tested-with: binutils234

Summary of changes:
 sys/cpu/x86_64/misc/elf_machdep.c | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2b49b9bea2f9cf3b0d2a7689e9d389854027e269


-- 
DragonFly BSD source repository


git: kernel: Adjust description for kern.tls_extra

2020-03-14 Thread Rimvydas Jasinskas


commit 1db3c6898a519161cd53290143bc6f1af2a53a07
Author: zrj 
Date:   Sat Mar 14 11:20:30 2020 +0200

kernel: Adjust description for kern.tls_extra

Summary of changes:
 sys/kern/kern_mib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1db3c6898a519161cd53290143bc6f1af2a53a07


-- 
DragonFly BSD source repository


git: Retire the binutils-2.25.

2020-02-15 Thread Rimvydas Jasinskas


commit 12b1d9fbe4c4be22308f69c006399cd4eee3a258
Author: zrj 
Date:   Sat Feb 15 18:22:13 2020 +0200

Retire the binutils-2.25.

Summary of changes:
 contrib/binutils-2.25/COPYING  |   340 -
 contrib/binutils-2.25/COPYING.LIB  |   482 -
 contrib/binutils-2.25/COPYING3 |   674 -
 contrib/binutils-2.25/COPYING3.LIB |   165 -
 contrib/binutils-2.25/README   |47 -
 contrib/binutils-2.25/README.DELETED   |  1899 -
 contrib/binutils-2.25/README.DRAGONFLY |18 -
 contrib/binutils-2.25/bfd/COPYING  |   674 -
 contrib/binutils-2.25/bfd/README   |55 -
 contrib/binutils-2.25/bfd/archive.c|  2780 -
 contrib/binutils-2.25/bfd/archive64.c  |   249 -
 contrib/binutils-2.25/bfd/archures.c   |  1401 -
 contrib/binutils-2.25/bfd/bfd-in2.h|  7282 --
 contrib/binutils-2.25/bfd/bfd.c|  1925 -
 contrib/binutils-2.25/bfd/bfdio.c  |   621 -
 contrib/binutils-2.25/bfd/bfdver.h | 4 -
 contrib/binutils-2.25/bfd/bfdwin.c |   263 -
 contrib/binutils-2.25/bfd/binary.c |   368 -
 contrib/binutils-2.25/bfd/cache.c  |   644 -
 contrib/binutils-2.25/bfd/coff-x86_64.c|   810 -
 contrib/binutils-2.25/bfd/coffcode.h   |  6173 --
 contrib/binutils-2.25/bfd/coffgen.c|  2704 -
 contrib/binutils-2.25/bfd/cofflink.c   |  3119 -
 contrib/binutils-2.25/bfd/compress.c   |   442 -
 contrib/binutils-2.25/bfd/config.bfd   |  1759 -
 contrib/binutils-2.25/bfd/corefile.c   |   190 -
 contrib/binutils-2.25/bfd/cpu-i386.c   |   302 -
 contrib/binutils-2.25/bfd/cpu-k1om.c   |60 -
 contrib/binutils-2.25/bfd/cpu-l1om.c   |60 -
 contrib/binutils-2.25/bfd/doc/bfdsumm.texi |   150 -
 contrib/binutils-2.25/bfd/doc/bfdver.texi  | 4 -
 contrib/binutils-2.25/bfd/dwarf1.c |   563 -
 contrib/binutils-2.25/bfd/dwarf2.c |  4365 -
 contrib/binutils-2.25/bfd/elf-attrs.c  |   720 -
 contrib/binutils-2.25/bfd/elf-bfd.h|  2542 -
 contrib/binutils-2.25/bfd/elf-eh-frame.c   |  1920 -
 contrib/binutils-2.25/bfd/elf-ifunc.c  |   400 -
 contrib/binutils-2.25/bfd/elf-linux-psinfo.h   |   127 -
 contrib/binutils-2.25/bfd/elf-nacl.c   |   355 -
 contrib/binutils-2.25/bfd/elf-nacl.h   |25 -
 contrib/binutils-2.25/bfd/elf-strtab.c |   420 -
 contrib/binutils-2.25/bfd/elf-vxworks.c|   301 -
 contrib/binutils-2.25/bfd/elf-vxworks.h|38 -
 contrib/binutils-2.25/bfd/elf.c| 10112 --
 contrib/binutils-2.25/bfd/elf32-gen.c  |   102 -
 contrib/binutils-2.25/bfd/elf32-i386.c |  5447 --
 contrib/binutils-2.25/bfd/elf32-or1k.c |  2857 -
 contrib/binutils-2.25/bfd/elf32.c  |23 -
 contrib/binutils-2.25/bfd/elf64-gen.c  |   102 -
 contrib/binutils-2.25/bfd/elf64-x86-64.c   |  6143 --
 contrib/binutils-2.25/bfd/elf64.c  |23 -
 contrib/binutils-2.25/bfd/elfcode.h|  1902 -
 contrib/binutils-2.25/bfd/elfcore.h|   319 -
 contrib/binutils-2.25/bfd/elflink.c| 13228 ---
 contrib/binutils-2.25/bfd/elfxx-target.h   |  1002 -
 contrib/binutils-2.25/bfd/format.c |   560 -
 contrib/binutils-2.25/bfd/genlink.h|   110 -
 contrib/binutils-2.25/bfd/hash.c   |   912 -
 contrib/binutils-2.25/bfd/ihex.c   |  1000 -
 contrib/binutils-2.25/bfd/init.c   |54 -
 contrib/binutils-2.25/bfd/libaout.h|   689 -
 contrib/binutils-2.25/bfd/libbfd.c |  1083 -
 contrib/binutils-2.25/bfd/libbfd.h |  3003 -
 contrib/binutils-2.25/bfd/libcoff.h|   982 -
 contrib/binutils-2.25/bfd/libecoff.h   |   346 -
 contrib/binutils-2.25/bfd/libpei.h |   367 -
 contrib/binutils-2.25/bfd/linker.c |  3305 -
 contrib/binutils-2.25/bfd/merge.c  |   900 -
 contrib/binutils-2.25/bfd/opncls.c |  1695 -
 contrib/binutils-2.25/bfd/peXXigen.c   |  4521 -
 contrib/binutils-2.25/bfd/pei-x86_64.c |   762 -
 contrib/binutils-2.25/bfd/peicode.h|  1359 -
 contrib/binutils-2.25/bfd/plugin.c |   561 -
 contrib/binutils-2.25/bfd/plugin.h |36 -
 contrib/binutils-2.25/bfd/reloc.c  |  7700 --
 contrib/binutils-2.25/bfd/section.c|  1657 -
 contrib/binutils-2.25/bfd/simple.c |   285 -
 contrib/binutils-2.25/bfd/srec.c   |  1392 -
 

git: objformat(1): Remove incremental-dump handling.

2020-02-15 Thread Rimvydas Jasinskas


commit 869af120e434ceb387af229e55fa1a6decf35b94
Author: zrj 
Date:   Mon Feb 3 13:11:12 2020 +0200

objformat(1): Remove incremental-dump handling.

 Utility is incremental linking test/debug tool and no longer installed
 in binutils-2.34.  Remove handling for consistency.

Summary of changes:
 Makefile_upgrade.inc  | 1 +
 usr.bin/objformat/Makefile| 1 -
 usr.bin/objformat/objformat.c | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/869af120e434ceb387af229e55fa1a6decf35b94


-- 
DragonFly BSD source repository


git: binutils234: Add pregenerated manpages.

2020-02-15 Thread Rimvydas Jasinskas


commit 86c84d6924e200d3490bb3564c5c93ffac3ddc57
Author: zrj 
Date:   Mon Feb 3 11:29:13 2020 +0200

binutils234: Add pregenerated manpages.

 Only ld.1 and gprof.1 are now provided in tarball.  Add all locally.

Summary of changes:
 .../binutils234/block2/addr2line/addr2line234.1|  349 +++
 gnu/usr.bin/binutils234/block2/ar/ar234.1  |  523 
 .../binutils234/block2/cxxfilt/c++filt234.1|  376 +++
 .../binutils234/block2/elfedit/elfedit234.1|  260 ++
 gnu/usr.bin/binutils234/block2/gas/as234.1 | 2892 +++
 gnu/usr.bin/binutils234/block2/gprof/gprof234.1|  772 +
 gnu/usr.bin/binutils234/block2/ld/ld234.1  | 2946 
 gnu/usr.bin/binutils234/block2/nm/nm234.1  |  602 
 .../binutils234/block2/objcopy/objcopy234.1| 1233 
 .../binutils234/block2/objdump/objdump234.1| 1310 +
 gnu/usr.bin/binutils234/block2/ranlib/ranlib234.1  |  227 ++
 .../binutils234/block2/readelf/readelf234.1|  720 +
 gnu/usr.bin/binutils234/block2/size/size234.1  |  297 ++
 .../binutils234/block2/strings/strings234.1|  315 +++
 gnu/usr.bin/binutils234/block2/strip/strip234.1|  502 
 15 files changed, 13324 insertions(+)
 create mode 100644 gnu/usr.bin/binutils234/block2/addr2line/addr2line234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/ar/ar234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/cxxfilt/c++filt234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/elfedit/elfedit234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/gas/as234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/gprof/gprof234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/ld/ld234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/nm/nm234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/objcopy/objcopy234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/objdump/objdump234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/ranlib/ranlib234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/readelf/readelf234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/size/size234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/strings/strings234.1
 create mode 100644 gnu/usr.bin/binutils234/block2/strip/strip234.1

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/86c84d6924e200d3490bb3564c5c93ffac3ddc57


-- 
DragonFly BSD source repository


git: binutils234: Add configs and pregenerated headers.

2020-02-15 Thread Rimvydas Jasinskas


commit c03f3e4c2902bc190c6e27497fcbd19337441aae
Author: zrj 
Date:   Mon Feb 3 11:25:41 2020 +0200

binutils234: Add configs and pregenerated headers.

Summary of changes:
 gnu/usr.bin/binutils234/block1/bulibs/bfd_stdint.h |   9 +
 gnu/usr.bin/binutils234/block1/bulibs/config.h | 305 +++
 gnu/usr.bin/binutils234/block1/libbfd/bfd_stdint.h |   9 +
 .../block1/libbfd/config.h |   0
 gnu/usr.bin/binutils234/block1/libctf/bfd_stdint.h |   9 +
 gnu/usr.bin/binutils234/block1/libctf/config.h | 158 ++
 gnu/usr.bin/binutils234/block1/libiberty/config.h  | 578 +
 .../binutils234/block1/libopcodes/bfd_stdint.h |   9 +
 gnu/usr.bin/binutils234/block1/libopcodes/config.h | 123 +
 gnu/usr.bin/binutils234/block2/gas/config.h| 417 +++
 .../block2/gas/x86_64-dragonfly/itbl-cpu.h |   0
 .../block2/gas/x86_64-dragonfly/obj-format.h   |   0
 .../block2/gas/x86_64-dragonfly/targ-cpu.h |   0
 .../block2/gas/x86_64-dragonfly/targ-env.h |   0
 gnu/usr.bin/binutils234/block2/gprof/gconfig.h | 122 +
 gnu/usr.bin/binutils234/block2/ld/config.h | 257 +
 gnu/usr.bin/binutils234/block2/libgold/config.h| 303 +++
 17 files changed, 2299 insertions(+)
 create mode 100644 gnu/usr.bin/binutils234/block1/bulibs/bfd_stdint.h
 create mode 100644 gnu/usr.bin/binutils234/block1/bulibs/config.h
 create mode 100644 gnu/usr.bin/binutils234/block1/libbfd/bfd_stdint.h
 copy gnu/usr.bin/{binutils227 => binutils234}/block1/libbfd/config.h (100%)
 create mode 100644 gnu/usr.bin/binutils234/block1/libctf/bfd_stdint.h
 create mode 100644 gnu/usr.bin/binutils234/block1/libctf/config.h
 create mode 100644 gnu/usr.bin/binutils234/block1/libiberty/config.h
 create mode 100644 gnu/usr.bin/binutils234/block1/libopcodes/bfd_stdint.h
 create mode 100644 gnu/usr.bin/binutils234/block1/libopcodes/config.h
 create mode 100644 gnu/usr.bin/binutils234/block2/gas/config.h
 copy gnu/usr.bin/{binutils225 => 
binutils234}/block2/gas/x86_64-dragonfly/itbl-cpu.h (100%)
 copy gnu/usr.bin/{binutils225 => 
binutils234}/block2/gas/x86_64-dragonfly/obj-format.h (100%)
 copy gnu/usr.bin/{binutils225 => 
binutils234}/block2/gas/x86_64-dragonfly/targ-cpu.h (100%)
 copy gnu/usr.bin/{binutils225 => 
binutils234}/block2/gas/x86_64-dragonfly/targ-env.h (100%)
 create mode 100644 gnu/usr.bin/binutils234/block2/gprof/gconfig.h
 create mode 100644 gnu/usr.bin/binutils234/block2/ld/config.h
 create mode 100644 gnu/usr.bin/binutils234/block2/libgold/config.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c03f3e4c2902bc190c6e27497fcbd19337441aae


-- 
DragonFly BSD source repository


git: binutils225: Unhook from the build.

2020-02-15 Thread Rimvydas Jasinskas


commit 7bb93f5cd893d1ba2a125a7932f8cdbae87002c1
Author: zrj 
Date:   Mon Feb 3 12:22:06 2020 +0200

binutils225: Unhook from the build.

 Remove makefiles and installed parts.

Summary of changes:
 Makefile_upgrade.inc   |1 +
 etc/mtree/BSD.usr.dist |8 -
 gnu/usr.bin/binutils225/Makefile   |   21 -
 gnu/usr.bin/binutils225/Makefile.inc1  |3 -
 gnu/usr.bin/binutils225/Makefile.zhack |   27 -
 gnu/usr.bin/binutils225/block1/Makefile|6 -
 gnu/usr.bin/binutils225/block1/Makefile.block1 |   39 -
 gnu/usr.bin/binutils225/block1/bulibs/Makefile |   18 -
 gnu/usr.bin/binutils225/block1/bulibs/config.h |  278 --
 gnu/usr.bin/binutils225/block1/libbfd/Makefile |   93 -
 gnu/usr.bin/binutils225/block1/libbfd/config.h |  387 --
 gnu/usr.bin/binutils225/block1/libiberty/Makefile  |   71 -
 gnu/usr.bin/binutils225/block1/libiberty/config.h  |  500 ---
 gnu/usr.bin/binutils225/block1/libopcodes/Makefile |   20 -
 gnu/usr.bin/binutils225/block1/libopcodes/config.h |  123 -
 gnu/usr.bin/binutils225/block2/Makefile|   31 -
 gnu/usr.bin/binutils225/block2/Makefile.block2 |   32 -
 gnu/usr.bin/binutils225/block2/addr2line/Makefile  |   20 -
 gnu/usr.bin/binutils225/block2/ar/Makefile |   32 -
 gnu/usr.bin/binutils225/block2/cxxfilt/Makefile|   21 -
 gnu/usr.bin/binutils225/block2/cxxfilt/c++filt.1   |  345 --
 gnu/usr.bin/binutils225/block2/elfedit/Makefile|   21 -
 gnu/usr.bin/binutils225/block2/gas/Makefile|   73 -
 gnu/usr.bin/binutils225/block2/gas/config.h|  384 --
 .../block2/gas/x86_64-dragonfly/Makefile   |8 -
 .../block2/gas/x86_64-dragonfly/itbl-cpu.h |1 -
 .../block2/gas/x86_64-dragonfly/obj-format.h   |1 -
 .../block2/gas/x86_64-dragonfly/targ-cpu.h |1 -
 .../block2/gas/x86_64-dragonfly/targ-env.h |1 -
 gnu/usr.bin/binutils225/block2/gprof/Makefile  |   36 -
 gnu/usr.bin/binutils225/block2/gprof/gconfig.h |  117 -
 gnu/usr.bin/binutils225/block2/gprof/gprof.1   |  772 
 gnu/usr.bin/binutils225/block2/ld/Makefile |   86 -
 gnu/usr.bin/binutils225/block2/ld/Makefile.x86_64  |   96 -
 gnu/usr.bin/binutils225/block2/ld/config.h |  229 --
 gnu/usr.bin/binutils225/block2/libgold/Makefile|   60 -
 gnu/usr.bin/binutils225/block2/libgold/config.h|  284 --
 gnu/usr.bin/binutils225/block2/libgold/yyscript.c  | 3794 
 gnu/usr.bin/binutils225/block2/libgold/yyscript.h  |  311 --
 gnu/usr.bin/binutils225/block2/nm/Makefile |   26 -
 gnu/usr.bin/binutils225/block2/objcopy/Makefile|   24 -
 gnu/usr.bin/binutils225/block2/objdump/Makefile|   29 -
 gnu/usr.bin/binutils225/block2/ranlib/Makefile |   32 -
 gnu/usr.bin/binutils225/block2/readelf/Makefile|   25 -
 gnu/usr.bin/binutils225/block2/size/Makefile   |   20 -
 gnu/usr.bin/binutils225/block2/strings/Makefile|   20 -
 gnu/usr.bin/binutils225/block2/strip/Makefile  |   26 -
 gnu/usr.bin/binutils225/block3/Makefile|8 -
 gnu/usr.bin/binutils225/block3/Makefile.gld|   43 -
 .../binutils225/block3/gold-linker/Makefile|   16 -
 .../binutils225/block3/incremental-dump/Makefile   |   20 -
 51 files changed, 1 insertion(+), 8639 deletions(-)
 delete mode 100644 gnu/usr.bin/binutils225/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/Makefile.inc1
 delete mode 100644 gnu/usr.bin/binutils225/Makefile.zhack
 delete mode 100644 gnu/usr.bin/binutils225/block1/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block1/Makefile.block1
 delete mode 100644 gnu/usr.bin/binutils225/block1/bulibs/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block1/bulibs/config.h
 delete mode 100644 gnu/usr.bin/binutils225/block1/libbfd/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block1/libbfd/config.h
 delete mode 100644 gnu/usr.bin/binutils225/block1/libiberty/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block1/libiberty/config.h
 delete mode 100644 gnu/usr.bin/binutils225/block1/libopcodes/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block1/libopcodes/config.h
 delete mode 100644 gnu/usr.bin/binutils225/block2/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block2/Makefile.block2
 delete mode 100644 gnu/usr.bin/binutils225/block2/addr2line/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block2/ar/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block2/cxxfilt/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block2/cxxfilt/c++filt.1
 delete mode 100644 gnu/usr.bin/binutils225/block2/elfedit/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block2/gas/Makefile
 delete mode 100644 gnu/usr.bin/binutils225/block2/gas/config.h
 delete mode 100644 gnu/usr.bin/binutils225/block2/gas/x86_64-dragonfly/Makefile
 delete mode 100644 

git: binutils234: Hook to the buildworld as alternative set.

2020-02-15 Thread Rimvydas Jasinskas


commit 8820073c290a0dc136a8ad810bf076b3a04dabb8
Author: zrj 
Date:   Mon Feb 3 12:19:37 2020 +0200

binutils234: Hook to the buildworld as alternative set.

 Requires changes in kernel and sys/boot/efi.

Summary of changes:
 etc/mtree/BSD.usr.dist   | 8 
 gnu/usr.bin/Makefile.buo | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8820073c290a0dc136a8ad810bf076b3a04dabb8


-- 
DragonFly BSD source repository


git: binutils234: Add DF READMEs and local modifications.

2020-02-15 Thread Rimvydas Jasinskas


commit a72d4fb11b2b988dc5145de33d627d77bb17732b
Author: zrj 
Date:   Mon Feb 3 10:55:39 2020 +0200

binutils234: Add DF READMEs and local modifications.

Summary of changes:
 .../README.DELETED | 569 +
 contrib/binutils-2.34/README.DRAGONFLY |  28 +
 contrib/binutils-2.34/bfd/bfdver.h |  22 +
 contrib/binutils-2.34/bfd/config.bfd   |   2 +-
 contrib/binutils-2.34/bfd/elfxx-x86.c  |   6 +-
 contrib/binutils-2.34/bfd/plugin.c |   2 +-
 contrib/binutils-2.34/gold/x86_64.cc   |   4 +-
 contrib/binutils-2.34/ld/genscripts.sh |   6 +-
 contrib/binutils-2.34/ld/ldlex.l   |   1 +
 9 files changed, 312 insertions(+), 328 deletions(-)
 copy contrib/{binutils-2.27 => binutils-2.34}/README.DELETED (84%)
 create mode 100644 contrib/binutils-2.34/README.DRAGONFLY
 create mode 100644 contrib/binutils-2.34/bfd/bfdver.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a72d4fb11b2b988dc5145de33d627d77bb17732b


-- 
DragonFly BSD source repository


git: binutils234: Add build makefiles.

2020-02-15 Thread Rimvydas Jasinskas


commit 99d38c703099701955c5b1808096ed712af780e9
Author: zrj 
Date:   Mon Feb 3 11:20:45 2020 +0200

binutils234: Add build makefiles.

Summary of changes:
 gnu/usr.bin/binutils234/Makefile   |  21 
 gnu/usr.bin/binutils234/Makefile.inc1  |   3 +
 gnu/usr.bin/binutils234/Makefile.zhack |  27 +
 gnu/usr.bin/binutils234/block1/Makefile|   6 +
 gnu/usr.bin/binutils234/block1/Makefile.block1 |  39 +++
 .../block1/bulibs/Makefile |   0
 gnu/usr.bin/binutils234/block1/libbfd/Makefile |  90 ++
 gnu/usr.bin/binutils234/block1/libctf/Makefile |  18 +++
 gnu/usr.bin/binutils234/block1/libiberty/Makefile  |  46 
 .../block1/libopcodes/Makefile |   0
 .../{binutils225 => binutils234}/block2/Makefile   |   0
 gnu/usr.bin/binutils234/block2/Makefile.block2 |  30 +
 gnu/usr.bin/binutils234/block2/addr2line/Makefile  |  15 +++
 gnu/usr.bin/binutils234/block2/ar/Makefile |  27 +
 gnu/usr.bin/binutils234/block2/cxxfilt/Makefile|  16 +++
 gnu/usr.bin/binutils234/block2/elfedit/Makefile|  16 +++
 gnu/usr.bin/binutils234/block2/gas/Makefile|  68 +++
 .../block2/gas/x86_64-dragonfly/Makefile   |   8 ++
 gnu/usr.bin/binutils234/block2/gprof/Makefile  |  33 ++
 gnu/usr.bin/binutils234/block2/ld/Makefile |  91 +++
 gnu/usr.bin/binutils234/block2/ld/Makefile.x86_64  | 130 +
 gnu/usr.bin/binutils234/block2/libgold/Makefile|  62 ++
 gnu/usr.bin/binutils234/block2/nm/Makefile |  21 
 gnu/usr.bin/binutils234/block2/objcopy/Makefile|  19 +++
 gnu/usr.bin/binutils234/block2/objdump/Makefile|  22 
 gnu/usr.bin/binutils234/block2/ranlib/Makefile |  27 +
 gnu/usr.bin/binutils234/block2/readelf/Makefile|  20 
 gnu/usr.bin/binutils234/block2/size/Makefile   |  15 +++
 gnu/usr.bin/binutils234/block2/strings/Makefile|  15 +++
 gnu/usr.bin/binutils234/block2/strip/Makefile  |  21 
 gnu/usr.bin/binutils234/block3/Makefile|   6 +
 gnu/usr.bin/binutils234/block3/Makefile.gld|  42 +++
 .../binutils234/block3/gold-linker/Makefile|  20 
 33 files changed, 974 insertions(+)
 create mode 100644 gnu/usr.bin/binutils234/Makefile
 create mode 100644 gnu/usr.bin/binutils234/Makefile.inc1
 create mode 100644 gnu/usr.bin/binutils234/Makefile.zhack
 create mode 100644 gnu/usr.bin/binutils234/block1/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block1/Makefile.block1
 copy gnu/usr.bin/{binutils227 => binutils234}/block1/bulibs/Makefile (100%)
 create mode 100644 gnu/usr.bin/binutils234/block1/libbfd/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block1/libctf/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block1/libiberty/Makefile
 copy gnu/usr.bin/{binutils227 => binutils234}/block1/libopcodes/Makefile (100%)
 copy gnu/usr.bin/{binutils225 => binutils234}/block2/Makefile (100%)
 create mode 100644 gnu/usr.bin/binutils234/block2/Makefile.block2
 create mode 100644 gnu/usr.bin/binutils234/block2/addr2line/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/ar/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/cxxfilt/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/elfedit/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/gas/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/gas/x86_64-dragonfly/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/gprof/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/ld/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/ld/Makefile.x86_64
 create mode 100644 gnu/usr.bin/binutils234/block2/libgold/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/nm/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/objcopy/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/objdump/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/ranlib/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/readelf/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/size/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/strings/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block2/strip/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block3/Makefile
 create mode 100644 gnu/usr.bin/binutils234/block3/Makefile.gld
 create mode 100644 gnu/usr.bin/binutils234/block3/gold-linker/Makefile

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/99d38c703099701955c5b1808096ed712af780e9


-- 
DragonFly BSD source repository


git: vendor/BINUTILS234 created Initial import of binutils 2.34 on vendor branch

2020-02-15 Thread Rimvydas Jasinskas
at  fae548d340e97ac4c9f87c58c3ff524b681b170e (commit)


-- 
DragonFly BSD source repository


git: gcc80: Unbreak ctools on OpenBSD.

2020-02-13 Thread Rimvydas Jasinskas


commit b1eee65c391c3357aad4bf626e31effa570809a6
Author: zrj 
Date:   Thu Feb 13 13:52:39 2020 +0200

gcc80: Unbreak ctools on OpenBSD.

 For some reason cpp(1) has --traditional-cpp enforced in clang-cpp, that
 does not expand macros with spaces like "FOO (blah);".
 Use plain cc -E -P for compat in NXCC for now (both headers do not
 depend on arch specific code or external headers, so it should be safe.

Summary of changes:
 gnu/usr.bin/cc80/cc_tools/tools/Makefile | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b1eee65c391c3357aad4bf626e31effa570809a6


-- 
DragonFly BSD source repository


git: sys/boot: Unbreak efi build with WORLD_LDVER=ld.bfd.

2020-02-13 Thread Rimvydas Jasinskas


commit ec7e03972acbc8bdc46966d3eaff91d62588039e
Author: zrj 
Date:   Thu Feb 13 13:59:17 2020 +0200

sys/boot: Unbreak efi build with WORLD_LDVER=ld.bfd.

 Adjust 64-bit libstand.a location to use full path if available as it is
 done for 32-bit loaders already.

 The ld.bfd when invoked with -ffreestanding will not look for /usr/lib.

 Match ldscript.x86_64 to sys/platform/pc64/conf/ldscript.x86_64.
 Our ld.bfd does not support freebsd emulation target.  Generic target is
 enough to convert boot1.sym and loader.sym intermediates to PE32+.

 While there, use something sane for section padding in ldscript.x86_64.

Summary of changes:
 sys/boot/efi/boot1/Makefile | 6 +-
 sys/boot/efi/loader/arch/x86_64/ldscript.x86_64 | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec7e03972acbc8bdc46966d3eaff91d62588039e


-- 
DragonFly BSD source repository


git: grep(1): Disable use of unlocked IO in btools.

2020-02-12 Thread Rimvydas Jasinskas


commit 16d4386a7027d755d9a7b5e5b0f920e102fa301a
Author: zrj 
Date:   Sun Feb 2 13:14:22 2020 +0200

grep(1): Disable use of unlocked IO in btools.

 Our use of grep during bootstrapping process does not require it and
 solves issues when bootstrapping utility on OpenBSD.

Summary of changes:
 contrib/grep/src/system.h  |  2 ++
 gnu/usr.bin/grep/grep/Makefile |  4 
 gnu/usr.bin/grep/libgreputils/Makefile |  4 
 gnu/usr.bin/grep/libgreputils/config.h | 10 ++
 4 files changed, 20 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/16d4386a7027d755d9a7b5e5b0f920e102fa301a


-- 
DragonFly BSD source repository


git: find(1): Check for _ST_FLAGS_PRESENT_ availability.

2020-02-12 Thread Rimvydas Jasinskas


commit 2c461091d927abd3372b6cf5b89a7014b5dd0b3c
Author: zrj 
Date:   Sun Feb 2 12:55:34 2020 +0200

find(1): Check for _ST_FLAGS_PRESENT_ availability.

Summary of changes:
 usr.bin/find/function.c | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2c461091d927abd3372b6cf5b89a7014b5dd0b3c


-- 
DragonFly BSD source repository


git: find(1): Disable use of getvfsbyname(3) in btools.

2020-02-12 Thread Rimvydas Jasinskas


commit e1a576da00b51e7df31f0019808a09ed77fb6def
Author: zrj 
Date:   Sun Feb 2 13:05:16 2020 +0200

find(1): Disable use of getvfsbyname(3) in btools.

 Not needed by our buildworld/buildkernel infrastructure.
 This allows utility to be used on OpenBSD host.

Summary of changes:
 usr.bin/find/function.c | 6 ++
 1 file changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e1a576da00b51e7df31f0019808a09ed77fb6def


-- 
DragonFly BSD source repository


git: find(1): Reduce bootstrap locale specific requirements.

2020-02-12 Thread Rimvydas Jasinskas


commit 459a0c9c6f4ae4a47bb60f534c44155c47a84ce0
Author: zrj 
Date:   Sun Feb 2 13:03:09 2020 +0200

find(1): Reduce bootstrap locale specific requirements.

 The F_TIME2_T functionality is not available on all OSes.

 While there, check for D_MD_ORDER availability and fallback to month
 first if not available.

Summary of changes:
 usr.bin/find/Makefile   | 9 +++--
 usr.bin/find/function.c | 4 
 usr.bin/find/ls.c   | 4 
 3 files changed, 15 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/459a0c9c6f4ae4a47bb60f534c44155c47a84ce0


-- 
DragonFly BSD source repository


git: Makefile.inc1: Pass _SHLIBDIRPREFIX for btools too.

2020-02-12 Thread Rimvydas Jasinskas


commit c93c76c672396cc082e671855094827d19fc298f
Author: zrj 
Date:   Sun Feb 2 13:35:20 2020 +0200

Makefile.inc1: Pass _SHLIBDIRPREFIX for btools too.

 Allow to to link in with crossworld target built libraries if available.

 These are not needed for DragonFly crossworld target, however helps with
 bootstrapping on OpenBSD or glibc based systems where static versions
 are not available or mismatches the lex(1) too much.

Summary of changes:
 Makefile.inc1| 1 +
 usr.bin/gzip/Makefile| 4 
 usr.bin/m4/Makefile  | 5 -
 usr.sbin/config/Makefile | 4 
 4 files changed, 13 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c93c76c672396cc082e671855094827d19fc298f


-- 
DragonFly BSD source repository


git: find(1): Check for FTS_CONST just like mtree(8).

2020-02-12 Thread Rimvydas Jasinskas


commit 8199f517f60f203a5917353499a4d6b041f0448b
Author: zrj 
Date:   Sun Feb 2 12:53:58 2020 +0200

find(1): Check for FTS_CONST just like mtree(8).

 For compatibility with OpenBSD.

Summary of changes:
 usr.bin/find/find.c | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8199f517f60f203a5917353499a4d6b041f0448b


-- 
DragonFly BSD source repository


git: cp(1): Check for FTS_CONST just like mtree(8).

2020-02-12 Thread Rimvydas Jasinskas


commit 87aa0f4403252e01e359f62e011d62f902cb2a9e
Author: zrj 
Date:   Sun Feb 2 12:36:09 2020 +0200

cp(1): Check for FTS_CONST just like mtree(8).

 For compatibility with OpenBSD.

Summary of changes:
 bin/cp/cp.c | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/87aa0f4403252e01e359f62e011d62f902cb2a9e


-- 
DragonFly BSD source repository


git: mv(1): Check for _ST_FLAGS_PRESENT_ availability.

2020-02-12 Thread Rimvydas Jasinskas


commit 44aab67ccbecda704ea1e161a99d1dd9ad6081ce
Author: zrj 
Date:   Sun Feb 2 12:29:06 2020 +0200

mv(1): Check for _ST_FLAGS_PRESENT_ availability.

 While there, check for MNAMELEN availability that indicates presence of
 f_mntonname field in struct statfs.

Summary of changes:
 bin/mv/mv.c | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/44aab67ccbecda704ea1e161a99d1dd9ad6081ce


-- 
DragonFly BSD source repository


git: cp(1): Install signal handler only if SIGINFO is available.

2020-02-12 Thread Rimvydas Jasinskas


commit 4a876ae1bf37e1a5d7ab24244e65e175c65de673
Author: zrj 
Date:   Sun Feb 2 12:32:59 2020 +0200

cp(1): Install signal handler only if SIGINFO is available.

Summary of changes:
 bin/cp/cp.c | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a876ae1bf37e1a5d7ab24244e65e175c65de673


-- 
DragonFly BSD source repository


git: rm(1): Check for _ST_FLAGS_PRESENT_ availability.

2020-02-12 Thread Rimvydas Jasinskas


commit 299713b3f3dc89d065ce31c869e7a9db948ebfc6
Author: zrj 
Date:   Sun Feb 2 12:26:14 2020 +0200

rm(1): Check for _ST_FLAGS_PRESENT_ availability.

 This allows utility to be used on glibc based systems.

Summary of changes:
 bin/rm/rm.c | 21 +
 1 file changed, 17 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/299713b3f3dc89d065ce31c869e7a9db948ebfc6


-- 
DragonFly BSD source repository


git: cp(1): Check for _ST_FLAGS_PRESENT_ availability.

2020-02-12 Thread Rimvydas Jasinskas


commit 5e99fa1f678d691580d849b1c34793ca811c69cd
Author: zrj 
Date:   Sun Feb 2 12:33:39 2020 +0200

cp(1): Check for _ST_FLAGS_PRESENT_ availability.

Summary of changes:
 bin/cp/utils.c | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5e99fa1f678d691580d849b1c34793ca811c69cd


-- 
DragonFly BSD source repository


git: rm(1): Install signal handler only if SIGINFO is available.

2020-02-12 Thread Rimvydas Jasinskas


commit 7142bb146fc743bca1aab9b63861acc297170c40
Author: zrj 
Date:   Sun Feb 2 12:22:14 2020 +0200

rm(1): Install signal handler only if SIGINFO is available.

Summary of changes:
 bin/rm/rm.c | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7142bb146fc743bca1aab9b63861acc297170c40


-- 
DragonFly BSD source repository


git: rm(1): Check for whiteout support.

2020-02-12 Thread Rimvydas Jasinskas


commit f7a0dabc065b6194d8c8e29d24499e88317f73d9
Author: zrj 
Date:   Sun Feb 2 12:24:31 2020 +0200

rm(1): Check for whiteout support.

 The S_IFWHT is not available on all OSes.

Summary of changes:
 bin/rm/rm.c | 15 ---
 1 file changed, 12 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f7a0dabc065b6194d8c8e29d24499e88317f73d9


-- 
DragonFly BSD source repository


git: mv(1): Install signal handler only if SIGINFO is available.

2020-02-12 Thread Rimvydas Jasinskas


commit 2175b16dad2acc0d88c1f3246bb3a1a2a96d206f
Author: zrj 
Date:   Sun Feb 2 12:28:47 2020 +0200

mv(1): Install signal handler only if SIGINFO is available.

Summary of changes:
 bin/mv/mv.c | 6 ++
 1 file changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2175b16dad2acc0d88c1f3246bb3a1a2a96d206f


-- 
DragonFly BSD source repository


git: m4(1): Add const attribute to __progname.

2020-02-12 Thread Rimvydas Jasinskas


commit a9898349dc208c696b3f9a9fd5a03e0c08e6f3b2
Author: zrj 
Date:   Sun Feb 2 12:11:05 2020 +0200

m4(1): Add const attribute to __progname.

Summary of changes:
 usr.bin/m4/misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9898349dc208c696b3f9a9fd5a03e0c08e6f3b2


-- 
DragonFly BSD source repository


git: gzip(1): Check for _ST_FLAGS_PRESENT_ availability.

2020-02-12 Thread Rimvydas Jasinskas


commit ccdd8f4e992a8d7b73aa450cb5c625f93aa485e7
Author: zrj 
Date:   Sun Feb 2 12:12:38 2020 +0200

gzip(1): Check for _ST_FLAGS_PRESENT_ availability.

Summary of changes:
 usr.bin/gzip/gzip.c | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ccdd8f4e992a8d7b73aa450cb5c625f93aa485e7


-- 
DragonFly BSD source repository


git: stat(1): Disable -H support in btools.

2020-02-12 Thread Rimvydas Jasinskas


commit e9445c5db101778182984b7687e323b8a5d8ad21
Author: zrj 
Date:   Sun Feb 2 12:07:45 2020 +0200

stat(1): Disable -H support in btools.

 While there, limit features in btools too (used only in sys/boot/).

Summary of changes:
 usr.bin/stat/Makefile |  6 --
 usr.bin/stat/stat.c   | 48 
 2 files changed, 36 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e9445c5db101778182984b7687e323b8a5d8ad21


-- 
DragonFly BSD source repository


git: install(1): Check for _ST_FLAGS_PRESENT_ availability.

2020-02-12 Thread Rimvydas Jasinskas


commit cdb2054700430f60213fa3e5c349f05992d2f65b
Author: zrj 
Date:   Sun Feb 2 11:52:15 2020 +0200

install(1): Check for _ST_FLAGS_PRESENT_ availability.

 Our  provides the definition.  Unbreaks build on Linux.

Summary of changes:
 usr.bin/xinstall/xinstall.c | 20 
 1 file changed, 20 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cdb2054700430f60213fa3e5c349f05992d2f65b


-- 
DragonFly BSD source repository


git: install(1): Use at least 6 characters for template.

2020-02-12 Thread Rimvydas Jasinskas


commit 0003dfd906fe8cee285fa1380e819ce3d8dbb55a
Author: zrj 
Date:   Sun Feb 2 11:50:09 2020 +0200

install(1): Use at least 6 characters for template.

 Glibc mkstemp(3) requires at least 6 characters in template.

Summary of changes:
 usr.bin/xinstall/xinstall.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0003dfd906fe8cee285fa1380e819ce3d8dbb55a


-- 
DragonFly BSD source repository


git: mtree(8): Disable -N option in btools.

2020-02-12 Thread Rimvydas Jasinskas


commit 4942b0125f83d8ab6d88e28fc063efb8978bbfd3
Author: zrj 
Date:   Sun Feb 2 11:34:00 2020 +0200

mtree(8): Disable -N option in btools.

 Our installworld has installcheck and preupgrade and we do not make use
 of mtree -N option.  This removes hard dependency on pwcache(3).

Summary of changes:
 usr.sbin/mtree/Makefile | 12 +++-
 usr.sbin/mtree/mtree.c  |  4 
 2 files changed, 11 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4942b0125f83d8ab6d88e28fc063efb8978bbfd3


-- 
DragonFly BSD source repository


git: mtree(8): Add missing checks for HAVE_STRUCT_STAT_ST_FLAGS.

2020-02-12 Thread Rimvydas Jasinskas


commit ab48971bad85427d85e59c00727d366bdc3eac3a
Author: zrj 
Date:   Sun Feb 2 11:38:54 2020 +0200

mtree(8): Add missing checks for HAVE_STRUCT_STAT_ST_FLAGS.

 This make mtree(8) usable when building on Linux host.

 While there, adjust few included headers too.

Summary of changes:
 usr.sbin/mtree/compare.c| 6 +-
 usr.sbin/mtree/create.c | 2 ++
 usr.sbin/mtree/extern.h | 6 --
 usr.sbin/mtree/only.c   | 1 +
 usr.sbin/mtree/pack_dev.c   | 2 +-
 usr.sbin/mtree/stat_flags.c | 4 
 usr.sbin/mtree/verify.c | 2 ++
 7 files changed, 19 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ab48971bad85427d85e59c00727d366bdc3eac3a


-- 
DragonFly BSD source repository


git: install(1): Disable -N option in btools.

2020-02-12 Thread Rimvydas Jasinskas


commit bf226617061340a3979d19957444da0997124229
Author: zrj 
Date:   Sun Feb 2 11:44:01 2020 +0200

install(1): Disable -N option in btools.

 Our installworld has installcheck and preupgrade and we do not make use
 of mtree -N option.  This removes hard dependency on pwcache(3).

Summary of changes:
 usr.bin/xinstall/Makefile   | 15 +--
 usr.bin/xinstall/xinstall.c |  6 ++
 2 files changed, 11 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bf226617061340a3979d19957444da0997124229


-- 
DragonFly BSD source repository


git: hostprog: Remove NO_WERROR from btools tic.

2020-02-02 Thread Rimvydas Jasinskas


commit 440aab37b6860ae9496ecc8736f342b814e8508f
Author: zrj 
Date:   Sun Feb 2 11:11:25 2020 +0200

hostprog: Remove NO_WERROR from btools tic.

Pointed-out-by: swildner

Summary of changes:
 lib/libncurses/libtic/Makefile   | 1 -
 lib/libncurses/tic_next/Makefile | 1 -
 2 files changed, 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/440aab37b6860ae9496ecc8736f342b814e8508f


-- 
DragonFly BSD source repository


git: : Add comment for special handling case.

2020-02-02 Thread Rimvydas Jasinskas


commit 159c86f11249b312f4fa9cd1e0fc509e64a89c4b
Author: zrj 
Date:   Sun Feb 2 11:10:47 2020 +0200

: Add comment for special handling case.

Summary of changes:
 include/alloca.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/159c86f11249b312f4fa9cd1e0fc509e64a89c4b


-- 
DragonFly BSD source repository


git: gcc80: Hide NO_WERROR in tools better.

2020-02-02 Thread Rimvydas Jasinskas


commit 7b751cbd4b5b67d8a349170e667099b13c0ff192
Author: zrj 
Date:   Sun Feb 2 11:12:34 2020 +0200

gcc80: Hide NO_WERROR in tools better.

Summary of changes:
 gnu/usr.bin/cc80/cc_tools/Makefile.inc   | 1 +
 gnu/usr.bin/cc80/cc_tools/tools/Makefile | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b751cbd4b5b67d8a349170e667099b13c0ff192


-- 
DragonFly BSD source repository


git: make(1): Add OpenBSD support.

2020-02-01 Thread Rimvydas Jasinskas


commit 5b0cc99c5bfd2b80fafa434143b18d47f76f6b29
Author: zrj 
Date:   Sat Feb 1 14:48:03 2020 +0200

make(1): Add OpenBSD support.

 OpenBSD does not have 'A' support in malloc_options.  Use supported 'S'
 to prevent a lot of warnings during every bmake invoke.

Summary of changes:
 contrib/bmake/job.c | 4 
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b0cc99c5bfd2b80fafa434143b18d47f76f6b29


-- 
DragonFly BSD source repository


git: world: Explicitly disable WERROR for hostprog and hostlib.

2020-02-01 Thread Rimvydas Jasinskas


commit 97b169cfdc80a1a8f81c9aeb21a18fb3121049ff
Author: zrj 
Date:   Sat Feb 1 14:36:25 2020 +0200

world: Explicitly disable WERROR for hostprog and hostlib.

 Explicit tracking of currently toolchain is too fragile for c++.
 Add CROSS_CFLAGS helper in NXFLAGS for bootstrapping on OpenBSD.

Summary of changes:
 share/mk/bsd.hostlib.mk  | 1 +
 share/mk/bsd.hostprog.mk | 1 +
 share/mk/sys.mk  | 4 ++--
 3 files changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/97b169cfdc80a1a8f81c9aeb21a18fb3121049ff


-- 
DragonFly BSD source repository


git: gcc80: Make bootstrapping more permissive.

2020-02-01 Thread Rimvydas Jasinskas


commit 225cb38fefe493d6b322d9e7699d9987ec2c56e5
Author: zrj 
Date:   Sat Feb 1 14:32:40 2020 +0200

gcc80: Make bootstrapping more permissive.

 To allow boostrapping on OpenBSD/Linux hosts:
 * provide CROSS_LIBDL knob when needed;
 * disable use of iconv in support libs;
 * disable werror in hostlibs.

Summary of changes:
 gnu/usr.bin/cc80/Makefile.inc | 2 +-
 gnu/usr.bin/cc80/cc_tools/libcpp/Makefile | 2 ++
 gnu/usr.bin/cc80/cc_tools/tools/Makefile  | 2 ++
 gnu/usr.bin/cc80/support-libs/libcpp/Makefile | 4 
 gnu/usr.bin/cc80/support-libs/libcpp/config.h | 2 ++
 5 files changed, 11 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/225cb38fefe493d6b322d9e7699d9987ec2c56e5


-- 
DragonFly BSD source repository


git: binutils227: Explicitly include and add CROSS_LIBDL.

2020-02-01 Thread Rimvydas Jasinskas


commit a647a1178f2bf9c34b6c39067fc37651b2a5e257
Author: zrj 
Date:   Sat Feb 1 14:22:46 2020 +0200

binutils227: Explicitly include  and add CROSS_LIBDL.

 On glibc based systems dlopen() functionality is not in libc.

Summary of changes:
 gnu/usr.bin/binutils227/block1/libbfd/Makefile | 2 +-
 gnu/usr.bin/binutils227/block2/Makefile.block2 | 4 ++--
 gnu/usr.bin/binutils227/block2/gprof/Makefile  | 2 +-
 gnu/usr.bin/binutils227/block3/Makefile.gld| 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a647a1178f2bf9c34b6c39067fc37651b2a5e257


-- 
DragonFly BSD source repository


git: tic(1): Explicitly disable WERROR in hostprog tic.

2020-02-01 Thread Rimvydas Jasinskas


commit 046153f8e6838ae627cbf5e4a84341683944c92b
Author: zrj 
Date:   Sat Feb 1 14:43:08 2020 +0200

tic(1): Explicitly disable WERROR in hostprog tic.

 This special version is used during buildworld.
 Helps with bootstrapping on OpenBSD.

Summary of changes:
 lib/libncurses/libtic/Makefile   | 1 +
 lib/libncurses/tic_next/Makefile | 1 +
 2 files changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/046153f8e6838ae627cbf5e4a84341683944c92b


-- 
DragonFly BSD source repository


git: gdb(1): Explicitly include .

2020-02-01 Thread Rimvydas Jasinskas


commit 386330185812efaa34d42c2d6da187a203ed23b7
Author: zrj 
Date:   Sat Feb 1 14:21:18 2020 +0200

gdb(1): Explicitly include .

Summary of changes:
 gnu/usr.bin/gdb/libgdb/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/386330185812efaa34d42c2d6da187a203ed23b7


-- 
DragonFly BSD source repository


git: wc(1): Install signal handler only if SIGINFO is available.

2020-02-01 Thread Rimvydas Jasinskas


commit 8dc3e7507a274093cb3ac9f93a7008eeff67c3d0
Author: zrj 
Date:   Sat Feb 1 13:25:19 2020 +0200

wc(1): Install signal handler only if SIGINFO is available.

 Allows to bootstrap on glibc based systems.

Summary of changes:
 usr.bin/wc/wc.c | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8dc3e7507a274093cb3ac9f93a7008eeff67c3d0


-- 
DragonFly BSD source repository


git: xargs(1): Disable prompt support (-p) in btools.

2020-02-01 Thread Rimvydas Jasinskas


commit a2aaf8b62f5ea9cb4b2f0725826d127562cdd9a3
Author: zrj 
Date:   Sat Feb 1 13:49:48 2020 +0200

xargs(1): Disable prompt support (-p) in btools.

 Not needed and helps with bootstrapping on different OS.

Summary of changes:
 usr.bin/xargs/Makefile|  4 
 usr.bin/xargs/strnsubst.c |  1 +
 usr.bin/xargs/xargs.c | 12 
 3 files changed, 17 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a2aaf8b62f5ea9cb4b2f0725826d127562cdd9a3


-- 
DragonFly BSD source repository


git: xargs(1): Add limit for args_max.

2020-02-01 Thread Rimvydas Jasinskas


commit 4d3bd1ee8b8251d0a296c4c8f2a07201d92459d1
Author: zrj 
Date:   Sat Feb 1 13:48:37 2020 +0200

xargs(1): Add limit for args_max.

 Current logic does not handle cases where args_max > int32_t limit.

Summary of changes:
 usr.bin/xargs/xargs.c | 4 
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4d3bd1ee8b8251d0a296c4c8f2a07201d92459d1


-- 
DragonFly BSD source repository


git: time(1): Install signal handle only if SIGINFO is available.

2020-02-01 Thread Rimvydas Jasinskas


commit f9eb31a36e063f76dd66945dbd1a5a055e70442b
Author: zrj 
Date:   Sat Feb 1 13:30:14 2020 +0200

time(1): Install signal handle only if SIGINFO is available.

 While there, adjust needed headers and remove few trailing whitespaces.

Summary of changes:
 usr.bin/time/time.c | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f9eb31a36e063f76dd66945dbd1a5a055e70442b


-- 
DragonFly BSD source repository


git: dd(1): Allow to bootstrap on OpenBSD and glibc based systems.

2020-02-01 Thread Rimvydas Jasinskas


commit cb2f0d05091f5dcfb3f85c1ff2d3bf3a5e6b26cf
Author: zrj 
Date:   Sat Feb 1 13:41:24 2020 +0200

dd(1): Allow to bootstrap on OpenBSD and glibc based systems.

 Disable tape detection support (reduces host requirements).
 Redirect siginfo to SIGUSR1 to match dd behavior on glibc systems.

Summary of changes:
 bin/dd/Makefile |  4 
 bin/dd/dd.c | 14 +-
 bin/dd/dd.h |  2 ++
 3 files changed, 19 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cb2f0d05091f5dcfb3f85c1ff2d3bf3a5e6b26cf


-- 
DragonFly BSD source repository


git: env(1): Match glibc getopt() semantics.

2020-02-01 Thread Rimvydas Jasinskas


commit e907f29dd1bd2180ce77d44bf3378ddbd20089d0
Author: zrj 
Date:   Sat Feb 1 13:52:57 2020 +0200

env(1): Match glibc getopt() semantics.

 Move '-' to the end of opstring since position within opstring is not
 meaningful.

Taken-from: OpenBSD

Summary of changes:
 usr.bin/env/env.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e907f29dd1bd2180ce77d44bf3378ddbd20089d0


-- 
DragonFly BSD source repository


git: tr(1): Fix compilation on Linux hosts.

2020-02-01 Thread Rimvydas Jasinskas


commit 8e11cefedddbbf83762b81df6609bc046c666763
Author: zrj 
Date:   Sat Feb 1 13:46:01 2020 +0200

tr(1): Fix compilation on Linux hosts.

Summary of changes:
 usr.bin/tr/str.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8e11cefedddbbf83762b81df6609bc046c666763


-- 
DragonFly BSD source repository


git: time(1): Disable -l support in btools.

2020-02-01 Thread Rimvydas Jasinskas


commit ed8ab900ade627faf8c5b5011959f303fe56b45a
Author: zrj 
Date:   Sat Feb 1 13:36:03 2020 +0200

time(1): Disable -l support in btools.

 This removes kinfo(3) requirement to bootstrap time(1) on OpenBSD.

Summary of changes:
 usr.bin/time/Makefile | 6 +-
 usr.bin/time/time.c   | 6 ++
 2 files changed, 11 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ed8ab900ade627faf8c5b5011959f303fe56b45a


-- 
DragonFly BSD source repository


git: sh(1): Check for _DIRENT_HAVE_D_NAMLEN availability.

2020-02-01 Thread Rimvydas Jasinskas


commit 81de66bf6e00f6cd216a0e67951077c485ee2550
Author: zrj 
Date:   Sat Feb 1 13:16:43 2020 +0200

sh(1): Check for _DIRENT_HAVE_D_NAMLEN availability.

 To allow bootstrapping on OpenBSD.

Summary of changes:
 bin/sh/expand.c | 4 
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/81de66bf6e00f6cd216a0e67951077c485ee2550


-- 
DragonFly BSD source repository


git: libc/citrus: Include explicitly.

2020-02-01 Thread Rimvydas Jasinskas


commit 5a579fc1a0b0e05e27d5d7b09e8b95de08e9a197
Author: zrj 
Date:   Sat Feb 1 13:13:45 2020 +0200

libc/citrus: Include  explicitly.

Summary of changes:
 lib/libc/citrus/citrus_bcs.h | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a579fc1a0b0e05e27d5d7b09e8b95de08e9a197


-- 
DragonFly BSD source repository


git: patch(1): Check for _DIRENT_HAVE_D_NAMLEN availability.

2020-02-01 Thread Rimvydas Jasinskas


commit 7491e5ac85fbf1e3b9867ca39213d74c8f640ded
Author: zrj 
Date:   Sat Feb 1 13:17:51 2020 +0200

patch(1): Check for _DIRENT_HAVE_D_NAMLEN availability.

Summary of changes:
 usr.bin/patch/backupfile.c | 4 
 1 file changed, 4 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7491e5ac85fbf1e3b9867ca39213d74c8f640ded


-- 
DragonFly BSD source repository


git: lorder(1): Use POSIX defined flags for sort(1).

2020-02-01 Thread Rimvydas Jasinskas


commit d7eb8604d680b4a377f231114075d3de3e9e2b62
Author: zrj 
Date:   Sat Feb 1 13:07:44 2020 +0200

lorder(1): Use POSIX defined flags for sort(1).

 While there, add -s to ensure stable sort (commonly available).

 No functional change.

Summary of changes:
 usr.bin/lorder/lorder.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d7eb8604d680b4a377f231114075d3de3e9e2b62


-- 
DragonFly BSD source repository


  1   2   3   4   5   6   7   8   9   10   >