diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2004-06-11 14:19:32 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2004-06-11 14:19:32 +0000 |
commit | fee7cce692a16145a24a49eaf43b6f888add0735 (patch) | |
tree | 516b904de6765b75b5906b99a7eef06e07f06e24 /bfd | |
parent | a7242bdfbbfac63343839fa2ec54d26badff2b39 (diff) | |
download | gdb-fee7cce692a16145a24a49eaf43b6f888add0735.tar.gz |
* coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
as ecoff_section_data() does not return a valid lvalue.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coff-alpha.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 99de171724e..2de9b6cc06d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-06-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly + as ecoff_section_data() does not return a valid lvalue. + 2004-06-09 Alexandre Oliva <aoliva@redhat.com> * elflink.c (elf_sort_symbol): Compare section id, not pointers. diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c index 262af474594..3ea63330200 100644 --- a/bfd/coff-alpha.c +++ b/bfd/coff-alpha.c @@ -1455,7 +1455,7 @@ alpha_relocate_section (output_bfd, info, input_bfd, input_section, amt = sizeof (struct ecoff_section_tdata); lita_sec_data = ((struct ecoff_section_tdata *) bfd_zalloc (input_bfd, amt)); - ecoff_section_data (input_bfd, lita_sec) = lita_sec_data; + lita_sec->used_by_bfd = lita_sec_data; } if (lita_sec_data->gp != 0) |