Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163966393
D22132.id64072.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
710 B
Referenced Files
None
Subscribers
None
D22132.id64072.diff
View Options
Index: head/lib/csu/common/crtend.c
===================================================================
--- head/lib/csu/common/crtend.c
+++ head/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.
@@ -39,9 +44,6 @@
(crt_func)0
};
static crt_func __DTOR_END__[] __section(".dtors") __used = {
- (crt_func)0
-};
-static crt_func __JCR_LIST__[] __section(".jcr") __used = {
(crt_func)0
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 28, 1:24 PM (2 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35598912
Default Alt Text
D22132.id64072.diff (710 B)
Attached To
Mode
D22132: csu: Fix dynamiclib/init_test:jcr_test on !HAVE_CTORS archs
Attached
Detach File
Event Timeline
Log In to Comment