* a29k-tdep.c (get_longjmp_target): add this function, from WRS.
[platform/upstream/binutils.git] / ld / mpw-config.in
1 # Configuration fragment for LD.
2
3 If "{target_canonical}" =~ /m68k-apple-macos/
4         Set emulname m68kcoff
5 Else If "{target_canonical}" =~ /ppc-apple-macos/
6         Set emulname ppcelf
7 Else If "{target_canonical}" =~ /i386-unknown-aout/
8         Set emulname i386aout
9 Else If "{target_canonical}" =~ /i386-unknown-coff/
10         Set emulname i386coff
11 Else If "{target_canonical}" =~ /mips-idt-ecoff/
12         Set emulname mipsidt
13         forward-include "{srcdir}"mpw-em.c em_mipsidt.c
14 End If
15
16 Echo '/* This file is automatically generated.  DO NOT EDIT! */' >ldemul-tmp.h
17 Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >>ldemul-tmp.h
18 Echo '#define EMULATION_LIST \' >>ldemul-tmp.h
19 Echo "  &ld_{emulname}_emulation, \" >>ldemul-tmp.h
20 Echo '  0' >>ldemul-tmp.h
21 MoveIfChange ldemul-tmp.h ldemul-list.h
22
23 Echo '# From mpw-config.in'       > "{o}"mk.tmp
24
25 Echo "EMUL = " {emulname} >> "{o}"mk.tmp
26
27 Echo '# End from mpw-config.in'  >> "{o}"mk.tmp