aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2004-03-09 20:50:56 +0000
committerJim Wilson <wilson@tuliptree.org>2004-03-09 20:50:56 +0000
commit8b6f2683599b2980c100f6ed738f479db50fd5d7 (patch)
tree38e45d557be4718de6e4a2602d25c519497388e7 /bfd
parent8b9740d8c9811dbfd5c03ef40d6d4d1d5a766377 (diff)
downloadgdb-8b6f2683599b2980c100f6ed738f479db50fd5d7.zip
gdb-8b6f2683599b2980c100f6ed738f479db50fd5d7.tar.gz
gdb-8b6f2683599b2980c100f6ed738f479db50fd5d7.tar.bz2
Patch from Steve Ellcey for potential race condition.
* elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elfxx-ia64.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index de8ec45..22ab879 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-09 Steve Ellcey <sje@cup.hp.com>
+
+ * elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq.
+
2004-03-05 Fred Fish <fnf@redhat.com>
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 878511b..9c65696 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -635,7 +635,7 @@ static const bfd_byte plt_min_entry[PLT_MIN_ENTRY_SIZE] =
static const bfd_byte plt_full_entry[PLT_FULL_ENTRY_SIZE] =
{
0x0b, 0x78, 0x00, 0x02, 0x00, 0x24, /* [MMI] addl r15=0,r1;; */
- 0x00, 0x41, 0x3c, 0x30, 0x28, 0xc0, /* ld8 r16=[r15],8 */
+ 0x00, 0x41, 0x3c, 0x70, 0x29, 0xc0, /* ld8.acq r16=[r15],8*/
0x01, 0x08, 0x00, 0x84, /* mov r14=r1;; */
0x11, 0x08, 0x00, 0x1e, 0x18, 0x10, /* [MIB] ld8 r1=[r15] */
0x60, 0x80, 0x04, 0x80, 0x03, 0x00, /* mov b6=r16 */