Commit | Line | Data |
---|---|---|
b5b2c886 | 1 | # Configuration fragment for LD. |
22691fe7 SS |
2 | |
3 | If "{target_canonical}" =~ /m68k-aout/ | |
4 | Set emulname m68kaout | |
5 | Else If "{target_canonical}" =~ /m68k-coff/ | |
6 | Set emulname m68kcoff | |
7 | Else If "{target_canonical}" =~ /mips-idt-ecoff/ | |
8 | Set emulname mipsidt | |
177941a1 | 9 | forward-include "{srcdir}"mpw-em.c em_mipsidt.c |
22691fe7 SS |
10 | End If |
11 | ||
12 | Echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-tmp.h | |
13 | Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >>ldemul-tmp.h | |
14 | Echo '#define EMULATION_LIST \' >>ldemul-tmp.h | |
15 | Echo " &ld_{emulname}_emulation, \" >>ldemul-tmp.h | |
16 | Echo ' 0' >>ldemul-tmp.h | |
17 | MoveIfChange ldemul-tmp.h ldemul-list.h |