diff options
author | Daniel Jacobowitz <dan@debian.org> | 2002-01-05 19:06:52 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2002-01-05 19:06:52 +0000 |
commit | 120edeeb10fe16d8a510a53590c0fdc33fdd5ed9 (patch) | |
tree | 6bf7a24adccc85ebbb1b02769a17009374a13d00 /gas/testsuite/gas | |
parent | 2f7e72dd1d78d4a73ca1e9c67a7321c74896ee68 (diff) | |
download | binutils-redhat-120edeeb10fe16d8a510a53590c0fdc33fdd5ed9.tar.gz |
2002-01-05 Daniel Jacobowitz <drow@mvista.com>
* tc-mips.c (mips_cprestore_valid): New flag.
(mips_frame_reg_valid): New flag.
(macro) [M_JAL_2]: Check both flags.
[M_JAL_A]: Likewise.
(s_cprestore): Set mips_cprestore_valid.
(tc_get_register): If setting mips_frame_reg, set
mips_frame_reg_valid and clear mips_cprestore_valid.
(s_mips_ent): Clear both flags.
(s_mips_end): Clear both flags.
2002-01-05 Daniel Jacobowitz <drow@mvista.com>
* gas/mips/jal-svr4pic.s: Add .ent and .frame directives.
* gas/mips/mips-abi32-pic.s: Add .frame directive.
* gas/mips/mips-gp32-fp32-pic.s: Likewise.
* gas/mips/mips-gp32-fp64-pic.s: Likewise.
* gas/mips/mips-gp64-fp32-pic.s: Likewise.
* gas/mips/mips-gp64-fp64-pic.s: Likewise.
Diffstat (limited to 'gas/testsuite/gas')
-rw-r--r-- | gas/testsuite/gas/mips/jal-svr4pic.s | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-abi32-pic.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp32-fp32-pic.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp32-fp64-pic.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp64-fp32-pic.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp64-fp64-pic.s | 1 |
6 files changed, 9 insertions, 0 deletions
diff --git a/gas/testsuite/gas/mips/jal-svr4pic.s b/gas/testsuite/gas/mips/jal-svr4pic.s index 1174e94817..5e2df1e162 100644 --- a/gas/testsuite/gas/mips/jal-svr4pic.s +++ b/gas/testsuite/gas/mips/jal-svr4pic.s @@ -2,7 +2,9 @@ .weak weak_text_label + .ent text_label text_label: + .frame $sp,0,$31 .set noreorder .cpload $25 .set reorder @@ -19,3 +21,5 @@ text_label: # Round to a 16 byte boundary, for ease in testing multiple targets. nop nop + + .end text_label diff --git a/gas/testsuite/gas/mips/mips-abi32-pic.s b/gas/testsuite/gas/mips/mips-abi32-pic.s index 066fb70e68..2b05a8ebea 100644 --- a/gas/testsuite/gas/mips/mips-abi32-pic.s +++ b/gas/testsuite/gas/mips/mips-abi32-pic.s @@ -12,6 +12,7 @@ unshared: .text .ent func func: + .frame $sp,0,$31 .set noreorder .cpload $25 # 0000 lui gp,hi(_gp_disp) # 0004 addiu gp,gp,lo(_gp_disp) diff --git a/gas/testsuite/gas/mips/mips-gp32-fp32-pic.s b/gas/testsuite/gas/mips/mips-gp32-fp32-pic.s index b5e06a772d..d709810b75 100644 --- a/gas/testsuite/gas/mips/mips-gp32-fp32-pic.s +++ b/gas/testsuite/gas/mips/mips-gp32-fp32-pic.s @@ -12,6 +12,7 @@ unshared: .text .ent func func: + .frame $sp,0,$31 .set noreorder .cpload $25 # 0000 lui gp,hi(_gp_disp) # 0004 addiu gp,gp,lo(_gp_disp) diff --git a/gas/testsuite/gas/mips/mips-gp32-fp64-pic.s b/gas/testsuite/gas/mips/mips-gp32-fp64-pic.s index 050124421d..6d718aa689 100644 --- a/gas/testsuite/gas/mips/mips-gp32-fp64-pic.s +++ b/gas/testsuite/gas/mips/mips-gp32-fp64-pic.s @@ -12,6 +12,7 @@ unshared: .text .ent func func: + .frame $sp,0,$31 .set noreorder .cpload $25 # 0000 lui gp,hi(_gp_disp) # 0004 addiu gp,gp,lo(_gp_disp) diff --git a/gas/testsuite/gas/mips/mips-gp64-fp32-pic.s b/gas/testsuite/gas/mips/mips-gp64-fp32-pic.s index f138d13be9..6d62890924 100644 --- a/gas/testsuite/gas/mips/mips-gp64-fp32-pic.s +++ b/gas/testsuite/gas/mips/mips-gp64-fp32-pic.s @@ -12,6 +12,7 @@ unshared: .text .ent func func: + .frame $sp,0,$31 .set noreorder .cpload $25 # 0000 lui gp,hi(_gp_disp) # 0004 addiu gp,gp,lo(_gp_disp) diff --git a/gas/testsuite/gas/mips/mips-gp64-fp64-pic.s b/gas/testsuite/gas/mips/mips-gp64-fp64-pic.s index 195dc5ca5e..0d42de3c60 100644 --- a/gas/testsuite/gas/mips/mips-gp64-fp64-pic.s +++ b/gas/testsuite/gas/mips/mips-gp64-fp64-pic.s @@ -12,6 +12,7 @@ unshared: .text .ent func func: + .frame $sp,0,$31 .set noreorder .cpload $25 # 0000 lui gp,hi(_gp_disp) # 0004 addiu gp,gp,lo(_gp_disp) |