aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/ppc32elf.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/ppc32elf.em')
-rw-r--r--ld/emultempl/ppc32elf.em4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/ppc32elf.em b/ld/emultempl/ppc32elf.em
index d28b9a6..0b8d887 100644
--- a/ld/emultempl/ppc32elf.em
+++ b/ld/emultempl/ppc32elf.em
@@ -22,7 +22,7 @@
# This file is sourced from elf32.em, and defines extra powerpc32-elf
# specific routines.
#
-cat >>e${EMULATION_NAME}.c <<EOF
+fragment <<EOF
#include "libbfd.h"
#include "elf32-ppc.h"
@@ -126,7 +126,7 @@ ppc_before_allocation (void)
EOF
if grep -q 'ld_elf32_spu_emulation' ldemul-list.h; then
- cat >>e${EMULATION_NAME}.c <<EOF
+ fragment <<EOF
/* Special handling for embedded SPU executables. */
extern bfd_boolean embedded_spu_file (lang_input_statement_type *, const char *);
static bfd_boolean gld${EMULATION_NAME}_load_symbols (lang_input_statement_type *);