]> gcc.gnu.org Git - gcc.git/commitdiff
linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't --gc-sections if -r.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 17 Jul 2002 01:49:50 +0000 (01:49 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 17 Jul 2002 01:49:50 +0000 (01:49 +0000)
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
--gc-sections if -r.
* config/cris/cris.h: Ditto.

From-SVN: r55507

gcc/ChangeLog
gcc/config/cris/cris.h
gcc/config/cris/linux.h

index a851ef292bef57e1ae0886fe94ac2189cbeca420..31154660c30f64a0b6c48fe04bfe98727831f4e1 100644 (file)
@@ -1,3 +1,9 @@
+2002-07-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
+       --gc-sections if -r.
+       * config/cris/cris.h: Ditto.
+
 2002-07-16  Rodney Brown  <rbrown64@csc.com.au>
 
        * config/i386/i386.c (ix86_expand_int_movcc): In the case where
index 6228c3130000211f083b571a08fb2ff65e8145d2..496a533a954e1776b8a1a6a75cf8e8462190dba5 100644 (file)
@@ -211,7 +211,7 @@ extern const char *cris_elinux_stacksize_str;
 #define CRIS_LINK_SUBTARGET_SPEC \
  "-mcriself\
   %{sim2:%{!T*:-Tdata 0x4000000 -Tbss 0x8000000}}\
-  %{O2|O3: --gc-sections}"
+  %{!r:%{O2|O3: --gc-sections}}"
 
 /* Which library to get.  The only difference from the default is to get
    libsc.a if -sim is given to the driver.  Repeat -lc -lsysX
index 81752454317a0855d6ab1cfaccd716025c434001..546f38101b9bf4895da64cb3f6a4ae3e850e1914 100644 (file)
@@ -96,7 +96,7 @@ Boston, MA 02111-1307, USA.  */
   %{shared} %{static}\
   %{symbolic:-Bdynamic} %{shlib:-Bdynamic} %{static:-Bstatic}\
   %{!shared:%{!static:%{rdynamic:-export-dynamic}}}\
-  %{O2|O3: --gc-sections}"
+  %{!r:%{O2|O3: --gc-sections}}"
 
 
 /* Node: Sections */
This page took 0.312508 seconds and 5 git commands to generate.