binutils-gdb/ld/emultempl/ostring.sed

5 lines
44 B
Sed

s/["\\]/\\&/g
s/$/\\n\\/
1 s/^/"/
$ s/$/n"/