]> git.eshelyaron.com Git - emacs.git/commitdiff
(unexec): Don't call update_dynamic_symbols if static link.
authorRichard M. Stallman <rms@gnu.org>
Mon, 14 Jul 1997 19:55:57 +0000 (19:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 14 Jul 1997 19:55:57 +0000 (19:55 +0000)
src/unexalpha.c

index df77236b573c372a50032032553148d0be0b3a74..1205d39dd4a76ab36f498b2d11bf37c621a11100 100644 (file)
@@ -398,8 +398,10 @@ unexec (new_name, a_name, data_start, bss_start, entry_address)
         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