summaryrefslogtreecommitdiff
path: root/gcc/config/mn10300
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-28 13:59:28 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-28 13:59:28 +0000
commit1710ebefff4131ebce852be4350e1062d6d4a331 (patch)
treee62400777dc56d7f250a1eca4cd81febe8c31676 /gcc/config/mn10300
parent0ec31268b52b7d12b20a4e72ecf60ef4c76b5258 (diff)
downloadgcc-1710ebefff4131ebce852be4350e1062d6d4a331.tar.gz
* config/mn10300/mn10300.h (LINK_SPEC): Do not use linker
relaxation when performing an incremental link. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mn10300')
-rw-r--r--gcc/config/mn10300/mn10300.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h
index a15615653b5..7f70d5b25d2 100644
--- a/gcc/config/mn10300/mn10300.h
+++ b/gcc/config/mn10300/mn10300.h
@@ -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}}}}"