* coff-alpha.c (alpha_relocate_section): Set used_by_bfd directly
as ecoff_section_data() does not return a valid lvalue.
This commit is contained in:
parent
ef15268bd0
commit
e9edc8084b
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2004-06-09 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* elflink.c (elf_sort_symbol): Compare section id, not pointers.
|
* elflink.c (elf_sort_symbol): Compare section id, not pointers.
|
||||||
|
|
|
@ -1455,7 +1455,7 @@ alpha_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||||
amt = sizeof (struct ecoff_section_tdata);
|
amt = sizeof (struct ecoff_section_tdata);
|
||||||
lita_sec_data = ((struct ecoff_section_tdata *)
|
lita_sec_data = ((struct ecoff_section_tdata *)
|
||||||
bfd_zalloc (input_bfd, amt));
|
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)
|
if (lita_sec_data->gp != 0)
|
||||||
|
|
Loading…
Reference in a new issue