comparison src/unexelf.c @ 42856:c3a7554ccb98

(unexec) [__sgi]: Support the .got sections.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 20 Jan 2002 18:02:36 +0000
parents 370b4ba3f429
children 9d8c6ef3bbf8
comparison
equal deleted inserted replaced
42855:d20e97a1bd5a 42856:c3a7554ccb98
1010 ".sdata") 1010 ".sdata")
1011 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1011 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1012 ".lit4") 1012 ".lit4")
1013 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1013 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1014 ".lit8") 1014 ".lit8")
1015 #if __sgi
1016 /* According to David Kaelbling <drk@bobo.hudson.sgi.com>,
1017 the SGI-specific section below is required to avoid core
1018 dumps during startup (due to SIGBUS) in an X-toolkit
1019 version of Emacs . That was on Irix 6.5.14f with
1020 development tools versions 7.3.1.3m and 7.2.1.3m. */
1021 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1022 ".got")
1023 #endif
1015 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1024 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1016 ".sdata1") 1025 ".sdata1")
1017 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1026 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1018 ".data1") 1027 ".data1")
1019 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), 1028 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1188 ".sdata") 1197 ".sdata")
1189 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1198 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1190 ".lit4") 1199 ".lit4")
1191 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1200 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1192 ".lit8") 1201 ".lit8")
1202 #if __sgi
1203 || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
1204 ".got")
1205 #endif
1193 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1206 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1194 ".sdata1") 1207 ".sdata1")
1195 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), 1208 || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name),
1196 ".data1")) 1209 ".data1"))
1197 { 1210 {