summaryrefslogtreecommitdiff
path: root/ld/emultempl/stringify.sed
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-05-03 07:29:11 +0000
committerRichard Henderson <rth@redhat.com>1999-05-03 07:29:11 +0000
commit252b5132c753830d5fd56823373aed85f2a0db63 (patch)
tree1af963bfd8d3e55167b81def4207f175eaff3a56 /ld/emultempl/stringify.sed
downloadbinutils-gdb-binu_ss_19990502.tar.gz
19990502 sourceware importbinu_ss_19990502
Diffstat (limited to 'ld/emultempl/stringify.sed')
-rw-r--r--ld/emultempl/stringify.sed4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/emultempl/stringify.sed b/ld/emultempl/stringify.sed
new file mode 100644
index 00000000000..a526d3ffc4c
--- /dev/null
+++ b/ld/emultempl/stringify.sed
@@ -0,0 +1,4 @@
+s/["\\]/\\&/g
+s/$/\\n\\/
+1 s/^/"/
+$ s/$/n"/