Module Name:    src
Committed By:   mrg
Date:           Fri Jun 10 01:14:00 UTC 2016

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/arm: netbsd-elf.h

Log Message:
for the eabi targetted compiler, if not compiling libgcc for eabi ensure
that libgcc doesn't try to define __[CD]TOR_LIST__[].


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
    src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.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/netbsd-elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h:1.9 src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h:1.10
--- src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h:1.9	Sun Jan 24 09:43:32 2016
+++ src/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h	Fri Jun 10 01:14:00 2016
@@ -178,3 +178,8 @@ while (0)
 #undef FPUTYPE_DEFAULT
 #define FPUTYPE_DEFAULT "vfp"
 
+/* Ensure that libgcc does not attempt to define __[CD]TOR_LIST__[] for APCS,
+   which belongs in crtbegin on NetBSD.  */
+#ifndef __ARM_EABI__
+#define CTOR_LISTS_DEFINED_EXTERNALLY
+#endif

Reply via email to