aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unexalpha.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/unexalpha.c b/src/unexalpha.c
index df77236b573..1205d39dd4a 100644
--- a/src/unexalpha.c
+++ b/src/unexalpha.c
@@ -398,8 +398,10 @@ unexec (new_name, a_name, data_start, bss_start, entry_address)
398 stat.st_size - ohdr.fhdr.f_symptr - cbHDRR, 398 stat.st_size - ohdr.fhdr.f_symptr - cbHDRR,
399 "writing symbol table of %s", new_name); 399 "writing symbol table of %s", new_name);
400 400
401 401#ifdef _REL_DYN
402 update_dynamic_symbols (oldptr, new_name, new, nhdr.aout); 402 if (rel_dyn_section)
403 update_dynamic_symbols (oldptr, new_name, new, nhdr.aout);
404#endif
403 405
404#undef symhdr 406#undef symhdr
405 407