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 Add a unwind-netbsd.h ...
details: https://anonhg.NetBSD.org/src/rev/27f547a8aa78
branches: trunk
changeset: 784529:27f547a8aa78
user: matt <matt%NetBSD.org@localhost>
date: Thu Jan 31 07:11:08 2013 +0000
description:
Add a unwind-netbsd.h which will include the proper unwind.h file depending
on __ARM_EABI__. This allow gcc to build libgcc for both ABIs properly since
they both different unwind.h.
diffstat:
external/gpl3/gcc/dist/gcc/config/arm/t-netbsd | 3 +
external/gpl3/gcc/dist/gcc/config/arm/t-netbsd-eabi | 3 +
external/gpl3/gcc/dist/gcc/config/arm/unwind-netbsd.h | 34 +++++++++++++++++++
3 files changed, 40 insertions(+), 0 deletions(-)
diffs (61 lines):
diff -r 076c83cb84bd -r 27f547a8aa78 external/gpl3/gcc/dist/gcc/config/arm/t-netbsd
--- a/external/gpl3/gcc/dist/gcc/config/arm/t-netbsd Thu Jan 31 06:53:21 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/t-netbsd Thu Jan 31 07:11:08 2013 +0000
@@ -23,6 +23,9 @@
LIBGCC2_DEBUG_CFLAGS = -g0
LIB2FUNCS_EXTRA = $(srcdir)/config/floatunsidf.c $(srcdir)/config/floatunsisf.c
+# to make compat easier.
+UNWIND_H = $(srcdir)/config/arm/unwind-netbsd.h
+
# This list is from t-arm-elf, but with some things removed.
LIB1ASMFUNCS += _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func \
_call_via_rX _interwork_call_via_rX \
diff -r 076c83cb84bd -r 27f547a8aa78 external/gpl3/gcc/dist/gcc/config/arm/t-netbsd-eabi
--- a/external/gpl3/gcc/dist/gcc/config/arm/t-netbsd-eabi Thu Jan 31 06:53:21 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/t-netbsd-eabi Thu Jan 31 07:11:08 2013 +0000
@@ -33,3 +33,6 @@
# we don't have this
LIB2FUNCS_STATIC_EXTRA =
+
+# to make compat easier.
+UNWIND_H = $(srcdir)/config/arm/unwind-netbsd.h
diff -r 076c83cb84bd -r 27f547a8aa78 external/gpl3/gcc/dist/gcc/config/arm/unwind-netbsd.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/unwind-netbsd.h Thu Jan 31 07:11:08 2013 +0000
@@ -0,0 +1,34 @@
+/* Header file for the NetBSD ARM unwinder
+ Copyright (C) 2013
+ Free Software Foundation, Inc.
+ Contributed by Matt Thomas
+
+ This file is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation; either version 3, or (at your option) any
+ later version.
+
+ This file is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ Under Section 7 of GPL version 3, you are granted additional
+ permissions described in the GCC Runtime Library Exception, version
+ 3.1, as published by the Free Software Foundation.
+
+ You should have received a copy of the GNU General Public License and
+ a copy of the GCC Runtime Library Exception along with this program;
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+#ifndef UNWIND_NETBSD_H
+#define UNWIND_NETBSD_H
+
+#ifdef __ARM_EABI__
+#include "unwind-arm.h"
+#else
+#include "unwind-generic.h"
+#endif /* defined __ARM_EABI__ */
+
+#endif /* defined UNWIND_NETBSD_H */
Home |
Main Index |
Thread Index |
Old Index