4 |
Subject: [PATCH] Remove `.ctors' and `.dtors' output sections |
Subject: [PATCH] Remove `.ctors' and `.dtors' output sections |
5 |
|
|
6 |
--- |
--- |
|
ChangeLog | 15 ++ |
|
7 |
config.h.in | 3 + |
config.h.in | 3 + |
8 |
configure.in | 2 + |
configure.in | 2 + |
9 |
elf/sofini.c | 2 + |
elf/sofini.c | 2 + |
15 |
sysdeps/unix/sysv/linux/init-first.c | 2 +- |
sysdeps/unix/sysv/linux/init-first.c | 2 +- |
16 |
11 files changed, 209 insertions(+), 159 deletions(-) |
11 files changed, 209 insertions(+), 159 deletions(-) |
17 |
|
|
|
diff --git a/ChangeLog b/ChangeLog |
|
|
index 958c76a..497de67 100644 |
|
|
--- a/ChangeLog |
|
|
+++ b/ChangeLog |
|
|
@@ -1,3 +1,18 @@ |
|
|
+2010-12-15 H.J. Lu <hongjiu.lu@intel.com> |
|
|
+ |
|
|
+ * config.h.in (NO_CTORS_DTORS_SECTIONS): Define. |
|
|
+ * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker |
|
|
+ script has SORT_BY_INIT_PRIORITY. |
|
|
+ * elf/sofini.c: Remove `.ctors' and `.dtors' sections if |
|
|
+ NO_CTORS_DTORS_SECTIONS is defined. |
|
|
+ * elf/soinit.c: Likewise. |
|
|
+ * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if |
|
|
+ NO_CTORS_DTORS_SECTIONS is defined. |
|
|
+ * sysdeps/mach/hurd/i386/init-first.c: Likewise. |
|
|
+ * sysdeps/mach/hurd/powerpc/init-first.c: Likewise. |
|
|
+ * sysdeps/sh/init-first.c: Likewise. |
|
|
+ * sysdeps/unix/sysv/linux/init-first.c: Likewise. |
|
|
+ |
|
|
2010-12-24 Ulrich Drepper <drepper@gmail.com> |
|
|
|
|
|
* stdio-common/vfprintf.c (vfprintf): If printf handlers are installed |
|
18 |
diff --git a/config.h.in b/config.h.in |
diff --git a/config.h.in b/config.h.in |
19 |
index 18bf01a..9e797eb 100644 |
index 18bf01a..9e797eb 100644 |
20 |
--- a/config.h.in |
--- a/config.h.in |