Page MenuHomeFreeBSD

D22132.id63600.diff
No OneTemporary

D22132.id63600.diff

Index: lib/csu/common/crtend.c
===================================================================
--- lib/csu/common/crtend.c
+++ lib/csu/common/crtend.c
@@ -26,9 +26,14 @@
#include "crt.h"
-#ifdef HAVE_CTORS
typedef void (*crt_func)(void);
+static crt_func __JCR_LIST__[] __section(".jcr") __used = {
+ (crt_func)0
+};
+
+#ifdef HAVE_CTORS
+
/*
* On some architectures and toolchains we may need to call the .ctors.
* These are called in the reverse order they are in the ELF file.
@@ -41,9 +46,6 @@
static crt_func __DTOR_END__[] __section(".dtors") __used = {
(crt_func)0
};
-static crt_func __JCR_LIST__[] __section(".jcr") __used = {
- (crt_func)0
-};
static void
__do_global_ctors_aux(void)

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 4:20 PM (50 m, 23 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35371842
Default Alt Text
D22132.id63600.diff (719 B)

Event Timeline