diff options
author | Maxim Kuvyrkov <maxim@kugelworks.com> | 2011-11-16 01:05:00 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim@kugelworks.com> | 2011-11-16 01:05:00 +0000 |
commit | d859b99e26ca3e412655db263d8342707c1b437c (patch) | |
tree | aefc4e021810356e37b846dc89e2deda1190e1c4 | |
parent | 248e364bcb71bb7d04d496356c3b9b779836c39c (diff) | |
download | gdb-d859b99e26ca3e412655db263d8342707c1b437c.zip gdb-d859b99e26ca3e412655db263d8342707c1b437c.tar.gz gdb-d859b99e26ca3e412655db263d8342707c1b437c.tar.bz2 |
Backport from mainline:
2011-11-14 Maxim Kuvyrkov <maxim@codesourcery.com>
* elfxx-mips.c (mips_n64_exe_plt0_entry): Use 64-bit move.
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ec05301..f137705 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2011-11-15 Maxim Kuvyrkov <maxim@codesourcery.com> + + Backport from mainline: + + 2011-11-14 Maxim Kuvyrkov <maxim@codesourcery.com> + * elfxx-mips.c (mips_n64_exe_plt0_entry): Use 64-bit move. + 2011-11-15 Alan Modra <amodra@gmail.com> Andreas Tobler <andreast@fgznet.ch> diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 4d80fe8..33a454d 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -917,7 +917,7 @@ static const bfd_vma mips_o32_exec_plt0_entry[] = 0x8f990000, /* lw $25, %lo(&GOTPLT[0])($28) */ 0x279c0000, /* addiu $28, $28, %lo(&GOTPLT[0]) */ 0x031cc023, /* subu $24, $24, $28 */ - 0x03e07821, /* move $15, $31 */ + 0x03e07821, /* move $15, $31 # 32-bit move (addu) */ 0x0018c082, /* srl $24, $24, 2 */ 0x0320f809, /* jalr $25 */ 0x2718fffe /* subu $24, $24, 2 */ @@ -931,7 +931,7 @@ static const bfd_vma mips_n32_exec_plt0_entry[] = 0x8dd90000, /* lw $25, %lo(&GOTPLT[0])($14) */ 0x25ce0000, /* addiu $14, $14, %lo(&GOTPLT[0]) */ 0x030ec023, /* subu $24, $24, $14 */ - 0x03e07821, /* move $15, $31 */ + 0x03e07821, /* move $15, $31 # 32-bit move (addu) */ 0x0018c082, /* srl $24, $24, 2 */ 0x0320f809, /* jalr $25 */ 0x2718fffe /* subu $24, $24, 2 */ @@ -945,7 +945,7 @@ static const bfd_vma mips_n64_exec_plt0_entry[] = 0xddd90000, /* ld $25, %lo(&GOTPLT[0])($14) */ 0x25ce0000, /* addiu $14, $14, %lo(&GOTPLT[0]) */ 0x030ec023, /* subu $24, $24, $14 */ - 0x03e07821, /* move $15, $31 */ + 0x03e0782d, /* move $15, $31 # 64-bit move (daddu) */ 0x0018c0c2, /* srl $24, $24, 3 */ 0x0320f809, /* jalr $25 */ 0x2718fffe /* subu $24, $24, 2 */ |