* config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regs
[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
ab4ccfd5
SS
5 forward-include "{srcdir}"mpw-em68kcoff.c em68kcoff.c
6 Set emulation_ofiles "{o}"em68kcoff.c.o
1a8b189e 7Else If "{target_canonical}" =~ /ppc-apple-macos/
ab4ccfd5
SS
8 Set emulname xcoff
9 forward-include "{srcdir}"mpw-excoff.c excoff.c
10 Set emulation_ofiles "{o}"excoff.c.o
11Else If "{target_canonical}" =~ /i386-unknown-go32/
12 Set emulname i386go32
13 forward-include "{srcdir}"mpw-ei386go32.c ei386go32.c
14 Set emulation_ofiles "{o}"ei386go32.c.o
22691fe7
SS
15Else If "{target_canonical}" =~ /mips-idt-ecoff/
16 Set emulname mipsidt
ab4ccfd5
SS
17 forward-include "{srcdir}"mpw-emipsidt.c emipsidt.c
18 Set emulation_ofiles "{o}"emipsidt.c.o
19Else If "{target_canonical}" =~ /sh-hitachi-hms/
20 Set emulname sh
21 forward-include "{srcdir}"mpw-esh.c esh.c
22 Set emulation_ofiles "{o}"esh.c.o
22691fe7
SS
23End If
24
ab4ccfd5
SS
25Echo '/* This file is automatically generated. DO NOT EDIT! */' > "{o}"ldemul-tmp.h
26Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >> "{o}"ldemul-tmp.h
27Echo '#define EMULATION_LIST \' >> "{o}"ldemul-tmp.h
28Echo " &ld_{emulname}_emulation, \" >> "{o}"ldemul-tmp.h
29Echo ' 0' >> "{o}"ldemul-tmp.h
30MoveIfChange "{o}"ldemul-tmp.h "{o}"ldemul-list.h
1a8b189e 31
ab4ccfd5 32Echo '# From mpw-config.in' > "{o}"mk.tmp
1a8b189e 33
ab4ccfd5
SS
34Echo "EMUL = " {emulname} >> "{o}"mk.tmp
35Echo "EMULATION_OFILES = " {emulation_ofiles} >> "{o}"mk.tmp
36Echo 'version = ' `Search 'ld version ' {srcdir}ldver.c | sed -e 's/.*ld version \([^ ]*\).*/\1/'` >> "{o}"mk.tmp
37Echo "TDEFINES = " >> "{o}"mk.tmp
1a8b189e 38
ab4ccfd5 39Echo '# End from mpw-config.in' >> "{o}"mk.tmp
This page took 0.074464 seconds and 4 git commands to generate.