[PATCH] D43468: [ELF] - Support "INSERT AFTER" statement.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 2 14:09:47 PST 2018
ruiu added inline comments.
================
Comment at: test/ELF/insert-after.s:4-14
+# RUN: echo "SECTIONS { \
+# RUN: .foo.data : { *(.foo.data) } \
+# RUN: } INSERT AFTER .data; \
+# RUN: SECTIONS { \
+# RUN: .foo.text : { *(.foo.text) } \
+# RUN: } INSERT AFTER .text;" > %tinsert.script
+
----------------
We should stop writing linker scripts using "echo". As I did, rewrite this file as a linker script. You could create Inputs/insert-after.s.
https://reviews.llvm.org/D43468
More information about the llvm-commits
mailing list