From a039d7c2f17cf98af6f9fa796c550b7fdbefda58 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 8 Jul 2011 11:18:38 +0000 Subject: [PATCH] fixed-bit.c, [...]: Move to ../libgcc. gcc: * config/fixed-bit.c, config/fixed-bit.h: Move to ../libgcc. libgcc: * fixed-bit.c, fixed-bit.h: New files. * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to refer to fixed-bit.c. From-SVN: r176036 --- gcc/ChangeLog | 4 ++++ libgcc/ChangeLog | 6 ++++++ {gcc/config => libgcc}/fixed-bit.c | 2 +- {gcc/config => libgcc}/fixed-bit.h | 0 libgcc/fixed-obj.mk | 8 ++++---- 5 files changed, 15 insertions(+), 5 deletions(-) rename {gcc/config => libgcc}/fixed-bit.c (99%) rename {gcc/config => libgcc}/fixed-bit.h (100%) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bd92cb7d94..9f0a0e2cab8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-07-08 Rainer Orth + + * config/fixed-bit.c, config/fixed-bit.h: Move to ../libgcc. + 2011-07-08 Martin Jambor * tree-sra.c (analyze_all_variable_accesses): Dump that a struture diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 06b0c81c0e6..091e674b188 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2011-07-08 Rainer Orth + + * fixed-bit.c, fixed-bit.h: New files. + * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to + refer to fixed-bit.c. + 2011-07-07 Joseph Myers * config.host (*local*): Remove. diff --git a/gcc/config/fixed-bit.c b/libgcc/fixed-bit.c similarity index 99% rename from gcc/config/fixed-bit.c rename to libgcc/fixed-bit.c index 40ac2e29f8c..d434d131eec 100644 --- a/gcc/config/fixed-bit.c +++ b/libgcc/fixed-bit.c @@ -51,7 +51,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define MIN_UNITS_PER_WORD UNITS_PER_WORD #endif -#include "config/fixed-bit.h" +#include "fixed-bit.h" #if defined(FIXED_ADD) && defined(L_add) FIXED_C_TYPE diff --git a/gcc/config/fixed-bit.h b/libgcc/fixed-bit.h similarity index 100% rename from gcc/config/fixed-bit.h rename to libgcc/fixed-bit.h diff --git a/libgcc/fixed-obj.mk b/libgcc/fixed-obj.mk index 3c7c2f3173e..ac699d2f9e3 100644 --- a/libgcc/fixed-obj.mk +++ b/libgcc/fixed-obj.mk @@ -22,10 +22,10 @@ endif #$(info $o$(objext): -DL$($o-label) $($o-opt)) -$o$(objext): %$(objext): $(gcc_srcdir)/config/fixed-bit.c - $(gcc_compile) -DL$($*-label) $($*-opt) -c $(gcc_srcdir)/config/fixed-bit.c $(vis_hide) +$o$(objext): %$(objext): $(srcdir)/fixed-bit.c + $(gcc_compile) -DL$($*-label) $($*-opt) -c $(srcdir)/fixed-bit.c $(vis_hide) ifeq ($(enable_shared),yes) -$(o)_s$(objext): %_s$(objext): $(gcc_srcdir)/config/fixed-bit.c - $(gcc_s_compile) -DL$($*-label) $($*-opt) -c $(gcc_srcdir)/config/fixed-bit.c +$(o)_s$(objext): %_s$(objext): $(srcdir)/fixed-bit.c + $(gcc_s_compile) -DL$($*-label) $($*-opt) -c $(srcdir)/fixed-bit.c endif -- 2.30.2