gcc/libphobos/libdruntime
Iain Buclaw d46a29d919 libphobos: Define main function as extern(C) when compiling without D runtime (PR102476)
The default supplied main function as read when compiling with `-fmain'
has extern(D) linkage.  However this does not work when mixing this
option together with `-fno-druntime'.

	PR d/102476

gcc/testsuite/ChangeLog:

	* gdc.dg/pr102476.d: New test.

libphobos/ChangeLog:

	* libdruntime/__main.di: Define main function as extern(C) when
	compiling without D runtime.
2021-09-30 15:07:19 +02:00
..
config libphobos: Add Thread/Fiber support code for Darwin (PR98058) 2021-04-19 19:27:27 +02:00
core libphobos: Fix static asserts on NetBSD, FreeBSD, DragonFlyBSD 2021-05-13 19:24:31 +02:00
gc d: Merge upstream dmd 3b808e838, druntime 483bc129, phobos f89dc217a 2021-04-04 01:26:20 +02:00
gcc libphobos: Fix SIGBUS in read_encoded_value_with_base on sparc-sun-solaris (PR98584) 2021-04-20 02:28:12 +02:00
rt libphobos: Add D runtime support code for MinGW (PR99794) 2021-04-19 19:27:13 +02:00
__entrypoint.di
__main.di libphobos: Define main function as extern(C) when compiling without D runtime (PR102476) 2021-09-30 15:07:19 +02:00
LICENSE
Makefile.am libphobos: Add Thread/Fiber support code for Darwin (PR98058) 2021-04-19 19:27:27 +02:00
Makefile.in libphobos: Add Thread/Fiber support code for Darwin (PR98058) 2021-04-19 19:27:27 +02:00
MERGE libphobos: Fix static asserts on NetBSD, FreeBSD, DragonFlyBSD 2021-05-13 19:24:31 +02:00
object.d d: Merge upstream dmd 5cc71ff83, druntime 1134b710 2021-04-06 19:43:30 +02:00