Add netbsd support for D compiler and runtime

Programming / Compilers / GCC - ibuclaw [138bc75d-0d04-0410-961f-82ee72b054a4] - 14 February 2019 21:25 EST

Merges upstream druntime fb4bda91.

2019-02-14 Maya Rashish

gcc/ChangeLog:

- config.gcc (*-*-netbsd*): Add netbsd-d.o
- config/netbsd-d.c: New file.
- config/t-netbsd: Add netbsd-d.o

gcc/d/ChangeLog:

- d-system.h: NetBSD is POSIX.

libphobos/ChangeLog:

- configure.tgt: Add netbsd/x86 as supported target.

668bd806c74 Add netbsd support for D compiler and runtime
gcc/ChangeLog | 6 ++++
gcc/config.gcc | 2 ++
gcc/config/netbsd-d.c | 41 ++++++++++++++++++++++++++
gcc/config/t-netbsd | 4 +++
gcc/d/ChangeLog | 4 +++
gcc/d/d-system.h | 3 +-
libphobos/ChangeLog | 4 +++
libphobos/configure.tgt | 2 ++
libphobos/libdruntime/MERGE | 2 +-
libphobos/libdruntime/core/stdc/assert_.d | 7 +++++
libphobos/libdruntime/core/stdc/stdio.d | 34 ++++------------------
libphobos/libdruntime/core/stdc/wchar_.d | 42 +++++++++++++++++++++++++++
libphobos/libdruntime/core/sys/netbsd/dlfcn.d | 2 +-
13 files changed, 121 insertions(+), 32 deletions(-)

Upstream: gcc.gnu.org


  • Share