]>
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 | |
9 | End If | |
10 | ||
11 | Echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-tmp.h | |
12 | Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >>ldemul-tmp.h | |
13 | Echo '#define EMULATION_LIST \' >>ldemul-tmp.h | |
14 | Echo " &ld_{emulname}_emulation, \" >>ldemul-tmp.h | |
15 | Echo ' 0' >>ldemul-tmp.h | |
16 | MoveIfChange ldemul-tmp.h ldemul-list.h | |
17 |