mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 21:34:13 +08:00
* gas/hppa/reloc/r_no_relocbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it. * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update expected output.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
Mon Sep 12 22:19:11 1994 Jeff Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* gas/hppa/reloc/r_no_relocbug.s: New test.
|
||||||
|
* gas/hppa/reloc/reloc.exp: Run it.
|
||||||
|
|
||||||
|
* gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update
|
||||||
|
expected output.
|
||||||
|
|
||||||
Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
|
Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
|
||||||
|
|
||||||
* gas/arm/*: New subtree. Add ARM tests.
|
* gas/arm/*: New subtree. Add ARM tests.
|
||||||
|
@ -36,6 +36,7 @@ plabelbug.s
|
|||||||
reloc.exp
|
reloc.exp
|
||||||
relocreduce.s
|
relocreduce.s
|
||||||
relocreduce2.s
|
relocreduce2.s
|
||||||
|
r_no_relocbug.s
|
||||||
roundmode.s
|
roundmode.s
|
||||||
selectorbug.s
|
selectorbug.s
|
||||||
|
|
||||||
|
45
gas/testsuite/gas/hppa/reloc/r_no_reloc.s
Normal file
45
gas/testsuite/gas/hppa/reloc/r_no_reloc.s
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
.COPYRIGHT "MetaWare Incorporated, 1992"
|
||||||
|
.VERSION "hc2.6a -O1 t3.c\n"
|
||||||
|
|
||||||
|
.SPACE $PRIVATE$,SORT=16
|
||||||
|
.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=80,ZERO
|
||||||
|
.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=16
|
||||||
|
|
||||||
|
.SPACE $TEXT$,SORT=8
|
||||||
|
.SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=44,CODE_ONLY,SORT=24
|
||||||
|
|
||||||
|
.SPACE $PRIVATE$
|
||||||
|
.SUBSPA $DATA$
|
||||||
|
.ALIGN 8
|
||||||
|
$L00DATA
|
||||||
|
.ALIGN 8
|
||||||
|
.EXPORT s
|
||||||
|
s
|
||||||
|
.WORD 0x0
|
||||||
|
.BLOCKZ 786425
|
||||||
|
.BLOCKZ 7
|
||||||
|
|
||||||
|
.SPACE $TEXT$
|
||||||
|
.SUBSPA $CODE$
|
||||||
|
L$001.3
|
||||||
|
g .PROC
|
||||||
|
.CALLINFO FRAME=0,NO_CALLS
|
||||||
|
.ENTRY
|
||||||
|
;ldo 120(%r0),%r28 --> to delay slot
|
||||||
|
bv %r0(%r2)
|
||||||
|
.EXIT
|
||||||
|
ldo 120(%r0),%r28
|
||||||
|
.PROCEND
|
||||||
|
|
||||||
|
|
||||||
|
.SPACE $PRIVATE$
|
||||||
|
.SUBSPA $DATA$
|
||||||
|
.ALIGN 4
|
||||||
|
.EXPORT l
|
||||||
|
l
|
||||||
|
.WORD P'g
|
||||||
|
.IMPORT common,DATA ; common section, size=0
|
||||||
|
.IMPORT $global$,DATA
|
||||||
|
.EXPORT g,ENTRY,PRIV_LEV=3,RTNVAL=GR
|
||||||
|
.END
|
||||||
|
|
45
gas/testsuite/gas/hppa/reloc/r_no_relocbug.s
Normal file
45
gas/testsuite/gas/hppa/reloc/r_no_relocbug.s
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
.COPYRIGHT "MetaWare Incorporated, 1992"
|
||||||
|
.VERSION "hc2.6a -O1 t3.c\n"
|
||||||
|
|
||||||
|
.SPACE $PRIVATE$,SORT=16
|
||||||
|
.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=80,ZERO
|
||||||
|
.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=16
|
||||||
|
|
||||||
|
.SPACE $TEXT$,SORT=8
|
||||||
|
.SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=44,CODE_ONLY,SORT=24
|
||||||
|
|
||||||
|
.SPACE $PRIVATE$
|
||||||
|
.SUBSPA $DATA$
|
||||||
|
.ALIGN 8
|
||||||
|
$L00DATA
|
||||||
|
.ALIGN 8
|
||||||
|
.EXPORT s
|
||||||
|
s
|
||||||
|
.WORD 0x0
|
||||||
|
.BLOCKZ 786425
|
||||||
|
.BLOCKZ 7
|
||||||
|
|
||||||
|
.SPACE $TEXT$
|
||||||
|
.SUBSPA $CODE$
|
||||||
|
L$001.3
|
||||||
|
g .PROC
|
||||||
|
.CALLINFO FRAME=0,NO_CALLS
|
||||||
|
.ENTRY
|
||||||
|
;ldo 120(%r0),%r28 --> to delay slot
|
||||||
|
bv %r0(%r2)
|
||||||
|
.EXIT
|
||||||
|
ldo 120(%r0),%r28
|
||||||
|
.PROCEND
|
||||||
|
|
||||||
|
|
||||||
|
.SPACE $PRIVATE$
|
||||||
|
.SUBSPA $DATA$
|
||||||
|
.ALIGN 4
|
||||||
|
.EXPORT l
|
||||||
|
l
|
||||||
|
.WORD P'g
|
||||||
|
.IMPORT common,DATA ; common section, size=0
|
||||||
|
.IMPORT $global$,DATA
|
||||||
|
.EXPORT g,ENTRY,PRIV_LEV=3,RTNVAL=GR
|
||||||
|
.END
|
||||||
|
|
Reference in New Issue
Block a user