* config/hppa.sed: Sed script to transform bintest.s into proper
[deliverable/binutils-gdb.git] / ld / mpw-config.in
CommitLineData
b5b2c886 1# Configuration fragment for LD.
22691fe7 2
1a8b189e 3If "{target_canonical}" =~ /m68k-apple-macos/
22691fe7 4 Set emulname m68kcoff
1a8b189e
SS
5Else If "{target_canonical}" =~ /ppc-apple-macos/
6 Set emulname ppcelf
7Else If "{target_canonical}" =~ /i386-unknown-aout/
8 Set emulname i386aout
9Else If "{target_canonical}" =~ /i386-unknown-coff/
10 Set emulname i386coff
22691fe7
SS
11Else If "{target_canonical}" =~ /mips-idt-ecoff/
12 Set emulname mipsidt
177941a1 13 forward-include "{srcdir}"mpw-em.c em_mipsidt.c
22691fe7
SS
14End If
15
16Echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-tmp.h
17Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >>ldemul-tmp.h
18Echo '#define EMULATION_LIST \' >>ldemul-tmp.h
19Echo " &ld_{emulname}_emulation, \" >>ldemul-tmp.h
20Echo ' 0' >>ldemul-tmp.h
21MoveIfChange ldemul-tmp.h ldemul-list.h
1a8b189e
SS
22
23Echo '# From mpw-config.in' > "{o}"mk.tmp
24
25Echo "EMUL = " {emulname} >> "{o}"mk.tmp
26
27Echo '# End from mpw-config.in' >> "{o}"mk.tmp
This page took 0.070783 seconds and 4 git commands to generate.