mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
2003-05-01 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp (mips_arch_init): New function. Call it before setting up architecture array entries.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2003-05-01 Chris Demetriou <cgd@broadcom.com>
|
||||||
|
|
||||||
|
* gas/mips/mips.exp (mips_arch_init): New function.
|
||||||
|
Call it before setting up architecture array entries.
|
||||||
|
|
||||||
2003-05-01 H.J. Lu <hjl@gnu.org>
|
2003-05-01 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* gas/elf/elf.exp (run_list_test): Accept empty $opts.
|
* gas/elf/elf.exp (run_list_test): Accept empty $opts.
|
||||||
|
@ -78,6 +78,15 @@
|
|||||||
# based on the target of the assembler being built. If always has
|
# based on the target of the assembler being built. If always has
|
||||||
# empty "as_flags" and "objdump_flags."
|
# empty "as_flags" and "objdump_flags."
|
||||||
|
|
||||||
|
# mips_arch_init
|
||||||
|
#
|
||||||
|
# This function initializes the architecture data array ("mips_arches")
|
||||||
|
# to be empty.
|
||||||
|
proc mips_arch_init {} {
|
||||||
|
global mips_arches
|
||||||
|
array unset mips_arches
|
||||||
|
}
|
||||||
|
|
||||||
# mips_arch_create ARCH GPRSIZE EXTENDS PROPS AS_FLAGS OBJDUMP_FLAGS \
|
# mips_arch_create ARCH GPRSIZE EXTENDS PROPS AS_FLAGS OBJDUMP_FLAGS \
|
||||||
# (optional:) DEFAULT_FOR_TARGETS
|
# (optional:) DEFAULT_FOR_TARGETS
|
||||||
#
|
#
|
||||||
@ -334,6 +343,7 @@ proc run_list_test_arches { name opts arch_list } {
|
|||||||
# Note that several targets pick default CPU based on ABI. We
|
# Note that several targets pick default CPU based on ABI. We
|
||||||
# can't easily handle that; do NOT list those targets as defaulting
|
# can't easily handle that; do NOT list those targets as defaulting
|
||||||
# to any architecture.
|
# to any architecture.
|
||||||
|
mips_arch_init
|
||||||
mips_arch_create mips1 32 {} {} \
|
mips_arch_create mips1 32 {} {} \
|
||||||
{ -march=mips1 -mtune=mips1 } { -mmips:3000 }
|
{ -march=mips1 -mtune=mips1 } { -mmips:3000 }
|
||||||
mips_arch_create mips2 32 mips1 { gpr_ilocks } \
|
mips_arch_create mips2 32 mips1 { gpr_ilocks } \
|
||||||
|
Reference in New Issue
Block a user