libgcc: Dont define __do_global_dtors_aux if it will be empty
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Mon, 9 Dec 2019 11:41:07 +0000 (11:41 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Mon, 9 Dec 2019 11:41:07 +0000 (11:41 +0000)
commitad8b778345e01ff8ce252bf572965684a0826082
treece0ac0279a49cb13a2204d9edb35d5e2b404d320
parent41f36f22f38285fef3b2166a00d4ec446fb96125
libgcc: Dont define __do_global_dtors_aux if it will be empty

2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
if it will have contents.

From-SVN: r279123
libgcc/ChangeLog
libgcc/crtstuff.c