Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Unified Diff: libc/arch-nacl/bionic/crtend.c

Issue 156883002: Prep dynamic linker. (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-bionic.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libc/arch-nacl/bionic/crtbegin.c ('k') | libc/arch-nacl/syscalls/kill.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libc/arch-nacl/bionic/crtend.c
diff --git a/libc/arch-nacl/bionic/crtend.c b/libc/arch-nacl/bionic/crtend.c
index 536fa575fea65fadb65c89d920e35297dadf4886..54930678f1a98c78619b3f49848e98a129dbe92e 100644
--- a/libc/arch-nacl/bionic/crtend.c
+++ b/libc/arch-nacl/bionic/crtend.c
@@ -9,8 +9,10 @@
// Include ctors and dtors.
typedef void (*structor_fn)(void);
+#ifndef CRT_SO
__attribute__ ((section (".preinit_array")))
structor_fn __PREINIT_END__[] = { (void (*)(void)) 0};
+#endif
__attribute__ ((section (".init_array")))
structor_fn __INIT_END__[] = { (void (*)(void)) 0};
« no previous file with comments | « libc/arch-nacl/bionic/crtbegin.c ('k') | libc/arch-nacl/syscalls/kill.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698