aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-14 19:55:57 +0000
committerRichard M. Stallman1997-07-14 19:55:57 +0000
commit6ca5cfd1e8684b734308dc9c5a0b2046e65cca04 (patch)
treed373dbdd93fd108d5f40f232a62d69134724a976 /src
parent16c3fe0e9423daafb6e994d0147c4e5def85966e (diff)
downloademacs-6ca5cfd1e8684b734308dc9c5a0b2046e65cca04.tar.gz
emacs-6ca5cfd1e8684b734308dc9c5a0b2046e65cca04.zip
(unexec): Don't call update_dynamic_symbols if static link.
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