diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2008-09-06 08:47:00 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2008-09-06 08:47:00 +0000 |
commit | a79558d9123a22fc670aec2558012a644ec73977 (patch) | |
tree | f3f418c87b941afda1e4ed0be6704daac747753c /gas/testsuite | |
parent | ae6dce4daaa1005a3a5124845172bb51f8bc01ab (diff) | |
download | gdb-a79558d9123a22fc670aec2558012a644ec73977.zip gdb-a79558d9123a22fc670aec2558012a644ec73977.tar.gz gdb-a79558d9123a22fc670aec2558012a644ec73977.tar.bz2 |
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.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/cfi-n64-1.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/cfi-n64-1.s | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips.exp | 1 |
4 files changed, 24 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 81ae42b..ca84798 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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. diff --git a/gas/testsuite/gas/mips/cfi-n64-1.d b/gas/testsuite/gas/mips/cfi-n64-1.d new file mode 100644 index 0000000..808b3da --- /dev/null +++ b/gas/testsuite/gas/mips/cfi-n64-1.d @@ -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 .* diff --git a/gas/testsuite/gas/mips/cfi-n64-1.s b/gas/testsuite/gas/mips/cfi-n64-1.s new file mode 100644 index 0000000..8b0cf00 --- /dev/null +++ b/gas/testsuite/gas/mips/cfi-n64-1.s @@ -0,0 +1,9 @@ + .global foo + .type foo,@function + .ent foo +foo: + .cfi_startproc + jr $31 + nop + .cfi_endproc + .end foo diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index a037a99..e48b81f 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -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" } } |