On Wed, 2019-11-06 at 16:19 +0000, Jozef Lawrynowicz wrote: > From 7bc0971d2936ebe71e7b7d3d805cf1bbf9f9f5af Mon Sep 17 00:00:00 2001 > From: Jozef Lawrynowicz <joze...@mittosystems.com> > Date: Mon, 4 Nov 2019 17:38:13 +0000 > Subject: [PATCH 3/3] libgcc: Implement TARGET_LIBGCC_REMOVE_DSO_HANDLE > > gcc/ChangeLog: > > 2019-11-06 Jozef Lawrynowicz <joze...@mittosystems.com> > > * doc/tm.texi: Regenerate. > * doc/tm.texi.in: Define TARGET_LIBGCC_REMOVE_DSO_HANDLE. > > libgcc/ChangeLog: > > 2019-11-06 Jozef Lawrynowicz <joze...@mittosystems.com> > > * crtstuff.c: Don't declare __dso_handle if > TARGET_LIBGCC_REMOVE_DSO_HANDLE is defined. Presumably you'll switch this on for your bare elf target configuration?
Are there other things, particularly related to shared library support, that we wouldn't need to use as well? The reason I ask is I'm trying to figure out if REMOVE_DSO_HANDLE is the right name or if we should generalize it to a name that indicates shared libraries in general aren't supported on the target. Jeff