From 409ad634513bf5778c77cb93e48af35c1e19bfab Mon Sep 17 00:00:00 2001 From: nickc Date: Fri, 4 Jan 2013 10:21:55 +0000 Subject: [PATCH] * config/v850/lib1funcs.S: Only provide CALLT support functions if the CALLT instruction is supported. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194898 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgcc/ChangeLog | 5 +++++ libgcc/config/v850/lib1funcs.S | 37 +++++++++++++++++++------------------ 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index fb9a454ea7a..fd62a7e0cff 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2013-01-04 Nick Clifton + + * config/v850/lib1funcs.S: Only provide CALLT support functions if + the CALLT instruction is supported. + 2012-12-20 Jonathan Wakely * gthr.h (__gthread_cond_timedwait_recursive): Do not require. diff --git a/libgcc/config/v850/lib1funcs.S b/libgcc/config/v850/lib1funcs.S index 04e9b1e0ad4..45ef1de7dd8 100644 --- a/libgcc/config/v850/lib1funcs.S +++ b/libgcc/config/v850/lib1funcs.S @@ -1,27 +1,27 @@ /* libgcc routines for NEC V850. - Copyright (C) 1996, 1997, 2002, 2005, 2009, 2010 + Copyright (C) 1996, 1997, 2002, 2005, 2009, 2010, 2013 Free Software Foundation, Inc. -This file is part of GCC. + This file is part of GCC. -GCC 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. + GCC 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. + 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. + 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 -. */ + 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 + . */ #ifdef L_mulsi3 .text @@ -1764,6 +1764,7 @@ __restore_all_interrupt: .size __restore_all_interrupt,.-__restore_all_interrupt #endif /* L_save_all_interrupt */ +#if defined __V850_CALLT__ #if defined(__v850e__) || defined(__v850e1__) || defined(__v850e2__) || defined(__v850e2v3__) #ifdef L_callt_save_r2_r29 /* Put these functions into the call table area. */ @@ -2146,6 +2147,7 @@ __callt_return_r31c: .short ctoff(.L_callt_return_r31c) #endif #endif /* __v850e__ */ +#endif /* __V850_CALLT__ */ /* libgcc2 routines for NEC V850. */ /* Double Integer Arithmetical Operation. */ @@ -2327,4 +2329,3 @@ ___muldi3: #endif /* defined(__v850e__) */ .size ___muldi3, . - ___muldi3 #endif - -- 2.11.4.GIT