From 8b6518285b87fd282573fa5d7d6f7414d58dc96b Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Sat, 13 Apr 2019 15:29:15 +0000 Subject: libphobos: Move rt.sections modules to gcc.sections These modules depend on a mixture between how the compiler emits run-time module information, and what functions are exposed by the platform to inquire about loaded global and thread-local data sections. As the upstream implementation is written to work only with how the reference D compiler writes out data, much of what is present does not apply to the GCC D front-end. So it has been moved to a non-upstream location in the source tree, where most of it will be rewritten once each port has been completed. The only tested module sections/elf_shared.d has been cleaned up so that all deprecated declarations have been removed, as well as the brittle module collision checking, which required bss_sections.c. All other ports have been left unchanged apart from a commonizing of attributes. libphobos/ChangeLog: 2019-04-13 Iain Buclaw * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c. (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*. * libdruntime/Makefile.in: Regenerate. * libdruntime/gcc/sections/android.d: New file. * libdruntime/gcc/sections/elf_shared.d: New file. * libdruntime/gcc/sections/osx.d: New file. * libdruntime/gcc/sections/package.d: New file. * libdruntime/gcc/sections/solaris.d: New file. * libdruntime/gcc/sections/win32.d: New file. * libdruntime/gcc/sections/win64.d: New file. * libdruntime/rt/bss_section.c: Remove. * libdruntime/rt/sections.d: Publicly import gcc.sections. * libdruntime/rt/sections_android.d: Remove. * libdruntime/rt/sections_elf_shared.d: Remove. * libdruntime/rt/sections_osx.d: Remove. * libdruntime/rt/sections_solaris.d: Remove. * libdruntime/rt/sections_win32.d: Remove. * libdruntime/rt/sections_win64.d: Remove. From-SVN: r270341 --- libphobos/ChangeLog | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'libphobos/ChangeLog') diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 3220b1e..3dd4bbd 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,24 @@ +2019-04-13 Iain Buclaw + + * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c. + (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*. + * libdruntime/Makefile.in: Regenerate. + * libdruntime/gcc/sections/android.d: New file. + * libdruntime/gcc/sections/elf_shared.d: New file. + * libdruntime/gcc/sections/osx.d: New file. + * libdruntime/gcc/sections/package.d: New file. + * libdruntime/gcc/sections/solaris.d: New file. + * libdruntime/gcc/sections/win32.d: New file. + * libdruntime/gcc/sections/win64.d: New file. + * libdruntime/rt/bss_section.c: Remove. + * libdruntime/rt/sections.d: Publicly import gcc.sections. + * libdruntime/rt/sections_android.d: Remove. + * libdruntime/rt/sections_elf_shared.d: Remove. + * libdruntime/rt/sections_osx.d: Remove. + * libdruntime/rt/sections_solaris.d: Remove. + * libdruntime/rt/sections_win32.d: Remove. + * libdruntime/rt/sections_win64.d: Remove. + 2019-04-12 Iain Buclaw * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects. -- cgit v1.1