aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-alpha.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2004-06-11 14:19:32 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2004-06-11 14:19:32 +0000
commite9edc8084b1987429153078e465b731dbb88b47d (patch)
treeb2035d066aaee5c11110610240a3ec395b77694d /bfd/coff-alpha.c
parentef15268bd0239877d8f40df52bff639097f10b71 (diff)
downloadgdb-e9edc8084b1987429153078e465b731dbb88b47d.zip
gdb-e9edc8084b1987429153078e465b731dbb88b47d.tar.gz
gdb-e9edc8084b1987429153078e465b731dbb88b47d.tar.bz2
* 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/coff-alpha.c')
-rw-r--r--bfd/coff-alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c
index 262af47..3ea6333 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)