summaryrefslogtreecommitdiff
path: root/src/unexelf.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-09-16 15:30:04 +0000
committerRichard M. Stallman <rms@gnu.org>2002-09-16 15:30:04 +0000
commitc721078eb9ed2e7ff3093dd6e96dd43a71df199a (patch)
treea65cfb09c5f4e152b2189b71e7eba53e1d38bfb1 /src/unexelf.c
parentbde4f35405acfa091950acb5e9207f68b1486b31 (diff)
downloademacs-c721078eb9ed2e7ff3093dd6e96dd43a71df199a.tar.gz
(unexec): Deal with .got, reinstating change from 25-08-1999.
Diffstat (limited to 'src/unexelf.c')
-rw-r--r--src/unexelf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index cf3fc9d5bcd..affdbad1964 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -1013,6 +1013,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
|| !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
".lit8")
|| !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
+ ".got")
+ || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
".sdata1")
|| !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
".data1")
@@ -1196,6 +1198,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
|| !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
".lit8")
|| !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
+ ".got")
+ || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
".sdata1")
|| !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
".data1"))