* config/mn10300/mn10300.h (LINK_SPEC): Do not use linker
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jun 2011 13:59:28 +0000 (13:59 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jun 2011 13:59:28 +0000 (13:59 +0000)
relaxation when performing an incremental link.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175584 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mn10300/mn10300.h

index f655761..1ce6763 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-28  Nick Clifton  <nickc@redhat.com>
+
+       * config/mn10300/mn10300.h (LINK_SPEC): Do not use linker
+       relaxation when performing an incremental link.
+
 2011-06-28  Kai Tietz  <ktietz@redhat.com>
 
        * tree-ssa-math-opts.c (execute_optimize_bswap): Search
@@ -20,9 +25,9 @@
 
 2011-06-28  Georg-Johann Lay  <avr@gjlay.de>
 
-       * config.gcc (tm_file): Add elfos.h and avr/elf.h for 
+       * config.gcc (tm_file): Add elfos.h and avr/elf.h for
        avr-*-* and avr-*-rtems* targets.
-       
+
        * config/avr/elf.h: New file.
        (ASM_OUTPUT_BEFORE_CASE_LABEL): Define.
        (TARGET_ASM_SELECT_SECTION): Define.
index a156156..7f70d5b 100644 (file)
@@ -24,7 +24,7 @@
 #undef LIB_SPEC
 #undef ENDFILE_SPEC
 #undef  LINK_SPEC
-#define LINK_SPEC "%{mrelax:--relax}"
+#define LINK_SPEC "%{mrelax:%{!r:--relax}}"
 #undef  STARTFILE_SPEC
 #define STARTFILE_SPEC "%{!mno-crt0:%{!shared:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}}}"