We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff87b1 commit 2e9a263Copy full SHA for 2e9a263
gcc/config/rx/rx.h
@@ -109,14 +109,15 @@
109
"
110
111
#undef LIB_SPEC
112
-#define LIB_SPEC " \
113
---start-group \
114
--lc \
115
-%{msim:-lsim}%{!msim:-lnosys} \
116
-%{fprofile-arcs|fprofile-generate|coverage:-lgcov} \
117
---end-group \
118
-%{!r:%{!T*: %{msim:%Trx-sim.ld}%{!msim:%Trx.ld}}} \
119
-"
+#define LIB_SPEC \
+ "--start-group " \
+ "-lc " \
+ "%{msim:-lsim}%{!msim:-lnosys} " \
+ "%{fprofile-arcs|fprofile-generate|coverage:-lgcov} " \
+ "--end-group " \
+ "%{!r:%{!T*:" \
+ "%{msim:%:if-exists-then-else(%:find-file(rx-sim.ld) %Trx-sim.ld)}" \
120
+ "%{!msim:%:if-exists-then-else(%:find-file(rx.ld) %Trx.ld)}}}"
121
122
#undef LINK_SPEC
123
#define LINK_SPEC "%{mbig-endian-data:--oformat elf32-rx-be} %{mrelax:-relax}"
0 commit comments