Module Name: src
Committed By: mrg
Date: Thu Feb 7 10:45:18 UTC 2019
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/arm: bpabi.h
Log Message:
- don't just undefine INIT_SECTION_ASM_OP and FINI_SECTION_ASM_OP,
define them to "" so that libgcc doesn't define __CTOR_LIST__.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/dist/gcc/config/arm/bpabi.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/arm/bpabi.h
diff -u src/external/gpl3/gcc/dist/gcc/config/arm/bpabi.h:1.8 src/external/gpl3/gcc/dist/gcc/config/arm/bpabi.h:1.9
--- src/external/gpl3/gcc/dist/gcc/config/arm/bpabi.h:1.8 Sat Jan 19 12:10:05 2019
+++ src/external/gpl3/gcc/dist/gcc/config/arm/bpabi.h Thu Feb 7 10:45:17 2019
@@ -185,7 +185,9 @@
/* The BPABI specifies the use of .{init,fini}_array. Therefore, we
do not want GCC to put anything into the .{init,fini} sections. */
#undef INIT_SECTION_ASM_OP
+#define INIT_SECTION_ASM_OP ""
#undef FINI_SECTION_ASM_OP
+#define FINI_SECTION_ASM_OP ""
#define INIT_ARRAY_SECTION_ASM_OP ARM_EABI_CTORS_SECTION_OP
#define FINI_ARRAY_SECTION_ASM_OP ARM_EABI_DTORS_SECTION_OP