Skip to content

Commit beacfff

Browse files
committed
microblaze: Control use of xilinx.ld based on -r switch
Change how we decide to use xilinx.ld. Add a check for the -r switch, using it only when that switch is not present. Signed-off-by: Keith Packard <[email protected]>
1 parent 34da383 commit beacfff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/config/microblaze/microblaze.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ extern enum pipeline_type microblaze_pipe;
115115
%{Zxl-mode-xmdstub:-defsym _TEXT_START_ADDR=0x800} \
116116
%{mxl-mode-xmdstub:-defsym _TEXT_START_ADDR=0x800} \
117117
%{mxl-gp-opt:%{G*}} %{!mxl-gp-opt: -G 0} \
118-
%{!T*: %:if-exists-then-else(xilinx.ld%s -dT) %:if-exists(xilinx.ld%s)}"
118+
%{!r:%{!T*: -dT xilinx.ld%s}}"
119119

120120
/* Specs for the compiler proper */
121121

0 commit comments

Comments
 (0)