summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-15 17:43:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-15 17:43:44 +0000
commitd3320bb7cfea8028194eb4dc383b81018cebc589 (patch)
tree3d07f54b9811e56a85878a7feed7bfd6c4d2f508
parentUse "double" instead of "rtems_double". (diff)
downloadrtems-d3320bb7cfea8028194eb4dc383b81018cebc589.tar.bz2
2008-09-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in make-exe and make-cxx-exe definitions. This was resulting in the linker script being processed twice and breaking some BSPs.
-rw-r--r--c/src/make/ChangeLog6
-rw-r--r--c/src/make/leaf.cfg4
-rw-r--r--make/ChangeLog6
-rw-r--r--make/leaf.cfg4
4 files changed, 16 insertions, 4 deletions
diff --git a/c/src/make/ChangeLog b/c/src/make/ChangeLog
index 5d6d380cf2..a2b3810d9a 100644
--- a/c/src/make/ChangeLog
+++ b/c/src/make/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-15 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in
+ make-exe and make-cxx-exe definitions. This was resulting in the
+ linker script being processed twice and breaking some BSPs.
+
2008-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg, compilers/gcc-target-default.cfg: Remove use of AM_LDFLAGS.
diff --git a/c/src/make/leaf.cfg b/c/src/make/leaf.cfg
index 2e9b102323..1e5f0cbbd5 100644
--- a/c/src/make/leaf.cfg
+++ b/c/src/make/leaf.cfg
@@ -66,12 +66,12 @@ endif
DOWNEXT=.ralf
define bsp-link-c
- $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
endef
define bsp-link-cxx
- $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
endef
diff --git a/make/ChangeLog b/make/ChangeLog
index 1a55c9c6d0..c4cd4b253a 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-15 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in
+ make-exe and make-cxx-exe definitions. This was resulting in the
+ linker script being processed twice and breaking some BSPs.
+
2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/nios2_iss.cfg: Remove.
diff --git a/make/leaf.cfg b/make/leaf.cfg
index 4515951bc8..218dcdc4cc 100644
--- a/make/leaf.cfg
+++ b/make/leaf.cfg
@@ -117,12 +117,12 @@ endif
DOWNEXT=.ralf
define bsp-link-c
- $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ $(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
endef
define bsp-link-cxx
- $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
+ $(LINK.cc) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
-o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
endef