This patch adds GCC builtins and runtime support for GDC compiled code. - module __entrypoint defines the C main function. Its contents are parsed and compiled in during compilation, but only if needed. - module gcc.attribute exposes GDC-specific attributes. - module gcc.backtrace implements backtrace support for GDC. - module gcc.builtins exposes GCC builtins to D code. - module gcc.config exposes things determined at configure time to D code. - module gcc.deh implements D unwind EH. - module gcc.libbacktrace defines C bindings to libbacktrace. - module gcc.unwind defines C bindings to libgcc unwind library. - libgphobos.spec contains a list of libraries to link in that are dependencies of D runtime and/or the Phobos standard library. It is used by the GDC driver.
--- libphobos/libdruntime/__entrypoint.di | 56 + libphobos/libdruntime/__main.di | 26 + libphobos/libdruntime/gcc/attribute.d | 33 + libphobos/libdruntime/gcc/backtrace.d | 603 +++++++++++ libphobos/libdruntime/gcc/builtins.d | 44 + libphobos/libdruntime/gcc/config.d.in | 48 + libphobos/libdruntime/gcc/deh.d | 991 ++++++++++++++++++ libphobos/libdruntime/gcc/libbacktrace.d.in | 73 ++ libphobos/libdruntime/gcc/unwind/arm.d | 71 ++ libphobos/libdruntime/gcc/unwind/arm_common.d | 244 +++++ libphobos/libdruntime/gcc/unwind/c6x.d | 52 + libphobos/libdruntime/gcc/unwind/generic.d | 274 +++++ libphobos/libdruntime/gcc/unwind/package.d | 37 + libphobos/libdruntime/gcc/unwind/pe.d | 238 +++++ libphobos/src/libgphobos.spec.in | 8 + 15 files changed, 2798 insertions(+) ---
12-v4-d-runtime-gcc.patch.xz
Description: application/xz