diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-12-14 21:33:33 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-12-14 21:33:33 +0000 |
commit | 1a8b189e1c86e5c17e80e78d15c1fe000604e9a6 (patch) | |
tree | 403ab14d080dfff94c896d12dcb76a07b0db666e /ld | |
parent | d4d4c53c68f0a9402f48ef18098359b94de8f8f6 (diff) | |
download | gdb-1a8b189e1c86e5c17e80e78d15c1fe000604e9a6.zip gdb-1a8b189e1c86e5c17e80e78d15c1fe000604e9a6.tar.gz gdb-1a8b189e1c86e5c17e80e78d15c1fe000604e9a6.tar.bz2 |
* mpw-config.in (m68k-apple-macos, ppc-apple-macos,
i386-unknown-aout, i386-unknown-coff): New targets.
(m68k-aout, m68k-coff): Remove targets.
(mk.tmp): Add definition of EMUL.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog.mpw | 7 | ||||
-rw-r--r-- | ld/mpw-config.in | 16 |
2 files changed, 20 insertions, 3 deletions
diff --git a/ld/ChangeLog.mpw b/ld/ChangeLog.mpw index 9c93ee4..cc5538b 100644 --- a/ld/ChangeLog.mpw +++ b/ld/ChangeLog.mpw @@ -1,3 +1,10 @@ +Wed Dec 14 13:29:52 1994 Stan Shebs <shebs@andros.cygnus.com> + + * mpw-config.in (m68k-apple-macos, ppc-apple-macos, + i386-unknown-aout, i386-unknown-coff): New targets. + (m68k-aout, m68k-coff): Remove targets. + (mk.tmp): Add definition of EMUL. + Tue Jun 28 13:17:23 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-config.in (emulname): Set based on target. diff --git a/ld/mpw-config.in b/ld/mpw-config.in index 2008662..44e3411 100644 --- a/ld/mpw-config.in +++ b/ld/mpw-config.in @@ -1,9 +1,13 @@ # Configuration fragment for LD. -If "{target_canonical}" =~ /m68k-aout/ - Set emulname m68kaout -Else If "{target_canonical}" =~ /m68k-coff/ +If "{target_canonical}" =~ /m68k-apple-macos/ Set emulname m68kcoff +Else If "{target_canonical}" =~ /ppc-apple-macos/ + Set emulname ppcelf +Else If "{target_canonical}" =~ /i386-unknown-aout/ + Set emulname i386aout +Else If "{target_canonical}" =~ /i386-unknown-coff/ + Set emulname i386coff Else If "{target_canonical}" =~ /mips-idt-ecoff/ Set emulname mipsidt forward-include "{srcdir}"mpw-em.c em_mipsidt.c @@ -15,3 +19,9 @@ Echo '#define EMULATION_LIST \' >>ldemul-tmp.h Echo " &ld_{emulname}_emulation, \" >>ldemul-tmp.h Echo ' 0' >>ldemul-tmp.h MoveIfChange ldemul-tmp.h ldemul-list.h + +Echo '# From mpw-config.in' > "{o}"mk.tmp + +Echo "EMUL = " {emulname} >> "{o}"mk.tmp + +Echo '# End from mpw-config.in' >> "{o}"mk.tmp |