Skip to content

Commit b9fb108

Browse files
committed
compatibility with older GNU ld
1 parent da52a02 commit b9fb108

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

lldb/test/API/functionalities/thread/step_until/TestStepUntilAPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _build_dict_for_discontinuity(self):
2222
CFLAGS_EXTRAS="-funique-basic-block-section-names "
2323
+ "-ffunction-sections -fbasic-block-sections=list="
2424
+ self.getSourcePath("function.list"),
25-
LD_EXTRAS="-Wl,--section-ordering-file="
25+
LD_EXTRAS="-Wl,--script="
2626
+ self.getSourcePath("symbol.order"),
2727
)
2828

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
.text : {
2-
*(.text.call_me)
3-
*(.text.foo)
4-
*(.text.call_me.call_me.__part.1)
5-
*(.text.call_me.call_me.__part.2)
6-
*(.text.call_me.call_me.__part.3)
7-
}
1+
SECTIONS {
2+
.text : {
3+
*(.text.call_me)
4+
*(.text.foo)
5+
*(.text.call_me.call_me.__part.1)
6+
*(.text.call_me.call_me.__part.2)
7+
*(.text.call_me.call_me.__part.3)
8+
}
9+
} INSERT BEFORE .text;

0 commit comments

Comments
 (0)