Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/arm - don't just undefine ...



details:   https://anonhg.NetBSD.org/src/rev/bac9e1b0f142
branches:  trunk
changeset: 448701:bac9e1b0f142
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Feb 07 10:45:17 2019 +0000

description:
- don't just undefine INIT_SECTION_ASM_OP and FINI_SECTION_ASM_OP,
  define them to "" so that libgcc doesn't define __CTOR_LIST__.

diffstat:

 external/gpl3/gcc/dist/gcc/config/arm/bpabi.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 9ca2d57c963c -r bac9e1b0f142 external/gpl3/gcc/dist/gcc/config/arm/bpabi.h
--- a/external/gpl3/gcc/dist/gcc/config/arm/bpabi.h     Thu Feb 07 10:44:54 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/bpabi.h     Thu Feb 07 10:45:17 2019 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index