aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/alphaelf.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/alphaelf.em')
-rw-r--r--ld/emultempl/alphaelf.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/alphaelf.em b/ld/emultempl/alphaelf.em
index 4e7886f..db53d51 100644
--- a/ld/emultempl/alphaelf.em
+++ b/ld/emultempl/alphaelf.em
@@ -47,7 +47,7 @@ alpha_after_open (void)
lang_output_section_statement_type *plt_os[2];
num_plt = 0;
- for (os = &lang_os_list.head->output_section_statement;
+ for (os = (void *) lang_os_list.head;
os != NULL;
os = os->next)
{