summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/fixed-bit.c (renamed from gcc/config/fixed-bit.c)2
-rw-r--r--libgcc/fixed-bit.h (renamed from gcc/config/fixed-bit.h)0
-rw-r--r--libgcc/fixed-obj.mk8
5 files changed, 15 insertions, 5 deletions
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 <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/fixed-bit.c, config/fixed-bit.h: Move to ../libgcc.
+
2011-07-08 Martin Jambor <mjambor@suse.cz>
* 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 <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * 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 <joseph@codesourcery.com>
* config.host (*local*): Remove.
diff --git a/gcc/config/fixed-bit.c b/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
index 620742c34b6..620742c34b6 100644
--- a/gcc/config/fixed-bit.h
+++ b/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