Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a7350b3

Browse filesBrowse files
MylesBorinsdanielleadams
authored andcommitted
tools: don't print gold linker warning w/o flag
Currently warning is printed called even if the selection ordering flag has not been passed. Only print warning if `--limit-configure-section-file` has been passed to configure. Fixes: #35872 PR-URL: #35955 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 1f27214 commit a7350b3
Copy full SHA for a7350b3

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎configure.py‎

Copy file name to clipboardExpand all lines: configure.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,8 @@ def configure_section_file(o):
17611761
proc = subprocess.Popen(['ld.gold'] + ['-v'], stdin = subprocess.PIPE,
17621762
stdout = subprocess.PIPE, stderr = subprocess.PIPE)
17631763
except OSError:
1764-
warn('''No acceptable ld.gold linker found!''')
1764+
if options.node_section_ordering_info != "":
1765+
warn('''No acceptable ld.gold linker found!''')
17651766
return 0
17661767

17671768
match = re.match(r"^GNU gold.*([0-9]+)\.([0-9]+)$",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.