summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bsps/m68k/gen68360/config/gen68360.cfg6
-rw-r--r--bsps/m68k/gen68360/config/gen68360_040.cfg4
-rw-r--r--bsps/m68k/gen68360/config/pgh360.cfg6
3 files changed, 8 insertions, 8 deletions
diff --git a/bsps/m68k/gen68360/config/gen68360.cfg b/bsps/m68k/gen68360/config/gen68360.cfg
index d8e3d2c3a5..4cfcdcfff5 100644
--- a/bsps/m68k/gen68360/config/gen68360.cfg
+++ b/bsps/m68k/gen68360/config/gen68360.cfg
@@ -1,4 +1,4 @@
-#
+#
# Config file for a "generic 68360" BSP
RTEMS_CPU=m68k
@@ -11,5 +11,5 @@ CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2566.
# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/m68k/gen68360/config/gen68360_040.cfg b/bsps/m68k/gen68360/config/gen68360_040.cfg
index 142f3c7ae4..bec9e243d2 100644
--- a/bsps/m68k/gen68360/config/gen68360_040.cfg
+++ b/bsps/m68k/gen68360/config/gen68360_040.cfg
@@ -12,5 +12,5 @@ CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2566.
# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections
diff --git a/bsps/m68k/gen68360/config/pgh360.cfg b/bsps/m68k/gen68360/config/pgh360.cfg
index 2303a62b45..a4de392a2f 100644
--- a/bsps/m68k/gen68360/config/pgh360.cfg
+++ b/bsps/m68k/gen68360/config/pgh360.cfg
@@ -1,4 +1,4 @@
-#
+#
# Config file for a "generic 68360" BSP
RTEMS_CPU=m68k
@@ -11,5 +11,5 @@ CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2566.
# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections