summaryrefslogtreecommitdiffstats
path: root/trunk/src/arch-alpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/arch-alpha.c')
-rw-r--r--trunk/src/arch-alpha.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/trunk/src/arch-alpha.c b/trunk/src/arch-alpha.c
index 4b74aaa..51182ed 100644
--- a/trunk/src/arch-alpha.c
+++ b/trunk/src/arch-alpha.c
@@ -367,9 +367,12 @@ alpha_need_rel_to_rela (DSO *dso, int first, int last)
}
static int
-alpha_arch_prelink (DSO *dso)
+alpha_arch_prelink (struct prelink_info *info)
{
+ DSO *dso;
+
/* Correct sh_entsize on .plt sections. */
+ dso = info->dso;
if (dso->info[DT_PLTGOT])
{
int sec = addr_to_sec (dso, dso->info[DT_PLTGOT] + 16);