Mercurial > emacs
changeset 18780:a9b9bd05a8df
(unexec): Don't call update_dynamic_symbols if static link.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 14 Jul 1997 19:55:57 +0000 |
parents | c47ea87f3bd7 |
children | 70883b60c7a5 |
files | src/unexalpha.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/unexalpha.c Mon Jul 14 19:53:44 1997 +0000 +++ b/src/unexalpha.c Mon Jul 14 19:55:57 1997 +0000 @@ -398,8 +398,10 @@ stat.st_size - ohdr.fhdr.f_symptr - cbHDRR, "writing symbol table of %s", new_name); - - update_dynamic_symbols (oldptr, new_name, new, nhdr.aout); +#ifdef _REL_DYN + if (rel_dyn_section) + update_dynamic_symbols (oldptr, new_name, new, nhdr.aout); +#endif #undef symhdr