Skip to content

Commit d2d7900

Browse files
committed
config/rx: Make custom linker script optional
Don't add the default linker script if the -r option is present. Signed-off-by: Keith Packard <[email protected]>
1 parent ad44519 commit d2d7900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/config/rx/rx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
%{msim:-lsim}%{!msim:-lnosys} \
116116
%{fprofile-arcs|fprofile-generate|coverage:-lgcov} \
117117
--end-group \
118-
%{!T*: %{msim:%Trx-sim.ld}%{!msim:%Trx.ld}} \
118+
%{!r:%{!T*: %{msim:%Trx-sim.ld}%{!msim:%Trx.ld}}} \
119119
"
120120

121121
#undef LINK_SPEC

0 commit comments

Comments
 (0)