diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-04-08 16:11:16 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-04-10 15:02:07 +0200 |
commit | 32703b80f66f7ca504eb79bee7e745f22cf096a8 (patch) | |
tree | 1954456b1d2e6a84ccc6a9846f2211f4fb60d596 /libphobos/src | |
parent | 385ee099eeae53bff5dd5adf673ad4f4b8d22981 (diff) | |
download | gcc-32703b80f66f7ca504eb79bee7e745f22cf096a8.zip gcc-32703b80f66f7ca504eb79bee7e745f22cf096a8.tar.gz gcc-32703b80f66f7ca504eb79bee7e745f22cf096a8.tar.bz2 |
libphobos: Add section support code for MACHO and PE/COFF
This replaces the original and untested support for Windows and OSX, and
is the 90% of the work needed to support libphobos on those targets.
The core.thread interface has been updated to accomodate for the same
function might be implemented by any of the platform-dependent modules.
libphobos/ChangeLog:
* libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
* libdruntime/Makefile.in: Regenerate.
* libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
use platform independant section function names.
* libdruntime/gcc/sections/elf_shared.d: Renamed to...
* libdruntime/gcc/sections/elf.d: ...this. Mangle functions for
core.thread interface as if they come from the gcc.sections module.
* libdruntime/gcc/sections/package.d: Update public imports, declare
functions for core.thread interface.
* libdruntime/gcc/sections/android.d: Removed.
* libdruntime/gcc/sections/osx.d: Removed.
* libdruntime/gcc/sections/win32.d: Removed.
* libdruntime/gcc/sections/win64.d: Removed.
* libdruntime/gcc/sections/common.d: New file.
* libdruntime/gcc/sections/macho.d: New file.
* libdruntime/gcc/sections/pecoff.d: New file.
Diffstat (limited to 'libphobos/src')
0 files changed, 0 insertions, 0 deletions