diff --git a/ld/emultempl/ppc.em b/ld/emultempl/ppc.em index d3eb950dce7..189c8b5e158 100644 --- a/ld/emultempl/ppc.em +++ b/ld/emultempl/ppc.em @@ -309,8 +309,8 @@ then # sed commands to quote an ld script as a C string. sc='s/["\\]/\\&/g s/$/\\n\\/ -1s/^/"{/ -$s/$/n}"/ +1s/^/"/ +$s/$/n"/ ' cat >>em_${EMULATION_NAME}.c <