mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 21:19:54 +00:00
* mpw-make.sed: Add symbolic doublequoting to ldmain compile edit.
* mpw-config.in: Add mips-*-* case as mips-elf, and use more wildcards in matching. * mpw-emipself.c: New file, pregenerated mips elf emulation.
This commit is contained in:
parent
4fc2c99a4a
commit
0b2aef4d0e
@ -10,17 +10,22 @@ Else If "{target_canonical}" =~ /powerpc-apple-macos/
|
||||
forward-include "{srcdir}"mpw-eppcmac.c eppcmacos.c
|
||||
Set emulation_ofiles "{o}"eppcmacos.c.o
|
||||
|
||||
Else If "{target_canonical}" =~ /i386-unknown-go32/
|
||||
Else If "{target_canonical}" =~ /i386-\Option-x-go32/
|
||||
Set emulname i386go32
|
||||
forward-include "{srcdir}"mpw-ei386go32.c ei386go32.c
|
||||
Set emulation_ofiles "{o}"ei386go32.c.o
|
||||
|
||||
Else If "{target_canonical}" =~ /mips-\Option-x-\Option-x/
|
||||
Else If "{target_canonical}" =~ /mips-\Option-x-ecoff/
|
||||
Set emulname mipsidt
|
||||
forward-include "{srcdir}"mpw-emipsidt.c emipsidt.c
|
||||
forward-include "{srcdir}"mpw-mipsidt.c emipsidt.c
|
||||
Set emulation_ofiles "{o}"emipsidt.c.o
|
||||
|
||||
Else If "{target_canonical}" =~ /sh-hitachi-hms/
|
||||
Else If "{target_canonical}" =~ /mips-\Option-x-\Option-x/
|
||||
Set emulname elf32ebmip
|
||||
forward-include "{srcdir}"mpw-mipself.c eelf32ebmip.c
|
||||
Set emulation_ofiles "{o}"eelf32ebmip.c.o
|
||||
|
||||
Else If "{target_canonical}" =~ /sh-\Option-x-hms/
|
||||
Set emulname sh
|
||||
forward-include "{srcdir}"mpw-esh.c esh.c
|
||||
Set emulation_ofiles "{o}"esh.c.o
|
||||
|
1470
ld/mpw-emipself.c
Normal file
1470
ld/mpw-emipself.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -23,7 +23,7 @@
|
||||
# Hack up ldmain compile.
|
||||
/^"{o}"ldmain.c.o \\Option-f .* config.status$/,/^$/c\
|
||||
"{o}"ldmain.c.o \\Option-f "{s}"ldmain.c\
|
||||
{CC} @DASH_C_FLAG@ -d DEFAULT_EMULATION='"'{EMUL}'"' -d SCRIPTDIR='"'{scriptdir}'"' {ALL_CFLAGS} "{s}"ldmain.c -o "{o}"ldmain.c.o\
|
||||
{CC} @DASH_C_FLAG@ -d DEFAULT_EMULATION={dq}{EMUL}{dq} -d SCRIPTDIR={dq}{scriptdir}{dq} {ALL_CFLAGS} "{s}"ldmain.c -o "{o}"ldmain.c.o\
|
||||
|
||||
|
||||
# Remove ldemul-list.h build, rely on configure to make one.
|
||||
|
Loading…
Reference in New Issue
Block a user