* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
--gc-sections if -r.
* config/cris/cris.h: Ditto.
From-SVN: r55507
+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
#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
%{shared} %{static}\
%{symbolic:-Bdynamic} %{shlib:-Bdynamic} %{static:-Bstatic}\
%{!shared:%{!static:%{rdynamic:-export-dynamic}}}\
- %{O2|O3: --gc-sections}"
+ %{!r:%{O2|O3: --gc-sections}}"
/* Node: Sections */