diff options
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r-- | gas/config/tc-mips.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 8c6a219..92789e7 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -11841,15 +11841,15 @@ s_cpload (ignore) If offset is given, this results in: sd $gp, offset($sp) lui $gp, %hi(%neg(%gp_rel(label))) - daddiu $gp, $gp, %lo(%neg(%gp_rel(label))) - addu $gp, $gp, $reg1 + addiu $gp, $gp, %lo(%neg(%gp_rel(label))) + daddu $gp, $gp, $reg1 If $reg2 is given, this results in: daddu $reg2, $gp, $0 lui $gp, %hi(%neg(%gp_rel(label))) - daddiu $gp, $gp, %lo(%neg(%gp_rel(label))) - addu $gp, $gp, $reg1 - */ + addiu $gp, $gp, %lo(%neg(%gp_rel(label))) + daddu $gp, $gp, $reg1 + $reg1 is normally $25 == $t9. */ static void s_cpsetup (ignore) int ignore ATTRIBUTE_UNUSED; |