mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
gas/
* config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define. gas/testsuite/ * gas/mips/cfi-n64-1.s, gas/mips/cfi-n64-1.d: New test. * gas/mips/mips.exp: Run it.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
|
||||
|
||||
2008-09-03 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/tc-i386.c (pe_lcomm_internal): New function. Allows the
|
||||
|
@ -168,6 +168,7 @@ extern enum dwarf2_format mips_dwarf2_format (asection *);
|
||||
|
||||
extern int mips_dwarf2_addr_size (void);
|
||||
#define DWARF2_ADDR_SIZE(bfd) mips_dwarf2_addr_size ()
|
||||
#define DWARF2_FDE_RELOC_SIZE mips_dwarf2_addr_size ()
|
||||
|
||||
#define TARGET_USE_CFIPOP 1
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* gas/mips/cfi-n64-1.s, gas/mips/cfi-n64-1.d: New test.
|
||||
* gas/mips/mips.exp: Run it.
|
||||
|
||||
2008-09-05 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* gas/arm/abs12.d: Update expected disassembly.
|
||||
|
9
gas/testsuite/gas/mips/cfi-n64-1.d
Normal file
9
gas/testsuite/gas/mips/cfi-n64-1.d
Normal file
@ -0,0 +1,9 @@
|
||||
#as: -64 -EB
|
||||
#objdump: -sj.eh_frame
|
||||
|
||||
.*
|
||||
|
||||
Contents of section \.eh_frame:
|
||||
0000 00000010 00000000 017a5200 017c1f01 .*
|
||||
0010 0c0d1d00 00000018 00000018 00000000 .*
|
||||
0020 00000000 00000000 0000000c 00000000 .*
|
9
gas/testsuite/gas/mips/cfi-n64-1.s
Normal file
9
gas/testsuite/gas/mips/cfi-n64-1.s
Normal file
@ -0,0 +1,9 @@
|
||||
.global foo
|
||||
.type foo,@function
|
||||
.ent foo
|
||||
foo:
|
||||
.cfi_startproc
|
||||
jr $31
|
||||
nop
|
||||
.cfi_endproc
|
||||
.end foo
|
@ -833,4 +833,5 @@ if { [istarget mips*-*-vxworks*] } {
|
||||
|
||||
run_dump_test "mips16-vis-1"
|
||||
run_dump_test "call-nonpic-1"
|
||||
if $has_newabi { run_dump_test "cfi-n64-1" }
|
||||
}
|
||||
|
Reference in New Issue
Block a user