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 for the eabi targetted...



details:   https://anonhg.NetBSD.org/src/rev/6c79a219c9c4
branches:  trunk
changeset: 345824:6c79a219c9c4
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jun 10 01:14:00 2016 +0000

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

diffstat:

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

diffs (12 lines):

diff -r 1d01157d8924 -r 6c79a219c9c4 external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h        Fri Jun 10 01:13:05 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/netbsd-elf.h        Fri Jun 10 01:14:00 2016 +0000
@@ -178,3 +178,8 @@
 #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



Home | Main Index | Thread Index | Old Index