diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-14 19:55:57 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-14 19:55:57 +0000 |
commit | e1de9da3b6eff3c001a3665ce6c113d7357afc1e (patch) | |
tree | a1e002a6238ba01fc10064278a88fb4cdccec36a /src/unexalpha.c | |
parent | 863adbb1709a1219cacc304e144590775eb55f1d (diff) | |
download | emacs-e1de9da3b6eff3c001a3665ce6c113d7357afc1e.tar.gz |
(unexec): Don't call update_dynamic_symbols if static link.
Diffstat (limited to 'src/unexalpha.c')
-rw-r--r-- | src/unexalpha.c | 6 |
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) 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 |