mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08:00
* 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:
@ -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)
|
||||
|
Reference in New Issue
Block a user