[PATCH] D98428: [M68k] Fix extract-section.py under Python 3
Min-Yih Hsu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 14 11:39:14 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6475ddb1d898: [M68k] Fix extract-section.py under Python 3 (authored by ricky26, committed by myhsu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98428/new/
https://reviews.llvm.org/D98428
Files:
llvm/utils/extract-section.py
Index: llvm/utils/extract-section.py
===================================================================
--- llvm/utils/extract-section.py
+++ llvm/utils/extract-section.py
@@ -33,8 +33,7 @@
import subprocess
cmd = [readobj_path, '-elf-output-style=GNU', '--hex-dump={}'.format(section_name),
input_file]
- proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
- universal_newlines=True)
+ proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
if input_file == '-':
# From stdin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98428.330524.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210314/b13412f3/attachment.bin>
More information about the llvm-commits
mailing list